Skip to content

Commit 23d54b8

Browse files
committed
Enforce check for unused arguments
1 parent 464afdc commit 23d54b8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

dbutils/persistent_db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def steady_connection(self):
201201
self._failures, self._ping, self._closeable,
202202
*self._args, **self._kwargs)
203203

204-
def connection(self, shareable=False):
204+
def connection(self, shareable=False): # noqa: ARG002
205205
"""Get a steady, persistent DB-API 2 connection.
206206
207207
The shareable parameter exists only for compatibility with the

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ select = [
5050
]
5151
# You can use `ruff rule ...` to see what these ignored rules check
5252
ignore = [
53-
"ARG002",
5453
"B007",
5554
"B904",
5655
"E722",

0 commit comments

Comments
 (0)