File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ filename =
3
3
./docs/*.py,
4
4
./scripts/*.py,
5
5
./src/*.py,
6
- ./test /*.py,
6
+ ./tests /*.py,
7
7
./setup.py
8
8
max_line_length = 150
9
9
# Google docstring convention + D204 & D401
@@ -19,6 +19,7 @@ ignore =
19
19
D408
20
20
D409
21
21
D413
22
+ U101
22
23
ignore-decorators = _make_async_docs
23
24
per-file-ignores =
24
25
docs/*: D
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ class RetryableError(Exception):
120
120
class NonRetryableError (Exception ):
121
121
pass
122
122
123
- def returns_on_fifth_attempt (stop_retrying : Callable , attempt : int ) -> Any :
123
+ def returns_on_fifth_attempt (_stop_retrying : Callable , attempt : int ) -> Any :
124
124
nonlocal attempt_counter
125
125
attempt_counter += 1
126
126
@@ -168,7 +168,7 @@ class RetryableError(Exception):
168
168
class NonRetryableError (Exception ):
169
169
pass
170
170
171
- async def returns_on_fifth_attempt (stop_retrying : Callable , attempt : int ) -> Any :
171
+ async def returns_on_fifth_attempt (_stop_retrying : Callable , attempt : int ) -> Any :
172
172
nonlocal attempt_counter
173
173
attempt_counter += 1
174
174
You can’t perform that action at this time.
0 commit comments