chore: contributing guide update

This commit is contained in:
2024-10-06 15:06:22 +03:00
parent b167df904b
commit 22600a9eac
2 changed files with 36 additions and 4 deletions

View File

@ -27,8 +27,6 @@ description = Run common checks like linter, mypy, etc
deps =
{[tox]dependencies}
-e .[check]
allowlist_externals =
bash
setenv =
MYPYPATH=src
commands =
@ -36,7 +34,7 @@ commands =
pylint --rcfile=.pylintrc "src/{[tox]project_name}"
bandit -c .bandit.yml -r "src/{[tox]project_name}"
bandit -c .bandit-test.yml -r "tests/{[tox]project_name}"
bash -c 'mypy {[mypy]flags} -p "{[tox]project_name}" --install-types --non-interactive || mypy {[mypy]flags} -p "{[tox]project_name}"'
mypy {[mypy]flags} -p "{[tox]project_name}" --install-types --non-interactive
[testenv:docs]
description = Generate source files for documentation