Introduce flake8 configuration.

This is currently disabled due to the high number of errors that need fixing.
I'll be committing fixes for them and updating the numbers in .flake8 until we
can enable linting for all files by default.
This commit is contained in:
Lukasz Langa
2016-12-19 21:27:41 -08:00
parent a6ecab3fe7
commit d2c0f83a72
2 changed files with 57 additions and 0 deletions

View File

@@ -2,3 +2,6 @@
./tests/mypy_test.py
./tests/pytype_test.py
# FIXME: Enable when errors listed in `.flake8` are fixed in all stub files.
# find . -name "*.pyi" | xargs -s 1024 flake8 --builtins=StandardError,apply,basestring,buffer,cmp,coerce,execfile,file,intern,long,raw_input,reduce,reload,unichr,unicode,xrange