-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (36 loc) · 877 Bytes
/
tox.ini
File metadata and controls
40 lines (36 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tox]
envlist =
bandit
lint
py3.{10,11,12,13,14}-unit
skip_missing_interpreters = True
[pytest]
asyncio_default_fixture_loop_scope = session
asyncio_default_test_loop_scope = session
asyncio_mode = strict
testpaths = tests
[testenv]
allowlist_externals = make
commands =
py3.{10,11,12,13,14}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
dependency_groups =
py3.{10,11,12,13,14}-unit: test
description =
py3.{10,11,12,13,14}-unit: Run the unit tests
passenv =
CI
GITHUB_*
setenv =
py3.{10,11,12,13,14}-unit: LC_ALL = C.UTF-8
[testenv:bandit]
commands = bandit -r streamflow
dependency_groups = bandit
description = Search for common security issues
passenv =
CI
GITHUB_*
[testenv:lint]
allowlist_externals = make
commands = make flake8 format-check codespell-check pyupgrade
dependency_groups = lint
description = Lint the Python code