diff --git a/.flake8 b/.flake8 index 9048c94e6a7..b0b5497bfef 100644 --- a/.flake8 +++ b/.flake8 @@ -1,4 +1,5 @@ [flake8] max-line-length = 120 -ignore = E203,E305,E402,E721,E741,F401,F403,F405,F821,F841,F999,W503,W504 +# C408 ignored because we like the dict keyword argument syntax +ignore = E203,E305,E402,E721,E741,F401,F403,F405,F821,F841,F999,W503,W504,C408 exclude = docs/src,venv,third_party,caffe2,scripts,docs/caffe2,tools/amd_build/pyHIPIFY,torch/lib/include,torch/lib/tmp_install,build,torch/include