lincc-frameworks / python-project-template

Python project best practices for scientific software
https://lincc-ppt.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
61 stars 15 forks source link

Consolidate pre-commit logic #422

Closed camposandro closed 7 months ago

camposandro commented 7 months ago

This pull request consolidates the code quality checks, removing the dedicated code style analysis pipeline and using pre-commit to handle the checks both locally and on the CI. Closes #410.

If configured, a bot will push automatic fixes to non-draft PRs to apply code formatting, ordering of imports and clear notebook outputs, if there are any (example). Most linting issues need to be addressed manually by the user.

Checklist