2021-04-02 18:40:00 +08:00
|
|
|
[tool.black]
|
|
|
|
line-length = 100
|
|
|
|
target-version = ['py37']
|
2021-04-06 19:54:59 +08:00
|
|
|
|
|
|
|
[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
|
2021-09-24 00:42:40 +08:00
|
|
|
skip_glob="**/__init__.py"
|
2021-04-19 20:01:01 +08:00
|
|
|
|
|
|
|
[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"
|
2021-06-04 04:09:57 +08:00
|
|
|
addopts = "-v --capture=sys tests/unit_tests"
|
2021-04-19 20:01:01 +08:00
|
|
|
norecursedirs = "node_modules dist"
|
2021-07-20 00:27:54 +08:00
|
|
|
markers = ["slow: mark test as slow"]
|
2021-05-04 00:42:41 +08:00
|
|
|
|
|
|
|
[tool.vulture]
|
2021-06-03 14:27:44 +08:00
|
|
|
exclude = ["monkey/monkey_island/cc/ui/", "monkey/tests/"]
|
2021-05-04 00:42:41 +08:00
|
|
|
paths = ["."]
|