-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpyproject.toml
130 lines (114 loc) · 2.82 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]
[tool.setuptools]
packages = ["pgqueuer"]
[tool.setuptools_scm]
version_scheme= "only-version"
local_scheme= "no-local-version"
write_to= "pgqueuer/_version.py"
[project]
name = "pgqueuer"
description = "Pgqueuer is a Python library leveraging PostgreSQL for efficient job queuing."
authors = [{name = "JeyBee"}]
license = {text = "MIT License"}
dynamic = ["version"]
requires-python = ">=3.10"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Topic :: System :: Distributed Computing"
]
dependencies = [
"anyio>=4.0",
"croniter>=5.0.1",
"pydantic-settings>=2.6.1",
"pydantic>=2.0.0",
"tabulate>=0.9.0",
"typer>=0.15.1",
"uvloop>=0.21.0; sys_platform != 'win32'",
"async-timeout>=5.0.1",
]
[project.urls]
Documentation = "https://github.com/janbjorge/pgqueuer/wiki"
Homepage = "https://github.com/janbjorge/pgqueuer/"
Issues = "https://github.com/janbjorge/pgqueuer/issues"
Repository = "https://github.com/janbjorge/pgqueuer/"
[project.scripts]
pgq = "pgqueuer.__main__:main"
[project.optional-dependencies]
asyncpg = ["asyncpg>=0.30.0"]
psycopg = ["psycopg>=3.2.0"]
[dependency-groups]
dev = [
"async-timeout>=4.0.3",
"asyncpg-stubs",
"asyncpg",
"fastapi",
"httpx",
"icecream>=2.1.3",
"mypy-extensions",
"mypy",
"psycopg>=3.2.0",
"pytest-asyncio",
"pytest-mock>=3.14.0",
"pytest",
"ruff",
"tqdm",
"types-croniter",
"types-tabulate",
"uvicorn",
]
docs = [
"myst-parser",
"sphinx",
"sphinx-rtd-theme"
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"C",
"E",
"F",
"I",
"PIE",
"Q",
"RET",
"RSE",
"SIM",
"W",
"C90"
]
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.mypy]
disallow_untyped_defs = true
exclude = "^(build)"
extra_checks = true
ignore_missing_imports = true
plugins = ["pydantic.mypy"]
python_version = "3.10"
strict_equality = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"