Skip to content

Commit b287d62

Browse files
authored
Merge pull request NOAA-GFDL#636 from NOAA-GFDL/521.update-pylint-score
Update pylint score
2 parents adcb476 + e7595b3 commit b287d62

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pytest -v fre/[tool]/tests/test_functionality.py::test_a_single_test
5252
pytest -v fre/app/[app]/tests/test_functionality.py::test_a_single_test
5353

5454
# Code quality
55-
pylint --fail-under 0.1 --max-line-length 120 --max-args 6 -ry --ignored-modules netCDF4,cmor fre/
55+
pylint --fail-under 7.00 --max-line-length 120 --max-args 6 -ry --ignored-modules netCDF4,cmor fre/
5656
```
5757

5858
**Critical notes**:

.github/workflows/create_test_conda_env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Run pylint in fre-cli environment
5454
run: |
5555
# run pylint, ignored modules avoid warnings arising from code internal to those modules
56-
pylint --fail-under 0.1 --max-line-length 120 --max-args 6 -ry --ignored-modules netCDF4,cmor fre/
56+
pylint --fail-under 7.00 --max-line-length 120 --max-args 6 -ry --ignored-modules netCDF4,cmor fre/
5757
5858
- name: Upload results to Codecov
5959
uses: codecov/codecov-action@v5

meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ test:
6767
- fre.run
6868
- fre.yamltools
6969
commands:
70-
- pylint --fail-under 0.1 --max-line-length 120 --max-args 6 -ry --ignored-modules netCDF4,cmor fre/
70+
- pylint --fail-under 7.00 --max-line-length 120 --max-args 6 -ry --ignored-modules netCDF4,cmor fre/
7171
# run pytest but ignore any tests that require compilation
7272
- pytest --durations=20 --log-level INFO --ignore=fre/make/tests/compilation fre/
7373
- fre --help

0 commit comments

Comments
 (0)