-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (92 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (92 loc) · 2.05 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
[build-system]
requires = ["hatchling>=1.20.0"]
build-backend = "hatchling.build"
[project]
name = "gardener"
version = "0.1.2"
description = "Automated static analysis and dependency graph centrality analysis for recommendation of OSS dependency funding splits to be distributed via the Drips Network"
requires-python = ">=3.11,<3.13"
authors = [
{ name = "Warren Winter" }
]
license = "MIT"
license-files = ["LICENSE"]
dependencies = [
"GitPython==3.1.44",
"pathspec==0.12.1",
"tree-sitter==0.23.2",
"tree-sitter-language-pack==0.6.1",
"networkx==3.2.1",
"requests==2.32.3",
"pydantic>=2,<3",
"numpy==1.26.4",
"scipy==1.11.4",
"toml",
"tqdm",
"tenacity",
]
[project.optional-dependencies]
viz = [
"ipysigma>=0.21",
]
service = [
"fastapi==0.104.1",
"uvicorn[standard]==0.24.0",
"celery==5.3.4",
"redis==5.0.1",
"sqlalchemy==2.0.23",
"psycopg2-binary==2.9.9",
"alembic==1.13.0",
"boto3==1.34.137",
"python-dotenv==1.0.0",
"pydantic-settings==2.1.0",
"python-multipart==0.0.6",
"httpx==0.25.2",
"slowapi==0.1.9",
]
test = [
"pytest>=7.4",
"pytest-mock>=3.11",
"psutil>=5.9",
"pytest-timeout>=2.3",
"pyyaml>=6.0",
]
dev = [
"tox>=4",
"tox-uv>=1.6.0",
"pylint>=3.0",
"mypy>=1.7.0",
"black>=24.3.0",
"isort>=5.12.0",
"pandas>=2,<3",
]
[project.scripts]
gardener = "gardener.main_cli:main"
[tool.hatch.build]
include = [
"gardener/**",
"README.md",
]
exclude = [
"gardener/external_helpers/**/node_modules/**",
"gardener/external_helpers/**/package-lock.json",
"gardener/external_helpers/**/.DS_Store",
]
[tool.black]
line-length = 120
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 120
force_single_line = false
combine_as_imports = true
[tool.mypy]
python_version = "3.11"
warn_unused_configs = true
ignore_missing_imports = true
no_site_packages = true
pretty = true
allow_redefinition = true
follow_imports = "silent"
# The codebase is not typed; keep mypy lenient to provide value without breaking CI
disable_error_code = "truthy-function,assignment,valid-type,misc,import"