Skip to content

Commit 9d71bc5

Browse files
authored
Update pyproject.toml
1 parent 1614945 commit 9d71bc5

1 file changed

Lines changed: 8 additions & 17 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -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]
9295
include = '\.pyi?$'
9396
line-length = 120
@@ -114,7 +117,7 @@ dependencies = true
114117

115118
[tool.mypy]
116119
strict = true
117-
cache_dir = "var/cache/.mypy_cache"
120+
cache_dir = "var/mypy"
118121

119122
[tool.pylint.master]
120123
jobs = "0"
@@ -129,23 +132,11 @@ testpaths = ["tests"]
129132
[tool.run-script]
130133
install = "python3 -m pip install ."
131134
dev-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/*"
136136
docs = "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"
149140
test = "python3 -m pytest"
150141
unit-tests = "python3 -m pytest tests/unit"
151142
integration-tests = "python3 -m pytest tests/integration"

0 commit comments

Comments
 (0)