Skip to content

Commit 59bddc0

Browse files
committed
STY: Lint docs/conf.py, remove explicit end copyright year
1 parent 94dada4 commit 59bddc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
import os
1414
import sys
15-
from datetime import datetime
1615

1716
from packaging import version as pver # Avoid distutils.LooseVersion which is deprecated
1817
from sphinx import __version__ as sphinxversion
@@ -86,7 +85,7 @@
8685
# General information about the project.
8786
project = 'fmriprep'
8887
author = 'The fMRIPrep developers'
89-
copyright = f'2016-{datetime.now().year}, {author}'
88+
copyright = f'2016-, {author}'
9089

9190
# The version info for the project you're documenting, acts as replacement for
9291
# |version| and |release|, also used in various other places throughout the

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ inline-quotes = "single"
181181
[tool.ruff.extend-per-file-ignores]
182182
"*/test_*.py" = ["S101"]
183183
"fmriprep/utils/debug.py" = ["A002", "T100"]
184+
"docs/conf.py" = ["A001"]
184185

185186
[tool.ruff.format]
186187
quote-style = "single"

0 commit comments

Comments
 (0)