Modify isort configuration

This commit is contained in:
Shreya 2021-04-06 17:24:59 +05:30 committed by Mike Salvatore
parent 661f3907a9
commit d5b74d70b2
2 changed files with 11 additions and 6 deletions

View File

@ -1,6 +0,0 @@
[isort]
# Possible options: https://pycqa.github.io/isort/docs/configuration/options/
known_first_party=common,infection_monkey,monkey_island
skip=monkey/common/cloud/scoutsuite,monkey/monkey_island/cc/services/zero_trust/scoutsuite/data_parsing/rule_path_building/rule_path_creators_list.py,monkey/monkey_island/cc/ui,monkey/common/cloud/scoutsuite

View File

@ -1,3 +1,14 @@
[tool.black]
line-length = 100
target-version = ['py37']
[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