mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
Ignore flake8 warning about whitespace before ':' (#15663)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/15663 Ignore sometimes incorrect flake8 warning about whitespace before ':' See https://github.com/ambv/black/issues/315 Reviewed By: soumith Differential Revision: D13565818 fbshipit-source-id: 9d5ec2335899527ee71f4b505c00865a354e3bf0
This commit is contained in:
parent
f53010370b
commit
10c10b0990
2
.flake8
2
.flake8
|
|
@ -1,4 +1,4 @@
|
|||
[flake8]
|
||||
max-line-length = 120
|
||||
ignore = E305,E402,E721,E741,F401,F403,F405,F821,F841,F999,W503,W504
|
||||
ignore = E203,E305,E402,E721,E741,F401,F403,F405,F821,F841,F999,W503,W504
|
||||
exclude = docs/src,venv,third_party,caffe2,scripts,docs/caffe2,tools/amd_build/pyHIPIFY,torch/lib/include,torch/lib/tmp_install
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user