-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
101 lines (89 loc) · 2 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sodar-cli"
description = "Command line interface client for SODAR REST API."
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
dependencies = [
"attrs>=24.3.0",
"cattrs>=24.1.2",
"logzero>=1.7.0",
"python-dateutil>=2.9.0.post0",
"python-levenshtein>=0.26.1",
"requests>=2.32.3",
"simplejson>=3.19.3",
"tabulate>=0.9.0",
"toml>=0.10.2",
"tqdm>=4.67.1",
]
[project.license]
file = "LICENSE"
[project.scripts]
sodar-cli = "sodar_cli.__main__:main"
[tool.setuptools.dynamic]
version = {attr = "sodar_cli.version.__version__"}
[tool.coverage.run]
omit = []
relative_files = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "if __name__ == '__main__':"]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 120
indent-width = 4
[tool.ruff.lint]
ignore = ["E203", "E266", "E501"]
select = ["B", "C", "E", "F", "W"]
[tool.ruff.lint.mccabe]
# Flag errors (`C901`) whenever the complexity level exceeds 18.
max-complexity = 18
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[dependency-groups]
dev = [
"factory-boy==2.12.0",
"pytest>=8.3.4",
"requests-mock>=1.7.0",
"ruff>=0.9.0",
]