notification-api
notification-api copied to clipboard
Experiment - Add Ruff formatter/linter
Summary | Résumé
This experimental PR migrates our linters/formatters to Ruff which:
- Has drop in feature parity with
black
,isort
, andflake8
- Is written in Rust and hence faster than black, isort and flake8
- Has supporting Github actions and VSCode extensions
- Caches results for even snappier analysis after an initial run
Changelog:
- Replaced
black
,isort
, andflake8
withRuff
- Added the poetry plugin poetry-plugin-sort which organizes dependencies in pyproject.toml
- Added the Ruff plugin to
devcontainer.json
- Updated the betterTOML plugin as it was deprecated
- Removed deprecated linter settings in
devcontainer.json
File change list (excludes formatting changes):
Because I wasn't smart enough to commit the formatting changes separately... 🤦
- devcontainer.json
- notify-dev-entrypoint.sh
- test.yaml
- .gitignore
- Makefile
- pyproject.toml
- run_tests.sh
- setup.cfg