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