mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-07-01 06:29:59 +02:00
🛠 Replace flake8 + pylint with ruff
As ruff is a lot faster than the other options, use this for code style checks etc. This change also removes setup.cfg (See also: gh-85).
This commit is contained in:
parent
e8e58e76c4
commit
32bd1896e0
4 changed files with 8 additions and 11 deletions
|
@ -32,6 +32,6 @@ pytest --cov=dinglehopper --cov-report=html
|
|||
|
||||
Static code analysis:
|
||||
```bash
|
||||
pytest -k "not test" --flake8
|
||||
pytest -k "not test" --mypy
|
||||
pytest -k "not test" --ruff
|
||||
```
|
||||
|
|
|
@ -61,3 +61,8 @@ markers = [
|
|||
|
||||
[tool.mypy]
|
||||
ignore_missing_imports = true
|
||||
|
||||
|
||||
[tool.ruff]
|
||||
select = ["E", "F", "I"]
|
||||
ignore = []
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
pytest
|
||||
pytest-flake8
|
||||
pytest-cov
|
||||
pytest-mypy
|
||||
pytest-ruff
|
||||
black
|
||||
ruff
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
[flake8]
|
||||
max-line-length = 88
|
||||
extend-ignore = E203, W503
|
||||
|
||||
[pylint]
|
||||
max-line-length = 88
|
||||
|
||||
[pylint.messages_control]
|
||||
disable = C0330, C0326
|
Loading…
Add table
Add a link
Reference in a new issue