-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
74 lines (63 loc) · 1.36 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
[tool.poetry]
name = "glasses"
version = "0.34.0"
description = ""
authors = ["Sander Teunissen"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
textual = "^0.41.0"
pydantic = "^1.10.2"
kubernetes = "^25.3.0"
kubernetes-asyncio = "^28.2.0"
lark = "^1.1.5"
rich = "^13.3.2"
structlog = "^23.1.0"
[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
mypy = "^1.1.1"
ruff = "^0.0.237"
black = "^22.12.0"
textual = { extras = ["dev"], version = ">=0.8.0" }
pytest-asyncio = "^0.20.3"
pytest-icdiff = "^0.6"
nox = "^2022.11.21"
pyproject-fmt = "^0.4.1"
isort = "^5.12.0"
icdiff = "^2.0.6"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = [
"poetry-core",
]
[tool.poetry.scripts]
glasses = "glasses.app:run"
[tool.ruff]
src = [
'src', # if omitted, Isort messes up sorting of primary and secondary pacakges.
'test',
]
select = [
"E",
"F",
"W",
]
ignore = [
'E501', # line-length. Black handles this.
]
[tool.ruff.per-file-ignores]
'src/glasses/log_parser.py' = ['E999'] # switch statement ignore
[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = true
install_types = true
non_interactive = true
show_column_numbers = true
warn_return_any = true
[[tool.pypy.overrides]]
module = "tests.*"
disallow_incomplete_defs = false
disallow_untyped_defs = false
[tool.isort]
profile = "black"