kopia lustrzana https://github.com/jedie/PyInventory
move .isort.cfg into pyproject.toml
rodzic
14cddd5762
commit
b8c54f9490
23
.isort.cfg
23
.isort.cfg
|
@ -1,23 +0,0 @@
|
|||
# Configuring isort
|
||||
# https://github.com/timothycrosley/isort/wiki/isort-Settings
|
||||
|
||||
[settings]
|
||||
atomic=true
|
||||
line_length=120
|
||||
case_sensitive=false
|
||||
|
||||
skip_glob=*/migrations/*,*/volumes/*
|
||||
|
||||
# https://github.com/timothycrosley/isort#multi-line-output-modes
|
||||
# 3 - Vertical Hanging Indent
|
||||
multi_line_output=3
|
||||
include_trailing_comma=true
|
||||
|
||||
known_first_party=inventory,inventory_project,inventory_tests
|
||||
|
||||
no_lines_before=LOCALFOLDER
|
||||
|
||||
default_section=THIRDPARTY
|
||||
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
|
||||
|
||||
lines_after_imports=2
|
|
@ -95,6 +95,21 @@ max_line_length = 120
|
|||
exclude = "*/migrations/*"
|
||||
|
||||
|
||||
[tool.isort]
|
||||
# https://pycqa.github.io/isort/docs/configuration/config_files/#pyprojecttoml-preferred-format
|
||||
atomic=true
|
||||
line_length=120
|
||||
case_sensitive=false
|
||||
skip_glob=["*/migrations/*","*/volumes/*"]
|
||||
multi_line_output=3
|
||||
include_trailing_comma=true
|
||||
known_first_party=["inventory","inventory_project","inventory_tests"]
|
||||
no_lines_before="LOCALFOLDER"
|
||||
default_section="THIRDPARTY"
|
||||
sections=["FUTURE","STDLIB","THIRDPARTY","FIRSTPARTY","LOCALFOLDER"]
|
||||
lines_after_imports=2
|
||||
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
# https://docs.pytest.org/en/latest/customize.html#pyproject-toml
|
||||
minversion = "6.0"
|
||||
|
|
Ładowanie…
Reference in New Issue