Skip to content
Open
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 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.21
rev: v0.16.0
hooks:
- id: ruff
args: [--fix]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_css.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

sys.path.insert(0, str(TOOLS_DIR))

import generate_css # noqa: E402
import generate_css


def test_artifact_is_up_to_date():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_icons.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ def test_icon_title_in_toctree(fmt, sphinx_builder):

# the resolved toctree, rendered inline in the referring page's body
wrapper = re.search(
r'<div class="toctree-wrapper compound">.*?</div>', index_html, re.S
r'<div class="toctree-wrapper compound">.*?</div>', index_html, re.DOTALL
)
assert wrapper, "resolved toctree not found in index.html"
region = wrapper.group(0)

entries = re.findall(r'<li class="toctree-l1">.*?</li>', region, re.S)
entries = re.findall(r'<li class="toctree-l1">.*?</li>', region, re.DOTALL)
assert len(entries) == 1, "expected exactly one toctree entry"
entry = entries[0]

Expand Down
2 changes: 1 addition & 1 deletion tools/check_css_equivalence.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

warnings.simplefilter("ignore") # tinycss2 deprecation chatter is not relevant here

import tinycss2 # noqa: E402
import tinycss2

# Enumerated intentional differences ------------------------------------------

Expand Down
Loading