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
24 stars 11 forks source link

add pylint yml file and pylint-score #632

Closed soutobias closed 11 months ago

soutobias commented 11 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 threeshold is 5.0.

I did not include any pre-commit code in the package.

soutobias commented 11 months ago

I closed this pull request to submit iit as a branch of the code (not as a upstream)