diff --git a/README-DEV.md b/README-DEV.md index d7b0a3f..a1d9b1a 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -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 ``` diff --git a/pyproject.toml b/pyproject.toml index e2819f2..f0201ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,3 +61,8 @@ markers = [ [tool.mypy] ignore_missing_imports = true + + +[tool.ruff] +select = ["E", "F", "I"] +ignore = [] diff --git a/requirements-dev.txt b/requirements-dev.txt index 9403f15..030b803 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,6 @@ pytest -pytest-flake8 pytest-cov pytest-mypy +pytest-ruff black +ruff diff --git a/setup.cfg b/setup.cfg index b74e617..e69de29 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +0,0 @@ -[flake8] -max-line-length = 88 -extend-ignore = E203, W503 - -[pylint] -max-line-length = 88 - -[pylint.messages_control] -disable = C0330, C0326