Skip to content

Commit

Permalink
chore(pre-commit): bump linter versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein committed Mar 31, 2023
1 parent d2f5cad commit b27e3ed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ repos:
- id: black
language_version: python3
repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.3.0
- hooks:
- id: flake8
language_version: python3
repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
1 change: 0 additions & 1 deletion pydrive2/fs/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,6 @@ def cp_file(self, lpath, rpath, **kwargs):

@_gdrive_retry
def mv(self, path1, path2, maxdepth=None, **kwargs):

if maxdepth is not None:
raise NotImplementedError("Max depth move is not supported")

Expand Down
1 change: 0 additions & 1 deletion pydrive2/test/test_fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ def read_random_file(name):
return stream.read()

with futures.ThreadPoolExecutor() as executor:

write_futures, _ = futures.wait(
[executor.submit(create_random_file) for _ in range(64)],
return_when=futures.ALL_COMPLETED,
Expand Down
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ commands =

[flake8]
ignore =
E203, # Whitespace before ':'
E266, # Too many leading '#' for block comment
W503, # Line break occurred before a binary operator
# Whitespace before ':'
E203,
# Too many leading '#' for block comment
E266,
# Line break occurred before a binary operator
W503
max-line-length = 89
select = B,C,E,F,W,T4,B9

0 comments on commit b27e3ed

Please sign in to comment.