-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
74 lines (63 loc) · 1.61 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 = "rezide"
version = "0.10.0"
description = ""
authors = ["abstractlyZach <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.9"
i3ipc = "^2.2.1"
click = "^8.0.0"
toml = "^0.10.2"
[tool.poetry.dev-dependencies]
coverage = { extras = ["toml"], version = "^5.5" }
pytest-cov = "^2.12.0"
flake8 = "^3.9.2"
black = "^21.5b1"
flake8-black = "^0.2.1"
flake8-import-order = "^0.18.1"
isort = "^5.8.0"
flake8-bugbear = "^21.4.3"
flake8-bandit = "^2.1.2"
mypy = "^0.910"
flake8-annotations = "^2.6.2"
codecov = "^2.1.11"
pytest = "^6"
pytest-mock = "^3.6.1"
pyfakefs = "^4.5.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["rezide"]
omit = [
# abstract functions so we never actually call their code
"src/rezide/utils/interfaces.py",
# external apis
"src/rezide/utils/sway.py",
"src/rezide/utils/filestore.py",
]
[tool.coverage.report]
show_missing = true
fail_under = 100
[tool.isort]
profile = "google"
[tool.poetry.scripts]
rzd = "rezide.rezide:main"
get-window-sizes = "rezide.get_window_sizes:main"
get-tree = "rezide.get_tree:main"
[tool.pytest.ini_options]
addopts = "--exitfirst --verbosity=2"
log_file_level = "DEBUG"
markers = ['e2e']
[tool.mypy]
# https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml-file
check_untyped_defs = true
pretty = true
show_error_codes = true
[[tool.mypy.overrides]]
# ignore these modules because there are no type stubs available
module = ["i3ipc", 'pyfakefs']
ignore_missing_imports = true