-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.isort.cfg
More file actions
39 lines (31 loc) · 986 Bytes
/
.isort.cfg
File metadata and controls
39 lines (31 loc) · 986 Bytes
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
[tool.isort]
# isort configuration for EcoFOCIpy
# Ensures consistent import sorting and formatting
profile = "black"
line_length = 88
multi_line_mode = 3 # Vertical Hanging Indent
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
split_on_comma = false
# Settings
skip = [".venv", "venv", ".eggs", "build", "dist", ".git"]
known_first_party = ["EcoFOCIpy"]
known_third_party = ["numpy", "pandas", "scipy", "matplotlib", "xarray", "netCDF4", "gsw"]
# Sections order:
# FUTURE, STDLIB, THIRDPARTY, FIRSTPARTY, LOCALFOLDER
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
# Quiet mode
quiet = false
verbose = false
# Default indent is 4 spaces (standard Python)
indent = 4
# Group by type
force_single_line = false
force_alphabetical_sort_within_sections = false
# Length sort
length_sort = false
length_sort_straight = false
# Add newline after imports
ensure_newline_before_comments = true