British-Oceanographic-Data-Centre / COAsT

A Coastal Ocean Assessment Tool built as an extendable python framework for nemo models
https://british-oceanographic-data-centre.github.io/COAsT/
MIT License
23 stars 11 forks source link

create pylint action #633

Closed soutobias closed 8 months ago

soutobias commented 8 months ago

I have established a 'pylint_checking.yml' configuration file to automate pylint checks on the GitHub actions.

After running pylint, the resulting code quality score is compared to the value stored in the '.pylint-score' file. If the newly calculated score exceeds the value stored in the file, the test will pass.

Subsequently, the value in the '.pylint-score' file is updated. This ensures that any new code additions maintain or improve upon the existing code quality score.

The current threshold was 5.0, but it was updated during this pull request to 5.58.

soutobias commented 8 months ago

https://github.com/British-Oceanographic-Data-Centre/COAsT/issues/550