forked from davesteele/comitup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (66 loc) · 1.36 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (66 loc) · 1.36 KB
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
[build-system]
requires = ["setuptools", "wheel", "pytest-runner"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
filterwarnings = [
"ignore",
"default:::comitup",
"default:::web",
"default:::cli"
]
asyncio_default_fixture_loop_scope = "function"
[tool.tox]
legacy_tox_ini = """
[tox]
env_list =
TEST
PEP8
MYPY
[testenv:TEST]
deps =
pytest
dbus-python
python-networkmanager
flask
pygobject
apt-wrapper
cachetools
commands_pre =
apt status libcairo2-dev
apt status gobject-introspection
apt status libgirepository-2.0-dev
apt status python3-dev
apt status libdbus-glib-1-dev
apt status libdbus-1-dev
commands = pytest
[testenv:PEP8]
deps = flake8
commands = flake8 setup.py comitup cli web test
[testenv:MYPY]
deps =
mypy
types-tabulate
types-Flask
types-cachetools
types-RPi-GPIO
commands = mypy comitup cli web test
"""
[tool.mypy]
mypy_path = "stubs"
[[tool.mypy.overrides]]
module = [
"mypy-dbus",
"dbus",
"dbus.mainloop.glib",
"dbus.service",
"gi",
"gi.repository.GLib",
"pytest",
"RPi",
"venv",
]
ignore_missing_imports = true