Skip to content

Commit

Permalink
Suppress underscore error and update valid CF version (#132)
Browse files Browse the repository at this point in the history
* suppress inclusion of CF checker errors in short_summary.txt related to leading underscores in attribute name

* Update Python version from 3.6 to 3.8 in GitHub Actions

* Correct flake8 linter errors

* changed pytest.yml to be compatible with the Node.js 20 environment

* removed another linter error

* removed another linter error

* updated valid CF versions in run_checks.py
  • Loading branch information
atmodatcode authored Sep 16, 2024
1 parent d3ad4de commit 3d82bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def main():
# Define version of CF table against which the files shall be checked.
# Default is auto --> CF table version parsed from global attribute 'Conventions'.
if cfversion != 'auto':
if cfversion not in ('1.4', '1.5', '1.6', '1.7', '1.8'):
if cfversion not in ('1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10', '1.11'):
print('User-defined -cfv option invalid; using \'auto\' instead')
cfversion = 'auto'

Expand Down

0 comments on commit 3d82bcf

Please sign in to comment.