StingraySoftware / stingray

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

Implement `pre-commit` Hooks #815

Open AnonymousCodes911 opened 2 months ago

AnonymousCodes911 commented 2 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.