-
Notifications
You must be signed in to change notification settings - Fork 786
/
pyproject.toml
35 lines (31 loc) · 1.12 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
[tool.black]
line-length = 100
target-version = ['py311']
[tool.isort]
skip = "monkey/monkey_island/cc/ui"
known_first_party = "common,infection_monkey,monkey_island"
line_length = 100
### for compatibility with black
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
skip_glob="**/__init__.py"
[tool.pytest.ini_options]
minversion = "6.0"
log_cli = 1
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s [%(levelname)s] %(module)s.%(funcName)s.%(lineno)d: %(message)s"
log_cli_date_format = "%H:%M:%S"
addopts = "-v --capture=sys tests/unit_tests"
norecursedirs = "node_modules dist"
markers = ["slow: mark test as slow"]
pythonpath = "./monkey"
filterwarnings = ["ignore:.*'propagate_exceptions' is deprecated and will be removed in Flask 2.3:DeprecationWarning"] # Remove when Flask is up to v2.3
[tool.vulture]
exclude = ["monkey/monkey_island/cc/ui/", "monkey/tests/", "monkey/monkey_island/docs/", "monkey/infection_monkey/pyinstaller_hooks", "envs", "*/*-MIB.py",]
paths = ["."]
[tool.mypy]
exclude = 'vulture_allowlist\.py'
show_error_codes = true