From b176ed6eee81876608a7fdb46949d793500712b5 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 25 Jul 2020 15:54:55 +0200 Subject: [PATCH] Run mypy and flake8 in CI --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 598aad5..c79c1c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,13 @@ matrix: allow_failures: - python: nightly include: + - python: 3.8 + install: + - 'pip install .[qa]' + script: + # Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong. + - 'flake8 --extend-ignore F401 parso test/*.py setup.py scripts/' + - mypy parso - python: 3.8.2 script: - 'pip install coverage'