Skip to content

Commit b27e3ed

Browse files
committed
chore(pre-commit): bump linter versions
1 parent d2f5cad commit b27e3ed

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ repos:
33
- id: black
44
language_version: python3
55
repo: https://github.com/psf/black
6-
rev: 22.12.0
6+
rev: 23.3.0
77
- hooks:
88
- id: flake8
99
language_version: python3
1010
repo: https://github.com/PyCQA/flake8
11-
rev: 5.0.4
11+
rev: 6.0.0

pydrive2/fs/spec.py

-1
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,6 @@ def cp_file(self, lpath, rpath, **kwargs):
545545

546546
@_gdrive_retry
547547
def mv(self, path1, path2, maxdepth=None, **kwargs):
548-
549548
if maxdepth is not None:
550549
raise NotImplementedError("Max depth move is not supported")
551550

pydrive2/test/test_fs.py

-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ def read_random_file(name):
203203
return stream.read()
204204

205205
with futures.ThreadPoolExecutor() as executor:
206-
207206
write_futures, _ = futures.wait(
208207
[executor.submit(create_random_file) for _ in range(64)],
209208
return_when=futures.ALL_COMPLETED,

tox.ini

+6-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ commands =
1515

1616
[flake8]
1717
ignore =
18-
E203, # Whitespace before ':'
19-
E266, # Too many leading '#' for block comment
20-
W503, # Line break occurred before a binary operator
18+
# Whitespace before ':'
19+
E203,
20+
# Too many leading '#' for block comment
21+
E266,
22+
# Line break occurred before a binary operator
23+
W503
2124
max-line-length = 89
2225
select = B,C,E,F,W,T4,B9

0 commit comments

Comments
 (0)