-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (98 loc) · 2.29 KB
/
pyproject.toml
File metadata and controls
114 lines (98 loc) · 2.29 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
109
110
111
112
113
114
[project]
name = "heterocomp"
version = "0.1.0"
description = "Heterocomp"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"equinox==0.11.9",
"jax==0.4.38",
"jaxlib==0.4.38",
"kagglehub>=0.3.12",
"matplotlib>=3.10.1",
"numba>=0.61.0",
"numpy>=2.1.3",
"pandas>=2.2.3",
"pathlib>=1.0.1",
"pyyaml>=6.0.2",
"scikit-learn>=1.6.1",
"scipy>=1.15.2",
"seaborn>=0.13.2",
"tqdm>=4.67.1",
"wordcloud>=1.9.4",
"polyagamma>=2.0.2",
"hydra-core>=1.3.2",
"optax>=0.2.4",
"beartype>=0.20.2",
"quads>=1.1.0",
"jaxopt>=0.8.5",
"graphviz>=0.21",
"statsmodels>=0.14.4",
"jinja2>=3.1.6",
"pysad>=0.3.4",
"rrcf>=0.4.4",
"precision-recall-gain>=0.1.1",
"asyncio>=3.4.3",
"fastparquet>=2024.11.0",
"office365>=0.3.15",
"networkx>=3.5",
"pyshp>=2.3.1",
"geopandas>=1.1.1",
"adjusttext>=1.3.0",
"pydeck>=0.9.1",
"opencv-python>=4.12.0.88",
"fonttools>=4.60.0",
"tensorflow-probability>=0.25.0",
"rich>=13.9.4",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = ["pre-commit>=4.1.0", "ruff>=0.8.0"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["_src"]
[tool.ruff]
line-length = 200 # max per line
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
fixable = ["ALL"]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
"B904",
# "F401", # imported but not used
"UP008",
"B007",
"UP035", #`typing.Dict` is deprecated, use `dict` insteadß
"F401",
"B905",
"F722",
"F821",
"UP037",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.isort]
known-third-party = ["fastapi", "pydantic", "starlette"]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[tool.ruff.lint.mccabe]
max-complexity = 5
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"