-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (100 loc) · 2.98 KB
/
Copy pathpyproject.toml
File metadata and controls
114 lines (100 loc) · 2.98 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
[build-system]
requires = ["flit_core>=3.2", "flit_scm", "wheel"]
build-backend = "flit_scm:buildapi"
[project]
name = "threadmill"
authors = [
{ name = "Johannes Maron", email = "johannes@maron.family" },
]
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["Django", "tasks", "worker"]
dynamic = ["version", "description"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Environment :: Web Environment",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Topic :: Communications :: Email",
"Topic :: Text Processing :: Markup :: Markdown",
"Topic :: Software Development",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.14",
"Framework :: Django",
"Framework :: Django :: 6.1",
]
requires-python = ">=3.14"
dependencies = ["django>=6.0"]
[project.optional-dependencies]
redis = ["redis>=5.0"]
inspector = [
"textual>=8.2.7",
]
[project.urls]
# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels
Homepage = "https://github.com/codingjoe/threadmill"
Changelog = "https://github.com/codingjoe/threadmill/releases"
Source = "https://github.com/codingjoe/threadmill"
Releasenotes = "https://github.com/codingjoe/threadmill/releases/latest"
Documentation = "https://github.com/codingjoe/threadmill/"
Issues = "https://github.com/codingjoe/threadmill/issues"
Funding = "https://github.com/sponsors/codingjoe"
[tool.flit.module]
name = "threadmill"
[tool.setuptools_scm]
write_to = "threadmill/_version.py"
[tool.pytest.ini_options]
minversion = "6.1a1"
addopts = "--cov --cov-report=xml --cov-report=term --tb=short -rxs --benchmark-autosave --benchmark-group-by=fullname --benchmark-min-rounds=10"
testpaths = ["tests"]
DJANGO_SETTINGS_MODULE = "tests.testapp.settings"
asyncio_mode = "auto"
markers = [
"benchmark: mark benchmark tests.",
]
[tool.coverage.run]
source = ["threadmill"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.ruff]
src = ["threadmill", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"S", # flake8-bandit
"D", # pydocstyle
"UP", # pyupgrade
"B", # flake8-bugbear
"C", # flake8-comprehensions
]
ignore = ["B904", "D1", "E501", "S101"]
[tool.ruff.lint.isort]
combine-as-imports = true
split-on-trailing-comma = true
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
force-wrap-aliases = true
known-first-party = ["threadmill", "tests"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[dependency-groups]
dev = [
{ include-group = "test" },
]
test = [
"pytest",
"pytest-benchmark",
"pytest-asyncio",
"pytest-cov",
"pytest-django",
"redis>=5.0",
]