File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ repos:
105105 )$
106106
107107 - repo : https://github.com/PyCQA/flake8
108- rev : 4 .0.1
108+ rev : 6 .0.0
109109 hooks :
110110 - id : flake8
111111 name : Check PEP8
Original file line number Diff line number Diff line change @@ -45,14 +45,6 @@ exclude_lines =
4545 pass
4646 rank_zero_warn
4747 raise NotImplementedError
48- # TODO: figure out how to get codecov to pick up the test results on these backends
49- # The actual coverage for each is 90%+
50- # *metrics (94%+) are temporarily removed from testing while tests speed up
51- omit =
52- pytorch_lightning/cluster_environments/*.py
53- pytorch_lightning/utilities/distributed.py
54- pytorch_lightning/tuner/auto_gpu_select.py
55- pytorch_lightning/distributed/dist.py
5648
5749
5850[flake8]
@@ -72,6 +64,9 @@ verbose = 2
7264# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
7365format = pylint
7466ignore =
75- E731 # Ignore "Do not assign a lambda expression, use a def"
76- W503 # Ignore "Line break occurred before a binary operator"
77- E203 # Ignore "whitespace before ':'"
67+ # Ignore "Do not assign a lambda expression, use a def"
68+ E731
69+ # Ignore "Line break occurred before a binary operator"
70+ W503
71+ # Ignore "whitespace before ':'"
72+ E203
You can’t perform that action at this time.
0 commit comments