-
Notifications
You must be signed in to change notification settings - Fork 731
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (82 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
91 lines (82 loc) · 1.97 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "crowdgit"
version = "0.0.1"
description = "Crowd.dev git integration for the Linux Foundation"
readme = "README.md"
authors = [
{ name = "Juan Reyero", email = "juan@juanreyero.com" }
]
license = { file = "LICENSE" }
requires-python = ">=3.10"
dependencies = [
"requests>=2.32.3",
"tqdm",
"fuzzywuzzy",
"python-Levenshtein",
"boto3>=1.35.18",
"python-json-logger",
"python-dotenv>=1.2.2",
"gitpython",
"fastapi[standard]",
"uvicorn",
"asyncio",
"openai>=1.45.0",
"prettytable>=3.11.0",
"python-slugify>=8.0.4",
"asyncpg",
"loguru>=0.7.3",
"tenacity>=9.1.2",
"aiokafka>=0.12.0",
"aiofiles>=24.1.0",
"aioboto3>=15.1.0",
"slugify>=0.0.1",
"orjson>=3.11.3",
"pyyaml>=6.0",
]
[project.scripts]
crowd-git-ingest = "crowdgit.ingest:main"
crowd-git-bad-commits = "crowdgit.get_bad_commits:main"
crowd-git-maintainers = "crowdgit.maintainers:main"
[tool.hatch.build.targets.wheel]
packages = ["src/crowdgit"]
[tool.pytest.ini_options]
addopts = "--doctest-modules --ignore=setup.py --ignore=build --ignore=doc --ignore=flymake"
pythonpath = [
"."
]
[tool.ruff]
line-length = 99
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"UP015", # redundant open modes (keep explicit 'r', 'w', etc. for clarity)
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[dependency-groups]
dev = [
"jedi>=0.18.1",
"pylint>=2.13.9",
"pytest>=7.0.0",
"pytest-asyncio>=1.2.0",
"yapf>=0.32.0",
"ruff>=0.3.0",
]