Skip to content

Commit

Permalink
Fixup: adhere to ruff formatting guidelines for docstring
Browse files Browse the repository at this point in the history
Relates-to commit 13fc0c7.
  • Loading branch information
jayaddison committed Jan 10, 2025
1 parent c4095a7 commit 29d1de4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_builders/test_build_html_copyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@

@pytest.fixture
def no_source_date_year(monkeypatch):
"""Explicitly clear SOURCE_DATE_EPOCH from the environment; this
"""
Explicitly clear SOURCE_DATE_EPOCH from the environment; this
fixture can be used to ensure that copyright substitution logic
does not occur during selected test cases."""
does not occur during selected test cases.
"""
with monkeypatch.context() as m:
m.delenv('SOURCE_DATE_EPOCH', raising=False)
yield
Expand Down

0 comments on commit 29d1de4

Please sign in to comment.