Skip to content

Commit 19e182a

Browse files
tisnikasimurka
authored andcommitted
LCORE-3252: Fixed nits
1 parent db7d0b7 commit 19e182a

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ extend-exclude = ["tests/profiles/syntax_error.py"]
248248

249249
[tool.ruff.lint]
250250
extend-select = ["TID251", "UP006", "UP007", "UP010", "UP017", "UP035", "RUF100", "B009", "B010", "DTZ005", "D202", "I001", "PLR1733"]
251-
251+
ignore = ["UP040", "UP047", "UP045", "BLE", "S", "C", "RUF", "SIM", "B017", "TRY004", "TRY201", "TRY203", "TRY401", "UP008", "UP012", "UP024", "UP041", "B008", "EXE001", "FURB129", "G201", "ISC004", "LOG014", "PERF402", "PIE790", "PLW1510", "PYI034", "PYI064", "RET501", "TC004"]
252252

253253
[tool.ruff.lint.flake8-tidy-imports.banned-api]
254254
unittest = { msg = "use pytest instead of unittest" }

scripts/gen_doc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ def generate_documentation_on_path(path: Path) -> None:
6767
----------
6868
path (str or os.PathLike): Directory in which to generate the README.md file.
6969
"""
70-
directory = path
71-
7270
# directory can be skipped if it's part of DIRS_TO_SKIP global list.
7371
if path.as_posix() in DIRS_TO_SKIP:
7472
print(f"[gendoc] Skipping {path}")

scripts/vulnerability_report.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@
4040
from statistics import median
4141
from typing import Any
4242

43-
from dateutil import parser
44-
4543
import matplotlib.pyplot as plt
44+
from dateutil import parser
4645
from matplotlib.figure import Figure
4746

4847
type DependabotAlert = dict[str, Any]

0 commit comments

Comments
 (0)