forked from pydot/pydot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
50 lines (44 loc) · 823 Bytes
/
setup.cfg
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
41
42
43
44
45
46
47
48
49
50
# SPDX-FileCopyrightText: 2024 pydot contributors
#
# SPDX-License-Identifier: MIT
[zest.releaser]
python-file-with-version = src/pydot/__init__.py
release=no
push-changes=no
create-wheel=yes
tag-format=v{version}
[tool:pytest]
testpaths = test
[tox:tox]
min_version = 4.6.3
env_list =
py312
py311
py310
py39
py38
ruff
[testenv]
extras = tests
package = wheel
wheel_build_env = .pkg
pass_env =
TEST_ERROR_DIR
setenv =
DEFAULT_COVERAGE_FILE = .coverage.{envname}
COVERAGE_FILE = {env:COVERAGE_FILE:{env:DEFAULT_COVERAGE_FILE}}
commands = pytest -n auto --cov
[testenv:ruff]
skip_install = true
deps = ruff==0.4.8
commands =
ruff format --diff .
ruff check .
# For tox-gh
[gh]
python =
3.12 = py312, ruff
3.11 = py311
3.10 = py310
3.9 = py39
3.8 = py38