From 4b459d8853d089e5d4bb661c0b221cdf032ffdb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sat, 16 May 2020 19:25:42 +0100 Subject: Move pre-commit checks from Travis CI to a GitHub Action. This replaces the need for optional execution within the Travis CI configuration, and updates Mergify to wait on both checks. Also remove flake8 from pytest on 3.8 since flake8 is already executed in pre-commit. --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index f2f652c..8756a8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ matrix: include: - python: 3.7 - python: 3.8 - env: PRE_COMMIT=true PYTEST_OPTIONS="--mypy --flake8" + env: PYTEST_OPTIONS="--mypy" - python: 3.9-dev install: @@ -24,4 +24,3 @@ addons: script: - pytest $PYTEST_OPTIONS - - if [[ $PRE_COMMIT ]]; then pre-commit run --all-files; fi -- cgit v1.2.3