chore: make linters config consistent in pyproject.toml
- remove mypy config from makefile
This commit is contained in:
parent
7988b7467b
commit
9de82bb568
|
@ -1,3 +1,11 @@
|
|||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
"missing-class-docstring",
|
||||
"missing-function-docstring",
|
||||
"missing-module-docstring",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
"missing-class-docstring",
|
||||
"missing-function-docstring",
|
||||
"missing-module-docstring",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
"missing-class-docstring",
|
||||
"missing-function-docstring",
|
||||
"missing-module-docstring",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[MESSAGES CONTROL]
|
||||
disable=missing-module-docstring,
|
||||
missing-class-docstring,
|
||||
missing-function-docstring,
|
|
@ -1,3 +1,11 @@
|
|||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
"missing-class-docstring",
|
||||
"missing-function-docstring",
|
||||
"missing-module-docstring",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[MESSAGES CONTROL]
|
||||
extension-pkg-whitelist = pydantic
|
||||
disable=missing-module-docstring,
|
||||
missing-class-docstring,
|
||||
missing-function-docstring,
|
|
@ -4,10 +4,7 @@ include ../tools/python.mk
|
|||
|
||||
PIP_INSTALL = --editable .[dev]
|
||||
PYLINT_ARG = libretime_shared tests || true
|
||||
MYPY_ARG = --disallow-untyped-calls \
|
||||
--disallow-untyped-defs \
|
||||
--disallow-incomplete-defs \
|
||||
libretime_shared || true
|
||||
MYPY_ARG = libretime_shared || true
|
||||
PYTEST_ARG = --cov=libretime_shared tests
|
||||
|
||||
format: .format
|
||||
|
|
|
@ -1,3 +1,17 @@
|
|||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
"missing-class-docstring",
|
||||
"missing-function-docstring",
|
||||
"missing-module-docstring",
|
||||
]
|
||||
|
||||
[tool.mypy]
|
||||
allow_redefinition = true
|
||||
disallow_incomplete_defs= true
|
||||
disallow_untyped_calls= true
|
||||
disallow_untyped_defs= true
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[MESSAGES CONTROL]
|
||||
disable=missing-module-docstring,
|
||||
missing-function-docstring
|
|
@ -1,3 +1,17 @@
|
|||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
"missing-class-docstring",
|
||||
"missing-function-docstring",
|
||||
"missing-module-docstring",
|
||||
]
|
||||
|
||||
[tool.mypy]
|
||||
allow_redefinition = true
|
||||
disallow_incomplete_defs= true
|
||||
disallow_untyped_calls= true
|
||||
disallow_untyped_defs= true
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
[tool.pylint.messages_control]
|
||||
extension-pkg-whitelist = "pydantic"
|
||||
disable = [
|
||||
"missing-class-docstring",
|
||||
"missing-function-docstring",
|
||||
"missing-module-docstring",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
Loading…
Reference in New Issue