Follow E231 [flake8] (#6110)
* Remove E231 from ignore list * Follow E231 * Update pytorch_lightning/trainer/data_loading.py
This commit is contained in:
parent
d02fe342c1
commit
ac60536818
|
@ -41,7 +41,7 @@ class TrainerDataLoadingMixin(ABC):
|
|||
tpu_local_core_rank: int
|
||||
train_dataloader: DataLoader
|
||||
num_training_batches: Union[int, float]
|
||||
val_check_batch:...
|
||||
val_check_batch: float
|
||||
val_dataloaders: List[DataLoader]
|
||||
num_val_batches: List[Union[int, float]]
|
||||
test_dataloaders: List[DataLoader]
|
||||
|
|
|
@ -64,10 +64,8 @@ verbose = 2
|
|||
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
|
||||
format = pylint
|
||||
ignore =
|
||||
E731 # do not assign a lambda expression, use a def
|
||||
W503 # line break before binary operator
|
||||
# because of YAPF - till https://github.com/google/yapf/issues/897 is resolved
|
||||
E231 # missing whitespace after ',', ';', or ':'; for black
|
||||
E731 # Ignore "Do not assign a lambda expression, use a def"
|
||||
W503 # Ignore "Line break occurred before a binary operator"
|
||||
|
||||
|
||||
# setup.cfg or tox.ini
|
||||
|
|
Loading…
Reference in New Issue