X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/isort
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
isort
/
ðŸ“
..
📄
__init__.py
(871 B)
📄
__main__.py
(36 B)
ðŸ“
__pycache__
ðŸ“
_vendored
📄
_version.py
(72 B)
📄
api.py
(25.51 KB)
📄
comments.py
(933 B)
📄
core.py
(22 KB)
ðŸ“
deprecated
📄
exceptions.py
(6.89 KB)
📄
files.py
(1.55 KB)
📄
format.py
(5.35 KB)
📄
hooks.py
(3.26 KB)
📄
identify.py
(8.18 KB)
📄
io.py
(2.16 KB)
📄
literal.py
(3.63 KB)
📄
logo.py
(388 B)
📄
main.py
(45.73 KB)
📄
output.py
(27.15 KB)
📄
parse.py
(24.74 KB)
📄
place.py
(5.05 KB)
📄
profiles.py
(2.09 KB)
📄
py.typed
(0 B)
📄
pylama_isort.py
(1.28 KB)
📄
sections.py
(297 B)
📄
settings.py
(34.75 KB)
📄
setuptools_commands.py
(2.24 KB)
📄
sorting.py
(4.41 KB)
ðŸ“
stdlibs
📄
utils.py
(2.36 KB)
📄
wrap.py
(6.17 KB)
📄
wrap_modes.py
(13.25 KB)
Editing: profiles.py
"""Common profiles are defined here to be easily used within a project using --profile {name}""" from typing import Any, Dict black = { "multi_line_output": 3, "include_trailing_comma": True, "force_grid_wrap": 0, "use_parentheses": True, "ensure_newline_before_comments": True, "line_length": 88, } django = { "combine_as_imports": True, "include_trailing_comma": True, "multi_line_output": 5, "line_length": 79, } pycharm = { "multi_line_output": 3, "force_grid_wrap": 2, "lines_after_imports": 2, } google = { "force_single_line": True, "force_sort_within_sections": True, "lexicographical": True, "single_line_exclusions": ("typing",), "order_by_type": False, "group_by_package": True, } open_stack = { "force_single_line": True, "force_sort_within_sections": True, "lexicographical": True, } plone = black.copy() plone.update( { "force_alphabetical_sort": True, "force_single_line": True, "lines_after_imports": 2, } ) attrs = { "atomic": True, "force_grid_wrap": 0, "include_trailing_comma": True, "lines_after_imports": 2, "lines_between_types": 1, "multi_line_output": 3, "use_parentheses": True, } hug = { "multi_line_output": 3, "include_trailing_comma": True, "force_grid_wrap": 0, "use_parentheses": True, "line_length": 100, } wemake = { "multi_line_output": 3, "include_trailing_comma": True, "use_parentheses": True, "line_length": 80, } appnexus = { **black, "force_sort_within_sections": True, "order_by_type": False, "case_sensitive": False, "reverse_relative": True, "sort_relative_in_force_sorted_sections": True, "sections": ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "APPLICATION", "LOCALFOLDER"], "no_lines_before": "LOCALFOLDER", } profiles: Dict[str, Dict[str, Any]] = { "black": black, "django": django, "pycharm": pycharm, "google": google, "open_stack": open_stack, "plone": plone, "attrs": attrs, "hug": hug, "wemake": wemake, "appnexus": appnexus, }
Upload File
Create Folder