pnkraemer / tueplots

Figure sizes, font sizes, fonts, and more configurations at minimal overhead. Fix your journal papers, conference proceedings, and other scientific publications.
https://tueplots.readthedocs.io
MIT License
656 stars 25 forks source link

Bundle up the linting-requirements in tox with the pre-commit hook #139

Open pnkraemer opened 6 months ago

pnkraemer commented 6 months ago

Unify formatting, linting, and continuous integration. There should only be one way of linting the code, not two (pre-commit and tox).

The likely solution would be to move all formatting and linting to the pre-commit hook and to call pre-commit run --all-files in the GitHub Action. It might also be time to move to Ruff instead of pylint+black+isort. Remember to update the developer guidelines.