User account management for systemausfall.org https://git.hack-hro.de/systemausfall/userausfall
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 
userausfall/tox.ini

25 lines
584 B

[tox]
envlist = lint, test-py3-app
skip_missing_interpreters = true
minversion = 3.21.0
[testenv:lint]
# no need to install package with deps to lint sources
skip_install = true
deps =
black
flake8
flake8-import-order
setenv =
FORMAT_PATHS = userausfall{/} setup.py
commands =
python3 -m flake8 {env:FORMAT_PATHS}
python3 -m black --check {env:FORMAT_PATHS}
[testenv:test-py3-app]
sitepackages = true
deps =
coverage
setenv = DJANGO_SETTINGS_MODULE=userausfall.settings
commands =
python3 -m coverage run --append --source='userausfall' -m django test --verbosity=2