[flake8] ignore = E111,E114,E501,E261,E266,E121,E402,E241,W504,E741 exclude = ./third_party/, # third-party code ./tools/filelock.py, # third-party code ./tools/scons/, # third-party code ./tests/third_party/, # third-party code ./site/source/conf.py, ./tools/debug/, ./tools/ffdb.py, ./system/lib/, # system libraries ./cache/, # download/built content .git # The ports plugins have a lot of unused imports becuase # they need to implement the specific plugin APIs per-file-ignores = ./tools/ports/*.py: U100 ./tests/*.py: U100 ./tools/toolchain_profiler.py: U100