mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-06 04:04:26 +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:
|
||||
- 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
|
||||
pip install -r ./dev-requirements.txt
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
include = 'django-stubs/.*\.pyi$'
|
||||
include = 'django-stubs/.*\.pyi$'
|
||||
|
||||
Reference in New Issue
Block a user