-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
76 lines (70 loc) · 1.44 KB
/
pyproject.toml
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
[build-system]
# We use setuptools because hatchling doesn't build extension modules.
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "interpreters_pep_734"
version = "0.6.0"
authors = [
{ name="Eric Snow", email="[email protected]" },
]
description = "Use this module to try out multiple interpreters and a per-interpreter GIL in Python 3.12+. Do not use this for anything important yet."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
# "interpreters-3-12 == 0.5.0; python_version == 3.12",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/ericsnowcurrently/interpreters"
"Bug Tracker" = "https://github.com/ericsnowcurrently/interpreters/issues"
[tool.hatch.envs.default]
extra-dependencies = [
"black",
"pytest",
"ruff",
"mypy",
]
[tool.pytest.ini_options]
minversion = "7.4.0"
python_files = "*.py" # Discover tests in every python file
addopts = "-rA"
[tool.mypy]
ignore_missing_imports = true
[tool.ruff]
select = [
"A",
"B",
"C",
"DTZ",
"E",
"EM",
"F",
"FBT",
"I",
"ICN",
"ISC",
"N",
"PLC",
"PLE",
"PLR",
"PLW",
"Q",
"RUF",
"S",
"SIM",
"T",
"TID",
"UP",
"W",
"YTT",
]
ignore = [
"T201", # "print" is OK
"S101", # "assert" is OK
"E702", # Statements on one line OK
]