initial python3 template
This commit is contained in:
commit
534c1b3ea8
11 changed files with 113 additions and 0 deletions
28
python3/{{cookiecutter.project_name}}/setup.cfg
Normal file
28
python3/{{cookiecutter.project_name}}/setup.cfg
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[flake8]
|
||||
format = pylint
|
||||
exclude = .svc,CVS,.bzr,.hg,.git,__pycache__,venv
|
||||
max-complexity = 10
|
||||
max-line-length = 120
|
||||
ignore = NONE
|
||||
|
||||
[pep8]
|
||||
max-line-length = 120
|
||||
|
||||
[tool:pytest]
|
||||
addopts = --cov={{cookiecutter.project_name}} --cov-fail-under=80 --cov-report=term-missing:skip-covered --cov-report=xml --cov-report=html -vvv
|
||||
|
||||
[coverage:run]
|
||||
branch = True
|
||||
#omit =
|
||||
|
||||
[coverage:xml]
|
||||
output = build/coverage.xml
|
||||
|
||||
[coverage:html]
|
||||
directory = build/coverage_html
|
||||
|
||||
[mypy]
|
||||
disallow_untyped_defs = True
|
||||
ignore_missing_imports = True
|
||||
strict_optional = True
|
||||
warn_no_return = True
|
||||
Loading…
Add table
Add a link
Reference in a new issue