forked from osl-incubator/makim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
112 lines (94 loc) · 2.06 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
104
105
106
107
108
109
110
111
112
[tool.poetry]
name = "makim"
version = "1.10.0" # semantic-release
description = "Simplify the usage of containers"
authors = ["Ivan Ogasawara <[email protected]>"]
license = "BSD 3 Clause"
repository = "https://github.com/osl-incubator/makim"
homepage = "https://github.com/osl-incubator/makim"
readme = "README.md"
packages = [
{include = "makim", from="src"},
]
include = ["src/makim/py.typed"]
exclude = [
".git/*",
".env*",
]
[tool.poetry.scripts]
"makim" = "makim.__main__:run_app"
[tool.poetry.dependencies]
python = ">=3.8.1,<4"
sh = ">=2.0.0"
pyyaml = ">=5.0"
jinja2 = ">=2.0"
xonsh = ">=0.14.0"
python-dotenv = ">=0.21.1"
colorama = ">=0.4.6"
typer = ">=0.9.0"
[tool.poetry.group.dev.dependencies]
containers-sugar = "1.9.0"
pytest = ">=7"
pre-commit = ">=3"
mypy = ">=1"
pytest-cov = ">=3.0.0"
mkdocs = ">=1.3"
mkdocs-exclude = ">=1.0.2"
mkdocs-jupyter = ">=0.20.0"
mkdocs-literate-nav = ">=0.4.1"
mkdocs-macros-plugin = ">=0.6.3"
mkdocs-material = ">=8"
mkdocstrings = {version=">=0.19.0", extras=["python"]}
ruff = ">=0.1.5"
bandit = ">=1.7.5"
vulture = ">=2.7"
compose-go = ">=2.20.2"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry>=1.5.1"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.mypy]
ignore_missing_imports = true
[tool.ruff]
line-length = 79
force-exclude = true
src = ["./src/makim", "./tests"]
ignore = ["RUF012"]
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
]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.ruff.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"]
[tool.vulture]
exclude = ["tests"]
ignore_decorators = []
ignore_names = []
make_whitelist = true
min_confidence = 80
paths = ["src/makim/"]
sort_by_size = true
verbose = false