Fix all formatting-related pylint complaints under fre/, raise fail-under to 8.89#5
Closed
Copilot wants to merge 7 commits into
Closed
Fix all formatting-related pylint complaints under fre/, raise fail-under to 8.89#5Copilot wants to merge 7 commits into
Copilot wants to merge 7 commits into
Conversation
Break long lines using parentheses, backslashes, and string concatenation to stay within the 120-character pylint limit. No logic or behavior changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #5 +/- ##
==========================================
+ Coverage 84.10% 84.22% +0.12%
==========================================
Files 70 70
Lines 4780 4773 -7
==========================================
Hits 4020 4020
+ Misses 760 753 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Break long lines in docstrings, comments, f-strings, function calls, and click help strings across 8 files in fre/pp/. No logic changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Break long lines using Python line continuation rules (parentheses, string concatenation, line wrapping at commas) without changing any logic or behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…essary-pass, f-string-without-interpolation - Split multiple statements on single lines onto separate lines (generate_files.py) - Remove unnecessary parentheses after not/return/= keywords (split_netcdf_script.py, test_split_netcdf.py, test_histval_script.py) - Remove unnecessary pass in abstract methods with docstrings (abstract_classes.py) - Remove f-prefix from f-strings without interpolation (generate_files.py, test_regrid_xy.py, split_netcdf_script.py, cmor_config.py, test_cmor_find_subtool.py) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…space, trailing-newlines, line-too-long, wrong-import-order, wrong-import-position, multiple-statements, superfluous-parens, unnecessary-pass, f-string-without-interpolation Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
…tting fixes Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix formatting-related pylint complaints in fre/
Fix all formatting-related pylint complaints under fre/, raise fail-under to 8.89
Mar 11, 2026
ilaflott
pushed a commit
that referenced
this pull request
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes
Resolves all formatting-related pylint complaints across
fre/— 431 issues fixed, score improved from 8.02 → 8.89. No logic or behavior changes.bad-indentation(2-space → 4-space)line-too-long(>120 chars)wrong-import-ordertrailing-whitespacewrong-import-positionf-string-without-interpolationmultiple-statementssuperfluous-parensunnecessary-passtrailing-newlinespylintrc:fail-underraised from 8.30 to 8.8952 files touched. Remaining pylint issues are non-formatting (naming, complexity, unused imports, etc.) — intentionally left alone per scope.
Issue ticket number and link (if applicable)
Checklist before requesting a review
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.