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-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"
|
|
|
|
addopts = "-v --capture=sys"
|
|
|
|
norecursedirs = "node_modules dist"
|
|
|
|
testpaths = "monkey/tests"
|