chore: move isort config to pyproject.toml
This commit is contained in:
parent
14beb885a3
commit
715144a92d
|
@ -1,3 +1,7 @@
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
combine_as_imports = true
|
||||||
|
|
||||||
[tool.pylint.messages_control]
|
[tool.pylint.messages_control]
|
||||||
extension-pkg-whitelist = "pydantic"
|
extension-pkg-whitelist = "pydantic"
|
||||||
disable = [
|
disable = [
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
combine_as_imports = true
|
||||||
|
|
||||||
[tool.pylint.messages_control]
|
[tool.pylint.messages_control]
|
||||||
extension-pkg-whitelist = "pydantic"
|
extension-pkg-whitelist = "pydantic"
|
||||||
disable = [
|
disable = [
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
combine_as_imports = true
|
||||||
|
|
||||||
[tool.pylint.master]
|
[tool.pylint.master]
|
||||||
load-plugins = "pylint_django"
|
load-plugins = "pylint_django"
|
||||||
django-settings-module = "libretime_api.settings.testing"
|
django-settings-module = "libretime_api.settings.testing"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
combine_as_imports = true
|
||||||
|
|
||||||
[tool.pylint.messages_control]
|
[tool.pylint.messages_control]
|
||||||
extension-pkg-whitelist = [
|
extension-pkg-whitelist = [
|
||||||
"lxml.etree",
|
"lxml.etree",
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
combine_as_imports = true
|
||||||
|
|
||||||
[tool.pylint.messages_control]
|
[tool.pylint.messages_control]
|
||||||
extension-pkg-whitelist = "pydantic"
|
extension-pkg-whitelist = "pydantic"
|
||||||
disable = [
|
disable = [
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
combine_as_imports = true
|
||||||
|
|
||||||
[tool.pylint.messages_control]
|
[tool.pylint.messages_control]
|
||||||
extension-pkg-whitelist = "pydantic"
|
extension-pkg-whitelist = "pydantic"
|
||||||
disable = [
|
disable = [
|
||||||
|
|
|
@ -34,12 +34,12 @@ install: $(VENV)
|
||||||
.PHONY: .format
|
.PHONY: .format
|
||||||
.format: $(VENV)
|
.format: $(VENV)
|
||||||
$(VENV)/bin/black .
|
$(VENV)/bin/black .
|
||||||
$(VENV)/bin/isort . --combine-as --profile black
|
$(VENV)/bin/isort .
|
||||||
|
|
||||||
.PHONY: .format-check
|
.PHONY: .format-check
|
||||||
.format-check: $(VENV)
|
.format-check: $(VENV)
|
||||||
$(VENV)/bin/black . --check
|
$(VENV)/bin/black . --check
|
||||||
$(VENV)/bin/isort . --combine-as --profile black --check
|
$(VENV)/bin/isort . --check
|
||||||
|
|
||||||
.PHONY: .pylint
|
.PHONY: .pylint
|
||||||
.pylint: $(VENV)
|
.pylint: $(VENV)
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
combine_as_imports = true
|
||||||
|
|
||||||
[tool.pylint.messages_control]
|
[tool.pylint.messages_control]
|
||||||
extension-pkg-whitelist = "pydantic"
|
extension-pkg-whitelist = "pydantic"
|
||||||
disable = [
|
disable = [
|
||||||
|
|
Loading…
Reference in New Issue