python: swap black and flake8 for ruff

This commit is contained in:
Evie Litherland-Smith 2024-05-15 11:59:24 +01:00
parent 90ff258200
commit 3f3851b236
3 changed files with 3 additions and 4 deletions

View file

@ -181,7 +181,7 @@
## Formatters ## Formatters
alejandra alejandra
shfmt shfmt
black ruff
isort isort
stylua stylua
nodePackages.prettier nodePackages.prettier

View file

@ -9,7 +9,6 @@
(ps: (ps:
with ps; [ with ps; [
python-lsp-server python-lsp-server
flake8
mypy mypy
numpy numpy
scipy scipy

View file

@ -33,5 +33,5 @@ ignore = [
] ]
unfixable = ["W", "B", "PD", "NPY", "RUF", "E101", "E501", "C901", "I001", "I002"] unfixable = ["W", "B", "PD", "NPY", "RUF", "E101", "E501", "C901", "I001", "I002"]
# [format] [format]
# docstring-code-format = true docstring-code-format = true