-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (58 loc) · 1.24 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
[tool.poetry]
name = "scripts"
version = "1.1.1"
description = "Docky: Run Docker commands with Python."
authors = ["Mateus Oliveira"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
bandit = "^1.7.4"
black = "^22.3.0"
editorconfig-checker = "^2.4.0"
gitlint = "^0.17.0"
isort = "^5.10.1"
mypy = "^0.971"
pre-commit = "^2.19.0"
prospector = "^1.7.7"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
safety = "^2.1.1"
Sphinx = "^5.0.2"
sphinx-rtd-theme = "^1.0.0"
toml = "^0.10.2"
types-toml = "^0.10.7"
[tool.poetry.scripts]
docky = "scripts.docky_cli.__main__:CLI"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
filterwarnings = "error"
addopts = [
"-vv",
"-s",
"--cov-report=term-missing",
"--cov-report=html:tests/coverage-results/htmlcov",
"--cov=scripts/docky_cli",
"--cov-fail-under=100",
]
[tool.mypy]
python_version = "3.7"
strict = true
show_error_codes = true
[[tool.mypy.overrides]]
module = [
"scripts.*",
]
ignore_missing_imports = true
[tool.isort]
profile = "black"
line_length = 79
verbose = true
multi_line_output = 3
include_trailing_comma = true
skip_gitignore = true
[tool.black]
line-length = 79
verbose = true