-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (70 loc) · 1.89 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
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
[tool.poetry]
name = "kghub-downloader"
version = "0.0.0"
description = "Downloads and caches files for knowledge graph ETL"
authors = ["The Monarch Initiative <[email protected]>"]
readme = "README.md"
[tool.poetry.scripts]
downloader = "kghub_downloader.main:typer_app"
[tool.poetry.dependencies]
python = ">=3.9, <4.0"
elasticsearch = ">7.0, <9.0"
compress-json = ">1.0, <2.0"
PyYAML = ">5.0,<7.0"
tqdm = ">=4.62.3"
google-cloud-storage = "^2.1.0"
typer ="^0.12.3"
gdown = ">=4.7.1"
boto3 = ">=1.34.35"
pydantic = "^2.9.1"
pydantic-settings = "^2.5.2"
[tool.poetry.group.dev.dependencies]
mkdocs = ">=1.6.1"
mkdocs-material = ">=9.5"
mkdocstrings = {extras = ["python"], version = "^0.27.0"}
moto = "^5.0.1"
mypy = "^1.11.2"
tox = ">=4.16.0"
pytest = ">=8.3.2"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311", "py312"]
[tool.ruff]
lint.extend-ignore = [
"D211", # `no-blank-line-before-class`
"D212", # `multi-line-summary-first-line`
"D203", # `blank-line-before-docstring`
]
line-length = 120
# Allow autofix for all enabled rules (when `--fix`) is provided.
lint.fixable = ["ALL"]
# Select or ignore from https://beta.ruff.rs/docs/rules/
lint.select = [
"B", # bugbear
"D", # pydocstyle
"E", # pycodestyle errors
"F", # Pyflakes
"I", # isort
"S", # flake8-bandit
"W", # Warning
]
lint.unfixable = []
target-version = "py310"
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
# Allow `assert` statements in tests
"test/*.py" = ["S101"]
[tool.codespell]
skip = "*.po,*.ts,.git,pyproject.toml"
count = ""
quiet-level = 3
# ignore-words-list = ""
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"