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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
Built-in Profile for isort
========
The following profiles are built into isort to allow easy interoperability with
common projects and code styles.
To use any of the listed profiles, use `isort --profile PROFILE_NAME` from the command line, or `profile=PROFILE_NAME` in your configuration file.
#black
- **multi_line_output**: `3`
- **include_trailing_comma**: `True`
- **split_on_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
- **force_alphabetical_sort**: `True`
- **force_single_line**: `True`
- **lines_after_imports**: `2`
- **line_length**: `200`
#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
- **multi_line_output**: `3`
- **include_trailing_comma**: `True`
- **force_grid_wrap**: `0`
- **use_parentheses**: `True`
- **ensure_newline_before_comments**: `True`
- **line_length**: `88`
- **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'`
|