-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
52 lines (46 loc) · 1.14 KB
/
pyproject.toml
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
[tool.pdm]
[project]
name = "toolbox"
version = "0.1.0"
description = "Code for ingesting data from several sources, formatting it and creating a training dataset."
authors = [
{name = "0x000011b", email = "[email protected]"},
]
requires-python = ">=3.10"
license = {text = "AGPL-3.0-only"}
dependencies = [
"markdownify>=0.11.6",
"html5lib>=1.1",
"beautifulsoup4>=4.11.2",
"ansicolors>=1.1.8",
"pandas>=1.5.3",
"mashumaro>=3.5",
"pyarrow>=11.0.0",
"sklearn>=0.0.post4",
"pyyaml>=6.0.1",
]
[project.optional-dependencies]
dev = [
"yapf>=0.32.0",
"toml>=0.10.2",
"isort>=5.10.1",
"pylint>=2.15.8",
"mypy>=0.991",
]
debugging = [
"pdbpp>=0.10.3",
"scalene>=1.5.19",
]
[tool.setuptools]
py-modules = ["toolbox"]
[tool.pdm.scripts]
lint = {shell = "pylint --jobs 0 ./toolbox/**/*.py"}
importcheck = "isort --check --diff toolbox"
importfix = "isort toolbox"
stylecheck = "yapf --parallel --diff --recursive toolbox"
stylefix = "yapf --parallel --in-place --recursive toolbox"
typecheck = "mypy --strict toolbox"
[tool.yapf]
based_on_style = "google"
[tool.mypy]
ignore_missing_imports = true