-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
92 lines (79 loc) · 1.97 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
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.black]
color = true
line-length = 88
skip-string-normalization = true
target-version = ['py312']
[tool.mypy]
check_untyped_defs = true
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_expr = false
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
explicit_package_bases = true
ignore_missing_imports = true
namespace_packages = true
no_implicit_optional = true
no_implicit_reexport = true
python_version = "3.12"
show_error_codes = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.poetry]
authors = ["Meryll Dindin <merylldin@gmail.com>"]
description = "AWS routines for Python projects"
name = "sirtuin"
readme = "README.md"
version = "1.0.3"
[tool.poetry.dependencies]
pydantic = "^2.6.3"
python = ">=3.13,<3.14"
pyyaml = "^6.0"
tomli = "^2.0"
typer = { extras = ["all"], version = "^0.13.0" }
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^24.0.0"
mypy = "^1.0"
pytest = "^8.1.0"
pytest-cov = "^6.0.0"
ruff = "^0.8.0"
[tool.poetry.group.types]
optional = true
[tool.poetry.group.types.dependencies]
types-pyyaml = "^6.0"
[tool.poetry.scripts]
sirtuin = "sirtuin.main:cli"
[tool.pytest.ini_options]
addopts = "--no-header -rA"
pythonpath = ["."]
[tool.ruff]
extend-include = ["*.ipynb", "*.toml"]
line-length = 88
output-format = "grouped"
show-fixes = true
[tool.ruff.lint]
dummy-variable-rgx = "_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_"
ignore = ["D100", "D101", "E501"]
ignore-init-module-imports = true
select = ["E", "F", "I001", "W"]
[tool.ruff.lint.isort]
section-order = [
"first-party",
"future",
"local-folder",
"standard-library",
"third-party",
]