Enable LOG in flake8 and ruff
This commit is contained in:
parent
5c62c9919c
commit
d55e72e04d
3 changed files with 20 additions and 0 deletions
|
|
@ -205,6 +205,7 @@ def lint_code(session: nox.Session) -> None:
|
|||
"flake8-errmsg",
|
||||
"flake8-executable",
|
||||
"flake8-implicit-str-concat",
|
||||
"flake8-logging",
|
||||
"flake8-pyproject",
|
||||
"flake8-pytest-style",
|
||||
"flake8-quotes",
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ dev = [
|
|||
"flake8-errmsg (>=0.7.0,<0.8.0)",
|
||||
"flake8-executable (>=2.1.3,<3.0.0)",
|
||||
"flake8-implicit-str-concat (>=0.7.0,<0.8.0)",
|
||||
"flake8-logging (>=1.8.0,<2.0.0)",
|
||||
"flake8-pyproject (>=1.2.4,<2.0.0)",
|
||||
"flake8-pytest-style (>=2.2.0,<3.0.0)",
|
||||
"flake8-quotes (>=3.4.0,<4.0.0)",
|
||||
|
|
@ -235,6 +236,8 @@ select = [
|
|||
"EXE",
|
||||
# flake8-implicit-str-concat => Unified string concatenation
|
||||
"ISC",
|
||||
# flake8-logging => Correct use of `logging`
|
||||
"LOG",
|
||||
# flake8-pytest-style => Enforce a consistent style with pytest
|
||||
"PT0",
|
||||
# flake8-quotes => Use double quotes everywhere (complying with black)
|
||||
|
|
@ -535,6 +538,8 @@ select = [
|
|||
"FBT",
|
||||
# flake8-implicit-str-concat => Unified string concatenation
|
||||
"ISC",
|
||||
# flake8-logging => Correct use of `logging`
|
||||
"LOG",
|
||||
# pep8-naming => PEP8 naming conventions
|
||||
"N",
|
||||
# pandas-vet => Idiomatic `pandas`
|
||||
|
|
|
|||
14
uv.lock
generated
14
uv.lock
generated
|
|
@ -1051,6 +1051,18 @@ wheels = [
|
|||
{ url = "https://files.pythonhosted.org/packages/f8/3a/f4906c442afbfea281d7e03322c1761670dca950a4ef4abf1cab218fbc96/flake8_implicit_str_concat-0.7.0-py3-none-any.whl", hash = "sha256:fdabd6c6a314678364053b4a8682495692a43c22f229358e801f711999340d8b", size = 5998, upload-time = "2026-07-24T12:15:16.906Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "flake8-logging"
|
||||
version = "1.8.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "flake8" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/46/f0/572bd165c171c7a9ac1f82354c11edd09d0b86f35fa914b6db8cf64cce4f/flake8_logging-1.8.0.tar.gz", hash = "sha256:765046763d44d1dc051071c047fe0fa056d71a524505207c3fbdc47532e7d8af", size = 16754, upload-time = "2025-09-08T23:44:44.832Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/7d/a3/0192ec49e7fe062130d545f4f6188142ca448b9b63a2622a4ba8ce7e728d/flake8_logging-1.8.0-py3-none-any.whl", hash = "sha256:bb3fcf0fb2b4f35d7ebb0c1dc02af16db00c7c858c5a018370172e939dd6f225", size = 11114, upload-time = "2025-09-08T23:44:43.32Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "flake8-plugin-utils"
|
||||
version = "1.3.3"
|
||||
|
|
@ -3883,6 +3895,7 @@ dev = [
|
|||
{ name = "flake8-errmsg" },
|
||||
{ name = "flake8-executable" },
|
||||
{ name = "flake8-implicit-str-concat" },
|
||||
{ name = "flake8-logging" },
|
||||
{ name = "flake8-pyproject" },
|
||||
{ name = "flake8-pytest-style" },
|
||||
{ name = "flake8-quotes" },
|
||||
|
|
@ -3957,6 +3970,7 @@ dev = [
|
|||
{ name = "flake8-errmsg", specifier = ">=0.7.0,<0.8.0" },
|
||||
{ name = "flake8-executable", specifier = ">=2.1.3,<3.0.0" },
|
||||
{ name = "flake8-implicit-str-concat", specifier = ">=0.7.0,<0.8.0" },
|
||||
{ name = "flake8-logging", specifier = ">=1.8.0,<2.0.0" },
|
||||
{ name = "flake8-pyproject", specifier = ">=1.2.4,<2.0.0" },
|
||||
{ name = "flake8-pytest-style", specifier = ">=2.2.0,<3.0.0" },
|
||||
{ name = "flake8-quotes", specifier = ">=3.4.0,<4.0.0" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue