python: swap black and flake8 for ruff
This commit is contained in:
parent
90ff258200
commit
3f3851b236
|
@ -181,7 +181,7 @@
|
||||||
## Formatters
|
## Formatters
|
||||||
alejandra
|
alejandra
|
||||||
shfmt
|
shfmt
|
||||||
black
|
ruff
|
||||||
isort
|
isort
|
||||||
stylua
|
stylua
|
||||||
nodePackages.prettier
|
nodePackages.prettier
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
(ps:
|
(ps:
|
||||||
with ps; [
|
with ps; [
|
||||||
python-lsp-server
|
python-lsp-server
|
||||||
flake8
|
|
||||||
mypy
|
mypy
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue