tinytag icon indicating copy to clipboard operation
tinytag copied to clipboard

Make use of code linting

Open mathiascode opened this issue 4 years ago • 1 comments

Describe the solution you'd like Code linting would help keep the code base free from common bugs and style violations, and make it easier to include the tinytag.py file in other projects.

Additional context A combination of flake8 and Pylint has given me good results in my own Python projects, and those seem to be the main linters around.

GitHub Actions could be used to run flake8 and Pylint as part of the testing process, see e.g. https://github.com/nicotine-plus/nicotine-plus/blob/3cf018572404ebf22df9b654464654dc1acb864d/.github/workflows/tests.yml

Alternatively, this could also be integrated into Appveyor (I just realized that the Travis workflow isn't running anymore since travis-ci.org was discontinued).

mathiascode avatar Mar 06 '22 13:03 mathiascode

2.0.0 would be a good opportunity to add Pylint, since we're removing support for Python 2.

mathiascode avatar Oct 26 '23 18:10 mathiascode