Add ruff for general use

This commit is contained in:
Ben Lopatin
2023-08-31 17:53:51 -04:00
parent ee21957027
commit c850e34112
2 changed files with 5 additions and 10 deletions
+1
View File
@@ -1,4 +1,5 @@
pre-commit==3.3.3
ruff==0.0.286
pytest==7.4.0
pytest-cov==4.1.0
pytest-mock==3.11.1 # https://github.com/pytest-dev/pytest-mock/
+4 -10
View File
@@ -18,16 +18,10 @@ commands =
deps =
-r{toxinidir}/requirements.txt
[testenv:flake8]
[testenv:ruff]
basepython=python
skip_install=true
deps=
flake8
flake8_docstrings
ruff
commands=
flake8 src/pydiscourse --docstring-convention google --ignore D415
[flake8]
ignore = E126,E128
max-line-length = 119
exclude = .ropeproject
max-complexity = 10
ruff .