From 82e3aa5464c4665d686432684237e0fe3df8e022 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 14 Sep 2019 20:49:13 +0200 Subject: [PATCH] ci: minor cleanup (#161) * ci: Travis: remove unnecessary option with black Already in config, adding a final newline there. * .travis.yml: minor cleanup --- .travis.yml | 9 +++------ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 795cae6..6040389 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,7 @@ jobs: include: - name: Run plugin test suite with python 3.7 python: 3.7 - script: | - set -e - pytest + script: 'pytest' - name: Typecheck Django test suite with python 3.7 python: 3.7 @@ -24,7 +22,7 @@ jobs: - name: Lint with black python: 3.7 - script: 'black --check --line-length=120 django-stubs/' + script: 'black --check django-stubs/' - name: Lint plugin code with flake8 python: 3.7 @@ -35,7 +33,6 @@ jobs: script: 'isort --check' before_install: | - # Upgrade pip, setuptools, and wheel pip install -U pip setuptools wheel install: | - pip install -r ./dev-requirements.txt \ No newline at end of file + pip install -r ./dev-requirements.txt diff --git a/pyproject.toml b/pyproject.toml index f1895d9..844e075 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [tool.black] line-length = 120 -include = 'django-stubs/.*\.pyi$' \ No newline at end of file +include = 'django-stubs/.*\.pyi$'