StingraySoftware / stingray

Anything can happen in the next half hour (including spectral timing made easy)!
https://stingray.science/stingray
MIT License
175 stars 144 forks source link

Implement `pre-commit` Hooks #815

Closed AnonymousCodes911 closed 1 month ago

AnonymousCodes911 commented 7 months ago

As discussed with @matteobachetti, implement pre-commit hooks in the repository for automating code formatting (including docstrings) and linting tasks. This will aid in maintaining a consistent code style and catching common errors before committing changes to the repository.