-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
54 lines (46 loc) · 1.07 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
[tool.poetry]
name = "ink"
version = "0.6.5"
description = "Connector management CLI"
authors = ["Michel Tricot <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1.3"
PyYAML = "^6.0"
[tool.poetry.dev-dependencies]
black = "^22.6.0"
pytest = "^7.1.2"
isort = "^5.10.1"
pyproject-flake8 = "^0.0.1-alpha.5"
[tool.poetry.scripts]
ink = "ink.entrypoint:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 140
target-version = ["py39"]
[tool.isort]
profile = "black"
py_version = 39
combine_as_imports = true
lines_between_types = 1
lines_after_imports = 2
src_paths = ["src", "tests"]
[tool.flake8]
extend-exclude = [
".venv",
"build",
]
max-complexity = 20
extend-ignore = [
"E203", # whitespace before ':' (conflicts with Black)
"E231", # Bad trailing comma (conflicts with Black)
"E501", # line too long (conflicts with Black)
"W503", # line break before binary operator (conflicts with Black)
]
[tool.pytest.ini_options]
testpaths = [
"tests"
]