Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (120 loc) · 3.4 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (120 loc) · 3.4 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
requires = [
"hatchling>=1.26",
"hatch-vcs",
]
build-backend = "hatchling.build"
[project]
name = "execnet"
dynamic = ["version"]
description = "execnet: rapid multi-Python deployment"
readme = {"file" = "README.rst", "content-type" = "text/x-rst"}
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "holger krekel and others" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Networking",
]
[project.optional-dependencies]
testing = [
"pre-commit",
"hypothesis",
"pytest>8.0",
"pytest-timeout",
"tox",
"hatch",
"uv",
"gevent",
]
[dependency-groups]
testing = [
"execnet[testing]",
]
[project.urls]
Homepage = "https://execnet.readthedocs.io/en/latest/"
[tool.ruff.lint]
extend-select = [
"B", # bugbear
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PYI", # flake8-pyi
"UP", # pyupgrade
"RUF", # ruff
"W", # pycodestyle
"PIE", # flake8-pie
"PGH", # pygrep-hooks
"PLE", # pylint error
"PLW", # pylint warning
"SIM",
]
ignore = [
# bugbear ignore
"B007", # Loop control variable `i` not used within loop body
"B011", # Do not `assert False` (`python -O` removes these calls)
# pycodestyle ignore
"E501", # Line too long
"E741", # Ambiguous variable name
# ruff ignore
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"RUF061", # Use context-manager form of `pytest.raises()`
# pylint ignore
"PLW0603", # Using the global statement
"PLW0120", # remove the else and dedent its contents
"PLW2901", # for loop variable overwritten by assignment target
"PLR5501", # Use `elif` instead of `else` then `if`
"UP031", # Use format specifiers instead of percent format
# flake8-simplify: overeager for this codebase
"SIM105", # try-except-pass -> suppress (bad with dynamic exc types / shutdown)
"SIM115", # open() without context manager (intentional long-lived handles)
]
[tool.ruff.lint.isort]
force-single-line = true
known-third-party = ["src"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/execnet/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"/doc",
"/src",
"/testing",
"tox.ini",
]
[tool.uv]
default-groups = ["testing"]
[tool.mypy]
python_version = "3.10"
mypy_path = ["src"]
files = ["src", "testing"]
strict = true
warn_unreachable = true
warn_unused_ignores = false
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = false
[[tool.mypy.overrides]]
module = [
"eventlet.*",
"gevent.thread.*",
]
ignore_missing_imports = true