未验证 提交 b828557f 编写于 作者: N Nyakku Shigure 提交者: GitHub

[CodeStyle][F401] initial F401 config (#46507)

上级 ee203340
......@@ -16,7 +16,7 @@ ignore =
E701,E711,E712,E713,E714,E721,E722,E731,E741,
# F, see https://flake8.pycqa.org/en/latest/user/error-codes.html
F401,F402,F403,F405,
F402,F403,F405,
F522,F524,F541,
F601,F631,F632,
F811,F821,F841,
......@@ -28,3 +28,72 @@ per-file-ignores =
# These files need tabs for testing.
python/paddle/fluid/tests/unittests/dygraph_to_static/test_error.py:E101,W191
python/paddle/fluid/tests/unittests/collective/fleet/test_hdfs1.py:E101,W191
# Ignore unused imports in __init__.py
__init__.py: F401
# These files will be fixed later
r/*:F401
cmake/*:F401
paddle/*:F401
tools/*:F401
python/paddle/signal.py:F401
python/paddle/common_ops_import.py:F401
python/paddle/check_import_scipy.py:F401
python/paddle/fft.py:F401
python/paddle/_C_ops.py:F401
python/paddle/framework/*:F401
python/paddle/reader/*:F401
python/paddle/nn/*:F401
python/paddle/distributed/*:F401
python/paddle/proto/*:F401
python/paddle/onnx/*:F401
python/paddle/optimizer/*:F401
python/paddle/hapi/*:F401
python/paddle/autograd/*:F401
python/paddle/dataset/*:F401
python/paddle/io/*:F401
python/paddle/cost_model/*:F401
python/paddle/tests/*:F401
python/paddle/distribution/*:F401
python/paddle/geometric/*:F401
python/paddle/utils/*:F401
python/paddle/vision/*:F401
python/paddle/quantization/*:F401
python/paddle/libs/*:F401
python/paddle/audio/*:F401
python/paddle/incubate/*:F401
python/paddle/amp/*:F401
python/paddle/jit/*:F401
python/paddle/static/*:F401
python/paddle/inference/*:F401
python/paddle/device/*:F401
python/paddle/profiler/*:F401
python/paddle/tensor/*:F401
python/paddle/text/*:F401
python/paddle/metric/*:F401
python/paddle/fluid/tests/custom_kernel/*:F401
python/paddle/fluid/tests/custom_runtime/*:F401
python/paddle/fluid/tests/unittests/interpreter/*:F401
python/paddle/fluid/tests/unittests/asp/*:F401
python/paddle/fluid/tests/unittests/autograd/*:F401
python/paddle/fluid/tests/unittests/ir/*:F401
python/paddle/fluid/tests/unittests/collective/*:F401
python/paddle/fluid/tests/unittests/tokenizer/*:F401
python/paddle/fluid/tests/unittests/xpu/*:F401
python/paddle/fluid/tests/unittests/distribution/*:F401
python/paddle/fluid/tests/unittests/mlu/*:F401
python/paddle/fluid/tests/unittests/npu/*:F401
python/paddle/fluid/tests/unittests/ipu/*:F401
python/paddle/fluid/tests/unittests/distributed_passes/*:F401
python/paddle/fluid/tests/unittests/auto_parallel/*:F401
python/paddle/fluid/tests/unittests/dygraph_to_static/*:F401
python/paddle/fluid/tests/unittests/ps/*:F401
python/paddle/fluid/tests/unittests/fft/*:F401
python/paddle/fluid/tests/unittests/white_list/*:F401
python/paddle/fluid/tests/unittests/sequence/*:F401
python/paddle/fluid/tests/unittests/mkldnn/*:F401
python/paddle/fluid/tests/unittests/rnn/*:F401
python/paddle/fluid/tests/book/*:F401
python/paddle/fluid/tests/custom_op/*:F401
python/paddle/fluid/tests/unittests/test_*:F401
python/paddle/fluid/tests/test_*:F401
python/paddle/fluid/tests/*:F401
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册