Skip to content

Commit 63cc341

Browse files
committed
Updates for flake8 3.7
1 parent 50d31f9 commit 63cc341

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,25 @@ repos:
1111
- id: debug-statements
1212
- id: name-tests-test
1313
- id: requirements-txt-fixer
14+
- repo: https://gitlab.com/pycqa/flake8
15+
rev: 3.7.1
16+
hooks:
1417
- id: flake8
1518
- repo: https://github.com/pre-commit/mirrors-autopep8
1619
rev: v1.4.3
1720
hooks:
1821
- id: autopep8
1922
- repo: https://github.com/pre-commit/pre-commit
20-
rev: v1.13.0
23+
rev: v1.14.2
2124
hooks:
2225
- id: validate_manifest
2326
- repo: https://github.com/asottile/reorder_python_imports
24-
rev: v1.3.4
27+
rev: v1.3.5
2528
hooks:
2629
- id: reorder-python-imports
2730
language_version: python2.7
2831
- repo: https://github.com/asottile/pyupgrade
29-
rev: v1.11.0
32+
rev: v1.11.1
3033
hooks:
3134
- id: pyupgrade
3235
- repo: https://github.com/asottile/add-trailing-comma

pre_commit_hooks/pretty_format_json.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def parse_num_to_int(s):
4242

4343

4444
def parse_topkeys(s):
45-
# type: (str) -> array
4645
return s.split(',')
4746

4847

0 commit comments

Comments
 (0)