-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (55 loc) · 1.45 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
[project]
name = "fastcons"
version = "0.5.0"
authors = [
{name = "Joshua Munn", email = "[email protected]"},
]
requires-python = ">=3.12, <3.14"
description = "A cons extension module for Python"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
exclude = ["measure", "tests"]
[project.optional-dependencies]
test = [
"pytest == 7.2.2",
"hypothesis >= 6, < 7",
]
dev = [
"ruff == 0.7.2",
"pyright == 1.1.386",
]
build = ["build == 0.10.0"]
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = [
"ignore:ast.Str is deprecated:DeprecationWarning",
"ignore:ast.NameConstant is deprecated:DeprecationWarning",
"ignore:Attribute s is deprecated:DeprecationWarning",
"ignore:ast.Num is deprecated:DeprecationWarning",
"ignore:TestResult has no addDuration method:RuntimeWarning",
]
[tool.ruff]
line-length = 88
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"I", # isort
"ARG", # unused arguments
"PT", # pytest style
"T10", # flake8-debugger
"C4", # flake8-comprehensions
]