PHP 8.2.30
Preview: profiles.py Size: 2.09 KB
/opt/cloudlinux/venv/lib/python3.11/site-packages/isort/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,
}

Directory Contents

Dirs: 4 × Files: 28

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
stdlibs DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
_vendored DIR
- drwxr-xr-x 2026-01-20 13:01:48
Edit Download
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
25.51 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
933 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
22.00 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
6.89 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.55 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
5.35 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
3.26 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
8.18 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.16 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
3.63 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
388 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
45.73 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
27.15 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
24.74 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
5.05 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.09 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
0 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.28 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
297 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
34.75 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.24 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
4.41 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.36 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
6.17 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
13.25 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
72 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
871 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
36 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).