recast-hep / recast-atlas

CLI for ATLAS RECAST contributors
https://recast.docs.cern.ch/
Apache License 2.0
5 stars 5 forks source link

chore: Use Ruff for linting and formatting #147

Closed matthewfeickert closed 1 month ago

matthewfeickert commented 1 month ago
* Use Ruff for linting and formatting.
   - Use Ruff in pre-commit over pyupgrade, black, and flake8.
   - Enable additional linting in pyproject.toml ruff tool section.
   - Remove .flake8 and black config section of pyproject.toml.
   - Use Ruff in lint workflow.
* Disable some recommended Ruff lints.
   - c.f. https://learn.scientific-python.org/development/guides/style/#ruff
* Apply ruff formatting to source code.
* Add Ruff formatting badge to README.