-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (60 loc) · 1.7 KB
/
pyproject.toml
File metadata and controls
74 lines (60 loc) · 1.7 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
[build-system]
requires = ["setuptools>=70.1"]
[project]
name = "sonyflake-turbo"
version = "1.0.0"
authors = [
{name = "Anatolii Aniskovych", email = "zipfile.d@protonmail.com"},
]
description = "A Sonyflake implementation optimized for extreme usages."
readme = "README.rst"
requires-python = ">=3.10"
keywords = ["sonyflake"]
license = "BSD-2-Clause"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Free Threading :: 2 - Beta",
"Intended Audience :: Developers",
]
[project.urls]
Source = "https://github.com/ZipFile/python-sonyflake-turbo"
[project.optional-dependencies]
dev = [
"flake8",
"flake8-pyproject",
"isort",
"mypy",
"pytest",
"pytest-asyncio",
"pytest-trio",
]
[tool.setuptools]
package-dir = {"" = "src"}
# TODO: Migrate to [tool.setuptools.ext-modules], when setuptools start supporting ABI3 builds
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.exclude-package-data]
sonyflake_turbo = ["*.c", "*.h"]
[tool.pytest]
minversion = "9.0"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["sonyflake_turbo"]
[tool.isort]
profile = "black"
[tool.flake8]
application-import-names = ["sonyflake_turbo"]
max-line-length = 88
[tool.black]
line-length = 88
target-version = ["py310", "py311", "py312", "py313", "py314"]
[tool.mypy]
strict = true
warn_unused_configs = true
[tool.cibuildwheel]
test-command = "pytest --import-mode=importlib -p no:cacheprovider {project}/tests"
test-requires = ["pytest", "pytest-asyncio", "pytest-trio"]