Files
picard/.isort.cfg
Philipp Wolfer 8c219d16a5 Enable flake8 E402: Module level import not at top of file
This also removes some exceptions for isort which are not really necessary.
2020-05-13 17:04:11 +02:00

29 lines
806 B
INI

# Configuration for isort tool
# https://github.com/timothycrosley/isort
#
# Possible settings are listed at https://github.com/timothycrosley/isort/wiki/isort-Settings
#
# It can easily be installed using `pip install isort`
#
[settings]
combine_as_imports=True
default_section=LOCALFOLDER
force_grid_wrap=True
force_sort_within_sections=True
include_trailing_comma=True
indent=' '
known_picard=picard
known_picard_ui=picard.ui
known_qt=PyQt5
known_resources=picard.resources
known_test=test.*
known_third_party=mutagen
multi_line_output=3
order_by_type=True
sections=FUTURE,STDLIB,THIRDPARTY,QT,TEST,PICARD,LOCALFOLDER,RESOURCES,PICARD_UI
skip_glob=**/ui_*.py
skip=./tagger.py,picard/resources.py,scripts/picard.in,picard/const/__init__.py
not_skip=__init__.py
use_parentheses=1
lines_after_imports=2