@@ -88,6 +88,9 @@ include = ["aioddd*"]
8888[tool .setuptools .package-data ]
8989"aioddd" = [" py.typed" ]
9090
91+ [tool .bandit ]
92+ skips = [" B101" , " B311" ]
93+
9194[tool .black ]
9295include = ' \.pyi?$'
9396line-length = 120
@@ -114,7 +117,7 @@ dependencies = true
114117
115118[tool .mypy ]
116119strict = true
117- cache_dir = " var/cache/.mypy_cache "
120+ cache_dir = " var/mypy "
118121
119122[tool .pylint .master ]
120123jobs = " 0"
@@ -129,23 +132,11 @@ testpaths = ["tests"]
129132[tool .run-script ]
130133install = " python3 -m pip install ."
131134dev-install = " python3 -m pip install .[dev,deploy,docs,fmt,security-analysis,static-analysis,test]"
132- deploy = """
133- python3 -m build --no-isolation --wheel --sdist
134- python3 -m twine upload dist/*
135- """
135+ deploy = " python3 -m build --no-isolation --wheel --sdist && python3 -m twine upload dist/*"
136136docs = " python3 -m mkdocs build -f ./docs_src/mkdocs.yml -d ./docs"
137- fmt = """
138- python3 -m black aioddd tests
139- python3 -m isort aioddd tests
140- """
141- security-analysis = """
142- python3 -m liccheck
143- python3 -m bandit -s B101,B311 -r aioddd
144- """
145- static-analysis = """
146- python3 -m mypy aioddd
147- python3 -m pylint aioddd
148- """
137+ fmt = " python3 -m black aioddd tests && python3 -m isort aioddd tests"
138+ security-analysis = " python3 -m liccheck && python3 -m bandit -r . -c pyproject.toml"
139+ static-analysis = " python3 -m mypy aioddd && python3 -m pylint aioddd"
149140test = " python3 -m pytest"
150141unit-tests = " python3 -m pytest tests/unit"
151142integration-tests = " python3 -m pytest tests/integration"
0 commit comments