-
-
Notifications
You must be signed in to change notification settings - Fork 142
Expand file tree
/
Copy pathtox.ini
More file actions
103 lines (89 loc) · 3.81 KB
/
tox.ini
File metadata and controls
103 lines (89 loc) · 3.81 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[tox]
envlist=py39{,-keyfs_sqlite,-hash_hl},py314,pypy3,flake8
[devpisettings]
storagebackend=
keyfs_sqlite: --devpi-server-storage-backend=devpi_server.keyfs_sqlite
storagefsbackend=
hash_hl: --devpi-server-storage-fs-backend=hash_hl
[testenv]
setenv =
LANG = C
commands=
py.test -p pytest_devpi_server --instafail {[devpisettings]storagebackend} {[devpisettings]storagefsbackend} {posargs}
passenv =
DEVPI_SERVER_TEST_DEFAULT_HASH_TYPE
DEVPI_SERVER_TEST_ADDITIONAL_HASH_TYPES
GITHUB_ACTIONS
deps=
webtest
pytest
pytest-asyncio
pytest-github-actions-annotate-failures!=0.3.0
pytest-instafail
pytest-timeout
beautifulsoup4 != 4.12.1
execnet != 2.1.0
[testenv:flake8]
commands = flake8 --config .flake8
deps = flake8
skip_install = true
[testenv:mypy]
commands = mypy {posargs}
# the pins are for Python 3.9 support
deps =
mypy
mypy-zope
pytest<9
types-WebOb
types-beautifulsoup4
types-passlib
types-requests
types-waitress
[pytest]
addopts=
-r a
-W once::DeprecationWarning
-W ignore::DeprecationWarning:webob.acceptparse
-W once::pytest.PytestDeprecationWarning
-W once::ResourceWarning
-W error:"Setting file content without supplying hashes":DeprecationWarning
-W error:"Storing data without supplying hashes":DeprecationWarning
-W error:"The 'matches_checksum' method is deprecated":DeprecationWarning
-W error:"The 'md5' argument of 'pypi_package_link' is deprecated":DeprecationWarning
-W error:"The 'readonly' argument is deprecated":DeprecationWarning
-W error:"The --master-url option is deprecated":DeprecationWarning
-W error:"The add_master_url_option":DeprecationWarning
-W error:"The async_httpget":DeprecationWarning
-W error:"The basedir property is deprecated":DeprecationWarning
-W error:"The file_get_checksum method":DeprecationWarning
-W error:"The get_checksum_error function":DeprecationWarning
-W error:"The get_default_hash_":DeprecationWarning
-W error:"The get_file_hash function":DeprecationWarning
-W error:"The hash_":DeprecationWarning
-W error:"The httpget":DeprecationWarning
-W error:"The make_uuid_headers function is deprecated":DeprecationWarning
-W error:"The new_http_session":DeprecationWarning
-W error:"The path_nodeinfo property is deprecated":DeprecationWarning
-W error:"The reason attribute is deprecated":DeprecationWarning
-W error:"The secretfile property is deprecated":DeprecationWarning
-W error:"The serverdir property is deprecated":DeprecationWarning
-W once:"The serverdir property is deprecated":DeprecationWarning:devpi_web.whoosh_index
-W error:"_master_serial is deprecated":DeprecationWarning
-W error:"_master_serial_timestamp is deprecated":DeprecationWarning
-W error:"gentmp fixture is deprecated":DeprecationWarning
-W ignore:"gentmp fixture is deprecated":DeprecationWarning:test_devpi_server.test_conftest
-W error:"get_master_serial is deprecated":DeprecationWarning
-W error:"get_master_serial_timestamp is deprecated":DeprecationWarning
-W error:"get_master_uuid is deprecated":DeprecationWarning
-W error:"is_master is deprecated":DeprecationWarning
-W error:"master-uuid in nodeinfo is deprecated":DeprecationWarning
-W error:"master_contacted_at is deprecated":DeprecationWarning
-W error:"master_url is deprecated":DeprecationWarning
-W error:"role==master is deprecated":DeprecationWarning
-W error:"server_directory fixture is deprecated":DeprecationWarning
-W error:"update_from_master_at is deprecated":DeprecationWarning
-W error:"master_host_port fixture is deprecated":DeprecationWarning
-W error:"master_serverdir fixture is deprecated":DeprecationWarning
asyncio_default_fixture_loop_scope = function
timeout = 60
norecursedirs = .tox build