Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# renovate: datasource=pypi depName=bandit
BANDIT_VERSION: "1.9.4"
# renovate: datasource=pypi depName=ruff
RUFF_VERSION: "0.15.7"
RUFF_VERSION: "0.15.15"

runs-on: ${{ matrix.os }}
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ repos:
- id: detect-private-key
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.15.7
rev: v0.15.15
hooks:
# Run the linter.
- id: ruff-check
Expand Down
2 changes: 1 addition & 1 deletion man/build_topics.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def build_topics(ext):
topicsfile.write(headertopics_tmpl)

for key, values in sorted(keywords.items(), key=lambda s: s[0].lower()):
with Path(man_dir, f"topic_%s.{ext}" % key.replace(" ", "_")).open(
with Path(man_dir, f"topic_{key.replace(' ', '_')}.{ext}").open(
"w"
) as keyfile:
if ext == "html":
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ ignore = [
"PLW0602", # global-variable-not-assigned
"PLW0603", # global-statement
"PLW0604", # global-at-module-level
"PLW0717", # too-many-statements-in-try-clause
"PLW1508", # invalid-envvar-default
"PLW1510", # subprocess-run-without-check
"PLW1641", # eq-without-hash
Expand All @@ -282,6 +283,7 @@ ignore = [
"RUF012", # mutable-class-default
"RUF015", # unnecessary-iterable-allocation-for-first-element
"RUF019", # unnecessary-key-check
"RUF050", # unnecessary-if
"RUF059", # unused-unpacked-variable
"RUF067", # non-empty-init-module
"RUF100", # unused-noqa
Expand Down
Loading