-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (94 loc) · 2.34 KB
/
Copy pathpyproject.toml
File metadata and controls
108 lines (94 loc) · 2.34 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
[project]
name = "github-feed"
version = "0.1.0"
license = { file = "LICENSE" }
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "Zach Fuller", email = "zach.fuller1222@gmail.com" }
]
requires-python = ">=3.12"
dependencies = [
"aiohttp[speedups]>=3.11.14",
"cachetools>=5.5.2",
"cashews>=7.4.0",
"duckdb>=1.1.3",
"fastapi[standard]>=0.115.12",
"pyarrow>=18.1.0",
"pydantic>=2.10.4",
"rich>=13.9.4",
"sqlmodel>=0.0.22",
"textual>=1.0.0",
"urllib3>=2.3.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"datamodel-code-generator>=0.26.4",
"mypy>=1.13.0",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.0",
"pytest-socket>=0.7.0",
"pytest-textual-snapshot>=1.0.0",
"ruff>=0.8.4",
"textual-dev>=1.7.0",
"types-cachetools>=5.5.0.20240820",
]
[tool.uv]
python-preference = "system"
python-downloads = "manual"
default-groups = ["dev"]
[tool.uv.pip]
strict = true
[tool.ruff]
line-length = 110
indent-width = 4
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "I", "N", "UP", "ASYNC", "S", "B", "PLE", "PLW", "PERF", "RUF", "PT"]
ignore = ["E501", "S101"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
pythonpath = "src"
addopts = [
"--import-mode=importlib",
"--disable-socket",
"--color=yes",
"--asyncio-mode=auto"
]
asyncio_default_fixture_loop_scope = "session"
markers = [
"no_mock_export_pitr: Disable mock export PITR autouse fixture",
]
[tool.pyright]
include = ["src", "tests"]
exclude = ["**/node_modules",
"**/__pycache__",
]
typeCheckingMode = "strict"
reportUnknownArgumentType = false
reportUnknownMemberType = false
reportUnknownVariableType = false
reportUnknownParameterType = false
reportUnknownLambdaType = false
reportMissingImports = "error"
reportMissingTypeStubs = true
[tool.mypy]
plugins = ["pydantic.mypy"]
strict = true
exclude = "typings"
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true