-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python 3 format causing pylint fails #1488
Comments
I can do that. |
So the question is why wasn't pylint failing with the other python3 string formats that already existed in the code? |
I don't know, it's also not failing on cheyenne - different pylint version maybe? |
@jgfouca has a fix for this. |
@jedwards4b I added an additional warning ignore to code_checker, so we can use python3 string formatting. Based on my discussions with Erich, I believe the python3 format is superior, so it should be a win for us to use it in the longrun. |
I am not disagreeing that format is a superior usage. I am arguing for consistent usage throughout the code. I would like to use %s for now and if another PR comes up changing all %s to format then we can consider switching. |
Its reasonable to change the format file-by-file as you go along rather then every file all at once. |
....but don't want to start that at this time while trying to harden for CESM2 release. |
Fixed by #1490 |
Update edison pe-layouts for A_WCYCL compsets This PR updates the edison M and L pe-layouts for A_WCYCL compsets and ne30_oEC60to30 grids, to match the improved layouts described in Issue #1387. It also adds a S pe-layout for the same configuration that gets just over 2 sypd on 39 nodes. Tested with: -compset A_WCYCL1850S -mach edison -res ne30np4_oEC60to30v3_ICG -pecount S -compset A_WCYCL1850S -mach edison -res ne30np4_oEC60to30v3_ICG -pecount M -compset A_WCYCL1850S -mach edison -res ne30np4_oEC60to30v3_ICG -pecount L [BFB]
Update edison pe-layouts for A_WCYCL compsets This PR updates the edison M and L pe-layouts for A_WCYCL compsets and ne30_oEC60to30 grids, to match the improved layouts described in Issue #1387. It also adds a S pe-layout for the same configuration that gets just over 2 sypd on 39 nodes. Tested with: -compset A_WCYCL1850S -mach edison -res ne30np4_oEC60to30v3_ICG -pecount S -compset A_WCYCL1850S -mach edison -res ne30np4_oEC60to30v3_ICG -pecount M -compset A_WCYCL1850S -mach edison -res ne30np4_oEC60to30v3_ICG -pecount L [BFB]
Update edison pe-layouts for A_WCYCL compsets This PR updates the edison M and L pe-layouts for A_WCYCL compsets and ne30_oEC60to30 grids, to match the improved layouts described in Issue #1387. It also adds a S pe-layout for the same configuration that gets just over 2 sypd on 39 nodes. Tested with: -compset A_WCYCL1850S -mach edison -res ne30np4_oEC60to30v3_ICG -pecount S -compset A_WCYCL1850S -mach edison -res ne30np4_oEC60to30v3_ICG -pecount M -compset A_WCYCL1850S -mach edison -res ne30np4_oEC60to30v3_ICG -pecount L [BFB]
In PR #1471 I objected to the usage of python3 syntax format statements instead of %s as used throughout the code. Now I've noticed that this usage was introduced to the trunk in PR #1388
Master is failing pylint tests due to #1388 - while fixing the pylint test can you please revert to %s usage throughout?
The text was updated successfully, but these errors were encountered: