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]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
[tool.isort]
|
||||
profile = "black"
|
||||
combine_as_imports = true
|
||||
|
||||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
[tool.isort]
|
||||
profile = "black"
|
||||
combine_as_imports = true
|
||||
|
||||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = [
|
||||
"lxml.etree",
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
[tool.isort]
|
||||
profile = "black"
|
||||
combine_as_imports = true
|
||||
|
||||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
[tool.isort]
|
||||
profile = "black"
|
||||
combine_as_imports = true
|
||||
|
||||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
[tool.isort]
|
||||
profile = "black"
|
||||
combine_as_imports = true
|
||||
|
||||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
|
|
Loading…
Reference in New Issue