-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (70 loc) · 1.85 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
[tool.poetry]
name = "zfin_orthology_ingest"
version = "0.0.0"
description = "Transform of ZFIN's curated orthology file into Biolink compliant KGX"
authors = ["Kevin Schaper <[email protected]>"]
license = "BSD-3"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
importlib-metadata = ">=4.8.0"
koza = ">=0.6.0"
kghub-downloader = "^0.4.1"
kgx = ">=2.4.0"
biolink-model = "^4.2.0"
duckdb = ">=0.10.2"
loguru = "*"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = ">=8.1.1"
mkdocs = ">=1.4"
mkdocstrings = { extras=["python"], version=">=0.26.2" }
mkdocs-material = ">=9.5"
mkdocs-macros-plugin = "*"
black = "*"
ruff = "*"
[tool.poetry.scripts]
ingest = "zfin_orthology_ingest.cli:app"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
[tool.black]
line-length = 120
skip-string-normalization = true
[tool.ruff]
line-length = 120
ignore = [
"D100", # `missing-module-docstring`
"D101", # `missing-function-docstring`
"D102", # `missing-method-docstring`
"D103", # `missing-class-docstring`
"D211", # `no-blank-line-before-class`
"D212", # `multi-line-summary-first-line`
"D203", # `blank-line-before-docstring`
"F541", # f-strings with no placeholders
"S101", # Use of assert detected
]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
# Select or ignore from https://beta.ruff.rs/docs/rules/
select = [
"B", # bugbear
"D", # pydocstyle
"E", # pycodestyle errors
"F", # Pyflakes
"I", # isort
"S", # flake8-bandit
"W", # Warning
]
unfixable = []
target-version = "py310"
[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"