-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
106 lines (90 loc) · 2.33 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
[tool.pytest.ini_options]
addopts = "--doctest-modules --cov=./spark8t"
[tool.flake8]
per-file-ignores = [
'__init__.py:F401',
'tests/*: D',
'tests/test_utils.py: D, F601'
]
ignore = [
# Ignored by black
'E203', 'E266', 'E501', 'W503',
# Ignored to conform to PEP257
'D203', 'D212', 'D213', 'D214', 'D215', 'D404', 'D405', 'D406', 'D407', 'D408', 'D409', 'D410', 'D411',
'D413', 'D415', 'D416', 'D417',
# Ignored to work with Sphinx
'RST303', 'RST304', 'RST307'
]
# line length is intentionally set to 80 here because black uses Bugbear
# See https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length for more details
max-line-length = "120"
max-complexity = "18"
select = ['B','C','D','E','F','W','T4','B9','RST','DAR']
docstring_style = "sphinx"
[tool.isort]
py_version = 3
profile = 'black'
known_first_party = ['spark8t','tests']
skip_gitignore = true
[tool.mypy]
follow_imports = "silent"
[[tool.mypy.overrides]]
module = [
"parameterized",
"envyaml",
"pytest"
]
ignore_missing_imports = true
[tool.poetry]
name = "spark8t"
version = "0.0.10"
description = "This project provides some utilities function and CLI commands to run Spark on K8s."
authors = [
"Canonical Data Platform <[email protected]>"
]
license = "Apache-2.0"
readme = "README.md"
packages = []
[tool.poetry.dependencies]
python = ">3.8,<4.0"
lightkube = ">=0.11"
jinja2 = ">=3.1.2"
envyaml = ">=1.10.211231"
[tool.poetry.group.fmt]
optional = true
[tool.poetry.group.fmt.dependencies]
black = ">=21.12b0"
isort = ">=5.10"
lightkube = ">=0.11"
[tool.poetry.group.lint]
optional = true
[tool.poetry.group.lint.dependencies]
codespell = "^2.1.0"
flake8 = ">=4.0.1"
Flake8-pyproject = ">=1.1.0"
mypy = ">=0.910"
pytest-mypy = ">=0.10.3"
lightkube = ">=0.11"
[tool.poetry.group.unit]
optional = true
[tool.poetry.group.unit.dependencies]
tox = ">3.21.4"
mypy = ">=0.910"
pytest-cov = ">=3.0"
pytest = ">=6.2"
pytest-mock = ">=3.10"
lightkube = ">=0.11"
pyOpenSSL = ">=23.1.1"
[tool.poetry.group.integration]
optional = true
[tool.poetry.group.integration.dependencies]
tox = ">3.21.4"
mypy = ">=0.910"
pytest-cov = ">=3.0"
pytest = ">=6.2"
pytest-mock = ">=3.10"
lightkube = ">=0.11"
parameterized = ">=0.9.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"