Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (93 loc) · 2.54 KB
/
Copy pathpyproject.toml
File metadata and controls
105 lines (93 loc) · 2.54 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "flashq"
version = "0.2.2"
description = "The task queue that works out of the box — no Redis, no RabbitMQ, just pip install and go."
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Ozden" },
]
keywords = ["task-queue", "celery", "async", "background-tasks", "job-queue"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Distributed Computing",
"Typing :: Typed",
"Framework :: AsyncIO",
]
# Zero required dependencies — SQLite backend uses stdlib only
dependencies = []
[project.optional-dependencies]
redis = ["redis>=5.0"]
postgres = ["psycopg[binary,pool]>=3.1"]
dashboard = ["starlette>=0.36", "uvicorn>=0.27"]
all = ["flashq[redis,postgres,dashboard]"]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=4.0",
"mypy>=1.8",
"ruff>=0.2",
"pre-commit>=3.6",
"httpx>=0.27",
"starlette>=0.36",
]
[project.scripts]
flashq = "flashq.cli:main"
[project.urls]
Homepage = "https://github.com/ozden/flashq"
Documentation = "https://flashq.readthedocs.io"
Repository = "https://github.com/ozden/flashq"
Issues = "https://github.com/ozden/flashq/issues"
[tool.hatch.build.targets.wheel]
packages = ["flashq"]
[tool.ruff]
target-version = "py310"
line-length = 99
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"RUF", # ruff-specific
]
ignore = ["E501"] # line length handled by formatter
[tool.ruff.lint.isort]
known-first-party = ["flashq"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.coverage.run]
source = ["flashq"]
omit = ["flashq/dashboard/*"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"if __name__ ==",
"@overload",
"raise NotImplementedError",
]