-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (99 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
113 lines (99 loc) · 2.1 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
[project]
name = "dm-bip"
version = "0.0.0"
description = "dm-bip"
authors = [{ name = "Corey Cox", email = "corey@tislab.org" }]
requires-python = ">=3.11,<=3.13"
readme = "README.md"
license = "MIT"
dependencies = [
"pandas>=2.2.3,<3",
"schema-automator==0.5.5",
"linkml-map==0.5.2",
"typing-extensions>=4.0,<5",
]
[project.scripts]
dm-bip = "dm_bip.cli:app"
[dependency-groups]
dev = [
"pytest>=8.3.2",
"pre-commit>=3.3.3",
"ruff>=0.12.9",
"coverage>=7.3.0",
"pytest-cov>=6.0",
"codespell>=2.4.1",
"docstr-coverage>=2.3.2",
"ipykernel>=6.29.5,<7",
"notebook>=7.4.2,<8",
]
docs = [
"mkdocs>=1.6",
"mkdocs-material>=9.5",
]
env = [
"poetry>=2.0.1,<3",
"cruft>=2.16.0,<3",
]
[tool.uv]
default-groups = [
"dev",
"env",
]
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
[tool.ruff]
target-version = "py312"
line-length = 120
include = [
"src/**/*.py",
"tests/**/*.py",
]
[tool.ruff.lint]
# 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
]
extend-ignore = [
"D211", # `no-blank-line-before-class`
"D212", # `multi-line-summary-first-line`
"D203", # `blank-line-before-docstring`
"S101", # `assert`
]
unfixable = []
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = [
"D",
"S602",
"S603",
"S607",
]
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[tool.codespell]
skip = "*.po,*.ts,.git,pyproject.toml"
count = ""
quiet-level = 3
# ignore-words-list = ""
[tool.coverage.run]
source = ["dm_bip"]
omit = ["tests/*", "*/__init__.py"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.",
]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"