chore: move isort config to pyproject.toml

This commit is contained in:
jo 2022-12-07 12:57:39 +01:00 committed by Kyle Robbertze
parent 14beb885a3
commit 715144a92d
8 changed files with 30 additions and 2 deletions

View File

@ -1,3 +1,7 @@
[tool.isort]
profile = "black"
combine_as_imports = true
[tool.pylint.messages_control]
extension-pkg-whitelist = "pydantic"
disable = [

View File

@ -1,3 +1,7 @@
[tool.isort]
profile = "black"
combine_as_imports = true
[tool.pylint.messages_control]
extension-pkg-whitelist = "pydantic"
disable = [

View File

@ -1,3 +1,7 @@
[tool.isort]
profile = "black"
combine_as_imports = true
[tool.pylint.master]
load-plugins = "pylint_django"
django-settings-module = "libretime_api.settings.testing"

View File

@ -1,3 +1,7 @@
[tool.isort]
profile = "black"
combine_as_imports = true
[tool.pylint.messages_control]
extension-pkg-whitelist = [
"lxml.etree",

View File

@ -1,3 +1,7 @@
[tool.isort]
profile = "black"
combine_as_imports = true
[tool.pylint.messages_control]
extension-pkg-whitelist = "pydantic"
disable = [

View File

@ -1,3 +1,7 @@
[tool.isort]
profile = "black"
combine_as_imports = true
[tool.pylint.messages_control]
extension-pkg-whitelist = "pydantic"
disable = [

View File

@ -34,12 +34,12 @@ install: $(VENV)
.PHONY: .format
.format: $(VENV)
$(VENV)/bin/black .
$(VENV)/bin/isort . --combine-as --profile black
$(VENV)/bin/isort .
.PHONY: .format-check
.format-check: $(VENV)
$(VENV)/bin/black . --check
$(VENV)/bin/isort . --combine-as --profile black --check
$(VENV)/bin/isort . --check
.PHONY: .pylint
.pylint: $(VENV)

View File

@ -1,3 +1,7 @@
[tool.isort]
profile = "black"
combine_as_imports = true
[tool.pylint.messages_control]
extension-pkg-whitelist = "pydantic"
disable = [