-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
100 lines (84 loc) · 1.99 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "CrateGen"
version = "0.1.0"
description = "A tool for converting TES and WES to WRROC"
authors = ["Karanjot Singh <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/elixir-cloud-aai/CrateGen"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.dependencies]
python = "^3.11"
pydantic = "^1.8.2"
requests = "^2.25.1"
pytest = "^8.3.1"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
[tool.poetry.dev-dependencies]
pre-commit = "^2.13.0"
[tool.poetry.group.lint.dependencies]
ruff = "^0.4.4"
typos = "^1.21.0"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.3.7"
sphinx-autodoc-typehints = "^2.1.0"
furo = "^2024.5.6"
[tool.poetry.group.security.dependencies]
bandit = "^1.7.8"
safety = "^3.2.0"
[tool.poetry.group.test.dependencies]
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
[tool.poetry.group.types.dependencies]
mypy = "^1.10.1"
[tool.poetry.scripts]
crategen = "crategen.cli:cli"
[tool.bandit]
skips = [
"B321", # FTP-related functions are being called.
"B402", # A FTP-related module is being imported.
]
[tool.ruff]
exclude = [
"tests/*",
"tests/unit/*",
"crategen/*"
]
indent-width = 4
[tool.ruff.format]
docstring-code-format = true
indent-style = "space"
line-ending = "lf"
quote-style = "double"
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"D", # pydocstyle
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"PL", # pylint
"SIM", # flake8-simplify
"UP", # pyupgrade
]
ignore = ["E501"]
fixable = ["ALL"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.typos.default.extend-words]
mke = 'mke'
[tool.mypy]
python_version = "3.11"
strict = true
disallow_untyped_defs = false
check_untyped_defs = false