Add ruff for general use
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user