update .travis.yml to check all *.py files and
expand the list of initially silenced pylint issues.
(issue
@@ -26,17 +26,9 @@ install:
- "pip install git+https://github.com/googlei18n/glyphsLib.git"
script:
- export WONT_FIX=invalid-name,bad-indentation
- - export MAYBE_SOMEDAY=fixme,missing-docstring,too-many-locals,too-many-branches,too-many-statements,bad-continuation,unidiomatic-typecheck,logging-format-interpolation,too-many-nested-blocks,superfluous-parens,bare-except,undefined-loop-variable,too-many-instance-attributes,old-style-class,unnecessary-pass,unused-argument,consider-iterating-dictionary,attribute-defined-outside-init,too-many-boolean-expressions,too-many-arguments,wrong-import-order,bad-whitespace,pointless-string-statement,pointless-statement,redefined-builtin,global-statement,too-many-lines,global-variable-undefined,redefined-variable-type,multiple-statements,expression-not-assigned,too-many-format-args,deprecated-lambda,broad-except,no-self-use,no-name-in-module
+ - export MAYBE_SOMEDAY=fixme,missing-docstring,too-many-locals,too-many-branches,too-many-statements,bad-continuation,unidiomatic-typecheck,logging-format-interpolation,too-many-nested-blocks,superfluous-parens,bare-except,undefined-loop-variable,too-many-instance-attributes,old-style-class,unnecessary-pass,unused-argument,consider-iterating-dictionary,attribute-defined-outside-init,too-many-boolean-expressions,too-many-arguments,wrong-import-order,bad-whitespace,pointless-string-statement,pointless-statement,redefined-builtin,global-statement,too-many-lines,global-variable-undefined,redefined-variable-type,multiple-statements,expression-not-assigned,too-many-format-args,deprecated-lambda,broad-except,no-self-use,no-name-in-module,unused-import,abstract-method,no-member,line-too-long,trailing-newlines,duplicate-code,redefined-outer-name,trailing-whitespace,unused-variable,logging-not-lazy,undefined-variable,protected-access,anomalous-backslash-in-string,wrong-import-position,ungrouped-imports,singleton-comparison,reimported,misplaced-comparison-constant,consider-using-enumerate,used-before-assignment,too-few-public-methods,multiple-imports,dangerous-default-value
- export PYLINT="pylint --disable=$WONT_FIX,$MAYBE_SOMEDAY"
- - $PYLINT fontbakery-check-ttf.py
- - $PYLINT fontbakery-check-description.py
- - $PYLINT fontbakery-check-upstream.py
- - $PYLINT fbchecklogger.py
- - $PYLINT utils.py
- - $PYLINT constants.py
- - $PYLINT checks.py
- - $PYLINT upstreamdirectory.py
- - $PYLINT pifont.py
+ - $PYLINT *.py
- python fontbakery-check-ttf.py data/test/cousine/*.ttf --ghm --json
- python fontbakery-check-ttf.py data/test/mada/*.ttf --ghm --json
- python fontbakery-check-ttf.py data/test/merriweather/*.ttf --ghm --json
