forked from teaxyz/chai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (75 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
82 lines (75 loc) · 1.81 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
[project]
name = "chai"
version = "1.0.0"
description = "An open-source data pipeline for all package managers"
authors = [
{ name = "Sanchit Ram Arvind", email = "sanchitram@gmail.com" },
{ name = "Jacob Heider", email = "jhheider@pkgx.dev" },
]
keywords = ["data", "pipeline"]
readme = "README.md"
requires-python = ">= 3.11"
dependencies = []
[project.urls]
Homepage = "https://github.com/teaxyz/chai"
Repository = "https://github.com/teaxyz/chai"
Source = "https://github.com/teaxyz/chai"
[tool.uv]
managed = true
[tool.pytest.ini_options]
pythonpath = ["."]
minversion = "8.0"
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_"]
addopts = ["-ra", "--strict-markers", "--disable-warnings", "--tb=short"]
markers = ["unit"]
[tool.ruff]
line-length = 88
exclude = ["__pycache__", ".venv", ".git", ".pytest_cache"]
[tool.ruff.lint]
select = [
"E", # pycodestyle (error)
"F", # pyflakes
"B", # bugbear
"B9",
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"I", # isort
"UP", # pyupgrade
"PIE", # flake8-pie
"PGH", # pygrep-hooks
"PYI", # flake8-pyi
"RUF",
]
ignore = [
# leave it to the formatter to split long lines and
# the judgement of all of us.
"E501",
]
fixable = ["ALL"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[dependency-groups]
dev = [
"pytest>=8.4.0",
"pytest-cov>=6.2.1",
"ruff>=0.11.13",
"testing-postgresql>=1.3.0",
]
indexers = [
"alembic==1.13.2",
"certifi>=2025.4.26",
"charset-normalizer>=3.4.2",
"gitpython>=3.1.44",
"idna>=3.10",
"permalint>=0.1.15",
"psycopg2-binary==2.9.10",
"pyyaml>=6.0.2",
"requests>=2.32.4",
"schedule>=1.2.2",
"sqlalchemy>=2.0.41",
"urllib3>=2.4.0",
]
ranker = ["numpy>=2.3.0", "rustworkx>=0.16.0"]