forked from openwpm/OpenWPM
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
55 lines (46 loc) · 1.25 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
[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = "test"
addopts = "--strict-markers"
markers = [
"pyonly: marks a test as being python only and so server and xpi not needed",
"slow: marks a test as slow (omit slow tests with '-m \"not slow\"')",
]
[tool.isort]
profile = "black"
known_future_library = "future"
known_first_party = ["openwpm", "openwpmtest", "test"]
default_section = "THIRDPARTY"
skip = ["venv", "Extension", "firefox-bin"]
[tool.mypy]
follow_imports = "silent"
python_version = "3.10"
warn_unused_configs = true
ignore_missing_imports = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = "openwpm.storage.*"
disallow_incomplete_defs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = "openwpm.*"
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = [
"openwpm.utilities.*",
"openwpm.mp_logger",
"openwpm.commands.browser_commands",
]
disallow_incomplete_defs = false
[[tool.mypy.overrides]]
module = "openwpm.browser_manager"
allow_redefinition = true
disallow_incomplete_defs = false
[[tool.mypy.overrides]]
module = "test.*"
allow_untyped_defs = true
[tool.coverage.run]
concurrency = ["multiprocessing"]
parallel = true
sigterm = true