Skip to content

Commit 022a91f

Browse files
authored
Enable ruff's flake8-builtins (A) rules (#2882)
1 parent 7d98e66 commit 022a91f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
# General information about the project
139139
year = datetime.date.today().year
140140
project = "PyGMT"
141-
copyright = f"2017-{year}, The PyGMT Developers"
141+
copyright = f"2017-{year}, The PyGMT Developers" # noqa: A001
142142
if len(__version__.split("+")) > 1 or __version__ == "unknown":
143143
version = "dev"
144144
# Set base_url for stable version

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ line-ending = "lf" # Use UNIX `\n` line endings for all files
9999

100100
[tool.ruff.lint]
101101
select = [
102+
"A", # flake8-builtins
102103
"B", # flake8-bugbear
103104
"BLE", # flake8-blind-except
104105
"E", # pycodestyle

0 commit comments

Comments
 (0)