-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
103 lines (91 loc) · 2.61 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
102
103
[tool.poetry]
name = "crimson"
version = "0.0.0"
description = "Bioinformatics tool outputs converter to JSON or YAML"
authors = ["Wibowo Arindrarto <contact@arindrarto.dev>"]
repository = "https://github.com/bow/crimson"
readme = "README.md"
packages = [{ include = "crimson" }]
include = ["CHANGELOG.rst"]
license = "BSD-3-Clause"
keywords = ["bioinformatics", "json", "yaml"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Utilities",
"Topic :: Software Development :: Libraries",
]
[tool.poetry.scripts]
crimson = "crimson.cli:main"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
pattern = "^v?(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?(\\+(?P<tagged_metadata>.+))?$"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
click = "^8.1.7"
PyYAML = "^6.0.1"
single-source = "^0.3.0"
[tool.poetry.group.dev.dependencies]
black = "^24.2.0"
pytest-cov = "^4.1.0"
pytest-sugar = "^1.0.0"
bandit = "^1.7.7"
flake8 = ">=6.1,<8.0"
flake8-polyfill = "^1.0.2"
mypy = "^1.5.1"
mypy-extensions = "^1.0.0"
radon = "^6.0.1"
pytest-flake8 = "^1.1.1"
types-PyYAML = "^6.0.12.12"
safety = "^3.0.1"
platformdirs = "<4.0.0"
pytest = "^8.0.1"
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
show_error_context = true
show_column_numbers = true
show_error_codes = true
pretty = true
warn_redundant_casts = true
[[tool.mypy.overrides]]
module = "crimson.*"
disallow_untyped_calls = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
allow_untyped_globals = false
strict_equality = true
[tool.black]
line-length = 88
target-version = ["py312"]
include = '\.pyi?$'
exclude = '/(\.eggs|\.git|\.mypy_cache|\.tox|\.venv|_build|build|dist)/'
[tool.coverage.run]
branch = true
source = ["crimson"]
[tool.coverage.report]
exclude_lines = [
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
omit = ["tests/*"]
[tool.distutils.bdist_wheel]
universal = true
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"