mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 12:44:29 +08:00
ci: minor cleanup (#161)
* ci: Travis: remove unnecessary option with black Already in config, adding a final newline there. * .travis.yml: minor cleanup
This commit is contained in:
committed by
Nikita Sobolev
parent
5b9a467cf0
commit
82e3aa5464
@@ -6,9 +6,7 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- name: Run plugin test suite with python 3.7
|
- name: Run plugin test suite with python 3.7
|
||||||
python: 3.7
|
python: 3.7
|
||||||
script: |
|
script: 'pytest'
|
||||||
set -e
|
|
||||||
pytest
|
|
||||||
|
|
||||||
- name: Typecheck Django test suite with python 3.7
|
- name: Typecheck Django test suite with python 3.7
|
||||||
python: 3.7
|
python: 3.7
|
||||||
@@ -24,7 +22,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint with black
|
- name: Lint with black
|
||||||
python: 3.7
|
python: 3.7
|
||||||
script: 'black --check --line-length=120 django-stubs/'
|
script: 'black --check django-stubs/'
|
||||||
|
|
||||||
- name: Lint plugin code with flake8
|
- name: Lint plugin code with flake8
|
||||||
python: 3.7
|
python: 3.7
|
||||||
@@ -35,7 +33,6 @@ jobs:
|
|||||||
script: 'isort --check'
|
script: 'isort --check'
|
||||||
|
|
||||||
before_install: |
|
before_install: |
|
||||||
# Upgrade pip, setuptools, and wheel
|
|
||||||
pip install -U pip setuptools wheel
|
pip install -U pip setuptools wheel
|
||||||
install: |
|
install: |
|
||||||
pip install -r ./dev-requirements.txt
|
pip install -r ./dev-requirements.txt
|
||||||
Reference in New Issue
Block a user