-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
98 lines (85 loc) · 2.26 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[project]
name = "flexexecutor"
description = "Executors for both async and sync functions and automatically scales the number of workers"
authors = [
{ name = "leavers" },
{ name = "Leavers", email = "[email protected]" },
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
requires-python = ">=3.8"
readme = "README.md"
license = { text = "MIT" }
dependencies = []
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/leavers/flexexecutor"
documentation = "https://github.com/leavers/flexexecutor/blob/main/README.md"
# changelog = "URL of changelog"
[project.optional-dependencies]
extra = ["asgiref>=3.8.1"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.build]
includes = ["flexexecutor.py"]
excludes = ["tests"]
[tool.pdm.version]
source = "file"
path = "flexexecutor.py"
[tool.autoflake]
in-place = true
recursive = true
remove-all-unused-imports = true
ignore-init-module-imports = true
remove-duplicate-keys = true
remove-unused-variables = true
[tool.coverage.run]
branch = true
source = ["flexexecutor.py"]
parallel = true
[tool.coverage.html]
directory = "coverage_html_report"
[tool.coverage.report]
show_missing = true
exclude_lines = ["pragma: no cover"]
[tool.ruff]
line-length = 88
[tool.mypy]
check_untyped_defs = true
follow_imports = "error"
ignore_missing_imports = true
show_error_codes = true
warn_unused_configs = true
[tool.pytest.ini_options]
asyncio_mode = "strict"
[dependency-groups]
dev = [
"autoflake>=2.3.1",
"coverage[toml]>=7.6.1",
"mypy>=1.11.1",
"nox>=2024.4.15",
"pytest>=8.3.2",
"pytest-asyncio>=0.23.8",
"pytest-cov>=5.0.0",
"pytest-mock>=3.14.0",
"pytest-timeout>=2.3.1",
"rtoml>=0.11.0",
"ruff>=0.6.1",
"typing-extensions>=4.12.2",
]