move .isort.cfg into pyproject.toml

pull/20/head
JensDiemer 2020-11-13 22:57:22 +01:00
rodzic 14cddd5762
commit b8c54f9490
2 zmienionych plików z 15 dodań i 23 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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"