-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.isort.cfg
76 lines (55 loc) · 2.21 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# .isort.cfg
# Python ‘import’ statement sorter (isort) configuration for this code base.
# Documentation: <URL:https://github.com/timothycrosley/isort/wiki/isort-Settings>.
[settings]
# Maximum length (columns) for a line of program code.
line_length = 79
# Number of blank lines to separate imports from following statements.
lines_after_imports = 2
# Filenames that ‘isort’ should not process.
skip =
# Names of sections that group import statements.
# The order in this sequence specifies the order the sections should appear.
sections =
FUTURE
STDLIB
FRAMEWORK
THIRDPARTY
FIRSTPARTY
LOCALFOLDER
# Name of section for any import statement of a package not known to ‘isort’.
default_section = THIRDPARTY
# Package names that are known for the ‘FRAMEWORK’ section.
known_framework =
# Package names that are known for the ‘THIRDPARTY’ section.
known_third_party =
# Package names that are known for the ‘FIRSTPARTY’ section.
known_first_party = dput
# Text for indentation of continuation lines.
indent = ' '
# The multi-line import statement style (integer code).
# See the ‘isort’ documentation for the meaning of each code.
multi_line_output = 3
# Sort imports by length (not alphanumeric)?
length_sort = false
# Add a trailing comma on the list of ‘from’ import names?
include_trailing_comma = true
# For continuation lines, wrap lines in parenthesis?
use_parentheses = true
# Sort ‘from … import’ statements before ‘import’ statements?
# This is not the ideal behaviour; see the issue reported at
# <URL:https://github.com/timothycrosley/isort/issues/609>.
from_first = false
# Force multiple names imported with ‘from’ to be separate statements?
force_single_line = false
# Force ‘from’ imports to be grid wrapped regardless of line length?
force_grid_wrap = true
# Format import statements as a visually-balanced grid?
balanced_wrapping = false
# Combine an ‘import … as …’ onto the same line?
combine_as_imports = true
# Local variables:
# coding: utf-8
# mode: conf
# End:
# vim: fileencoding=utf-8 filetype=dosini :