flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude benchmark Excluding the benchmark directory (due to protobuf generated files) Also removing some Python2 specific code
On Unix platforms, environment variables such as CFLAGS, LDFLAGS are not honored if this is not called.