forked from mborsetti/webchanges
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.isort.cfg
34 lines (26 loc) · 1.08 KB
/
.isort.cfg
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
# isort your imports, so you don't have to.
# Runs as part of pre-commit.
# Config file documentation https://pycqa.github.io/isort/docs/configuration/options.html
[settings]
profile = black
# multi_line_output = 3
# use_parentheses = True
# include_trailing_comma = True
# force_grid_wrap = 0
# ensure_newline_before_comments = True
line_length = 120
# Treat project as a git repository and ignore files listed in .gitignore.
skip_gitignore = True
# Force isort to recognize a module as being part of the current python project.
known_first_party = ('webchanges')
# Force isort to recognize a module as being a local folder.
# Generally, this is reserved for relative imports (from . import module).
known_local_folder = ('webchanges')
# Force all imports to be sorted alphabetically within a section.
force_alphabetical_sort_within_sections = True
# Automatically create section groups by the top-level package they come from.
group_by_package = True
# Remove redundant aliases from imports, such as import os as os.
remove_redundant_aliases = True
# Use color in terminal output.
color_output = True