-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (127 loc) · 2.91 KB
/
pyproject.toml
File metadata and controls
143 lines (127 loc) · 2.91 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[project]
name = "makim"
version = "1.29.0" # semantic-release
description = "A tool that helps organize and simplify helper commands using YAML configuration"
authors = [
{name = "Ivan Ogasawara", email = "ivan.ogasawara@gmail.com"}
]
license = "BSD 3 Clause"
repository = "https://github.com/makim-org/makim"
homepage = "https://github.com/makim-org/makim"
readme = "README.md"
requires-python = ">=3.10,<4"
dependencies = [
"xhell >= 0.2.0",
"pyyaml >= 5.0",
"jinja2 >= 2.0",
"xonsh >= 0.15.0",
"python-dotenv >= 0.21.1",
"typer >= 0.9.0",
"fuzzywuzzy >= 0.18.0",
"python-levenshtein >= 0.23.0",
"rich >= 10.11.0",
"shellingham >= 1.5.4",
"jsonschema >= 4",
"paramiko >= 3.5.0",
"types-paramiko >= 3.5.0",
"apscheduler (>=3.11.0,<4.0.0)",
"sqlalchemy (>=2.0.37,<3.0.0)",
"types-pyyaml >=5"
]
[project.scripts]
"makim" = "makim.__main__:run_app"
[build-system]
requires = ["poetry-core>=2", "poetry>=2"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
packages = [
{include = "makim", from="src"},
]
include = [
"src/makim/py.typed",
"src/makim/schema.json",
]
exclude = [
".git/*",
".env*",
]
[tool.poetry.group.dev.dependencies]
pytest = ">=7"
pre-commit = ">=3"
mypy = ">=1"
pytest-cov = ">=3.0.0"
mkdocs = ">=1.3,<2"
mkdocs-exclude = ">=1.0.2"
mkdocs-jupyter = ">=0.24.7"
mkdocs-literate-nav = ">=0.4.1"
mkdocs-macros-plugin = ">=0.6.3"
mkdocs-material = ">=8"
mkdocstrings = {version=">=0.19.0", extras=["python"]}
griffe = "<2"
mkdocstrings-python = "<2"
ruff = ">=0.1.5"
bandit = ">=1.7.5"
vulture = ">=2.7"
jupyterlab = ">=4.1.5"
nox = ">=2024.3.2"
nbconvert = ">=7.16.3"
pymdown-extensions = ">=10.7.1"
pyinstaller = {version = ">=6.12.0", python = "<3.14"}
containers-sugar = { version = ">=1.17.0", platform = "linux" }
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.mypy]
python_version = "3.10"
check_untyped_defs = true
strict = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
show_error_codes = true
exclude = ["scripts/"]
[tool.ruff]
line-length = 79
force-exclude = true
src = ["./src/makim", "./tests"]
exclude = [
"docs",
]
fix = true
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"D", # pydocstyle
"YTT", # flake8-2020
"PL", # PL
"RUF", # Ruff-specific rules
"I001", # isort
"I002", # isort
]
ignore = [
"RUF012",
"PLR0915", # too many statements
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
# Use a single line between direct and from import
lines-between-types = 1
[tool.ruff.format]
quote-style = "single"
[tool.bandit]
exclude_dirs = ["tests"]
targets = "src/makim/"
skips = ["B102", "B701", "B507", "B601", "B603"]
[tool.vulture]
exclude = ["tests"]
ignore_decorators = []
ignore_names = ["verbose", "dry_run", "skip_hooks"]
make_whitelist = true
min_confidence = 80
paths = ["src/makim/"]
sort_by_size = true
verbose = false