ESCOMP / CAM-SIMA

Community Atmosphere Model - System for Integrated Modeling of the Atmosphere
4 stars 12 forks source link

Need to update pylint script due to pylint API change #169

Closed nusbaume closed 2 years ago

nusbaume commented 2 years ago

The latest version of pylint (which is automatically used during Github Actions unless otherwise specified) has a change in the pylint object syntax which requires the line here:

https://github.com/NCAR/CAMDEN/blob/development/.github/scripts/pylint_threshold_test.py#L93

to be replaced with:

lint_score = lint_results.linter.stats.global_note

Otherwise the pylint Github Action will fail.

@gold2718 @peverwhee @cacraigucar just FYI that if you are the next person to open a CAMDEN PR then this change will likely need to be included.