-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtox.ini
More file actions
25 lines (23 loc) · 952 Bytes
/
tox.ini
File metadata and controls
25 lines (23 loc) · 952 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
[tox]
requires = tox>=4.19
env_list = py{311,312,313,314},lint-py{311,312,313,314}
[testenv]
description = Run tests under {base_python}
skip_install = false
package = editable
extras = dev,test
commands =
pytest -c pyproject.toml --cov=waldiez_runner --cov-branch --cov-report=term-missing:skip-covered tests
[testenv:lint-py{311,312,313,314}]
description = Run linters under {base_python}
skip_install = false
extras = dev,test
package = editable
commands =
black --config pyproject.toml --check --diff waldiez_runner tests scripts
mypy --config pyproject.toml waldiez_runner tests scripts
basedpyright --pythonpath {envpython} --project pyproject.toml waldiez_runner tests scripts
flake8 --config .flake8 waldiez_runner tests scripts
bandit -r -c pyproject.toml waldiez_runner tests scripts
ruff check --config pyproject.toml waldiez_runner tests scripts
pylint --rcfile=pyproject.toml waldiez_runner tests scripts