From b85792f8e214384b9e77e6b72675829e82f50732 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 30 Nov 2016 15:57:53 -0600 Subject: [PATCH] Enable running Flake8 during CI --- .gitlab-ci.yml | 9 +++++++++ setup.cfg | 1 + 2 files changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bb15d7c9f..eeb510f2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,3 +100,12 @@ Documentation: - python3.5 only: - master + +Flake8: + script: + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-flake8.sh + - ". ./prepare-and-run-flake8.sh loopy test" + tags: + - python3.5 + except: + - tags diff --git a/setup.cfg b/setup.cfg index d34ecdd6d..2a5739293 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,4 @@ [flake8] ignore = E126,E127,E128,E123,E226,E241,E242,E265,N802,W503,E402 max-line-length=85 +exclude=loopy/target/c/compyte/ndarray -- GitLab