Debian Codegraph @

pyproject.toml

raw symbols SCIP
1 [build-system]
2 requires = [
3 "hatchling>=1.26",
4 "hatch-vcs",
5 ]
6 build-backend = "hatchling.build"
7
8 [project]
9 name = "execnet"
10 dynamic = ["version"]
11 description = "execnet: rapid multi-Python deployment"
12 readme = {"file" = "README.rst", "content-type" = "text/x-rst"}
13 license = "MIT"
14 requires-python = ">=3.8"
15 authors = [
16 { name = "holger krekel and others" },
17 ]
18 classifiers = [
19 "Development Status :: 5 - Production/Stable",
20 "Intended Audience :: Developers",
21 "License :: OSI Approved :: MIT License",
22 "Operating System :: MacOS :: MacOS X",
23 "Operating System :: Microsoft :: Windows",
24 "Operating System :: POSIX",
25 "Programming Language :: Python :: 3.8",
26 "Programming Language :: Python :: 3.9",
27 "Programming Language :: Python :: 3.10",
28 "Programming Language :: Python :: 3.11",
29 "Programming Language :: Python :: 3.12",
30 "Programming Language :: Python :: Implementation :: CPython",
31 "Programming Language :: Python :: Implementation :: PyPy",
32 "Topic :: Software Development :: Libraries",
33 "Topic :: System :: Distributed Computing",
34 "Topic :: System :: Networking",
35 ]
36
37 [project.optional-dependencies]
38 testing = [
39 "pre-commit",
40 "pytest",
41 "tox",
42 "hatch",
43 ]
44
45 [project.urls]
46 Homepage = "https://execnet.readthedocs.io/en/latest/"
47
48 [tool.ruff.lint]
49 extend-select = [
50 "B", # bugbear
51 "E", # pycodestyle
52 "F", # pyflakes
53 "I", # isort
54 "PYI", # flake8-pyi
55 "UP", # pyupgrade
56 "RUF", # ruff
57 "W", # pycodestyle
58 "PIE", # flake8-pie
59 "PGH", # pygrep-hooks
60 "PLE", # pylint error
61 "PLW", # pylint warning
62 ]
63 ignore = [
64 # bugbear ignore
65 "B007", # Loop control variable `i` not used within loop body
66 "B011", # Do not `assert False` (`python -O` removes these calls)
67 # pycodestyle ignore
68 "E501", # Line too long
69 "E741", # Ambiguous variable name
70 # ruff ignore
71 "RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
72 # pylint ignore
73 "PLW0603", # Using the global statement
74 "PLW0120", # remove the else and dedent its contents
75 "PLW2901", # for loop variable overwritten by assignment target
76 "PLR5501", # Use `elif` instead of `else` then `if`
77 "UP031", # Use format specifiers instead of percent format
78 ]
79
80 [tool.ruff.lint.isort]
81 force-single-line = true
82 known-third-party = ["src"]
83
84 [tool.hatch.version]
85 source = "vcs"
86
87 [tool.hatch.build.hooks.vcs]
88 version-file = "src/execnet/_version.py"
89
90 [tool.hatch.build.targets.sdist]
91 include = [
92 "/doc",
93 "/src",
94 "/testing",
95 "tox.ini",
96 ]
97
98 [tool.mypy]
99 python_version = "3.8"
100 mypy_path = ["src"]
101 files = ["src", "testing"]
102 strict = true
103 warn_unreachable = true
104 warn_unused_ignores = false
105 disallow_untyped_calls = false
106 disallow_untyped_defs = false
107 disallow_incomplete_defs = false
108
109 [[tool.mypy.overrides]]
110 module = [
111 "eventlet.*",
112 "gevent.thread.*",
113 ]
114 ignore_missing_imports = true