-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (55 loc) · 1.16 KB
/
pyproject.toml
File metadata and controls
62 lines (55 loc) · 1.16 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
[project]
name = "osh-datasets"
version = "0.1.0"
description = "Collect, clean, classify, and unify Open Source Hardware project metadata"
license = "MIT"
requires-python = ">=3.11"
dependencies = [
"requests>=2.31",
"polars>=1.0",
"orjson>=3.9",
"beautifulsoup4>=4.12",
"lxml>=5.0",
"ghapi>=1.0",
"pyyaml>=6.0",
"tqdm>=4.66",
"python-dotenv>=1.0",
"openpyxl>=3.1",
"xlrd>=2.0",
"fastexcel>=0.12",
]
[project.optional-dependencies]
scrape = [
"selenium>=4.15",
]
llm = [
"google-genai>=1.0",
]
dev = [
"pytest>=8.0",
"pytest-mock>=3.12",
"ruff>=0.4",
"mypy>=1.10",
"types-requests>=2.31",
"types-beautifulsoup4>=4.12",
"types-PyYAML>=6.0",
"types-tqdm>=4.66",
"lxml-stubs>=0.5",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/osh_datasets"]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
testpaths = ["tests"]