mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
[Travis] add a linting stage (via black
)
This commit is contained in:
parent
d8f422151d
commit
c1defc7db1
1 changed files with 10 additions and 1 deletions
11
.travis.yml
11
.travis.yml
|
@ -53,8 +53,17 @@ jobs:
|
||||||
- os: windows
|
- os: windows
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- stage: Lint
|
||||||
|
name: Lint, via Black
|
||||||
|
python: 3.8
|
||||||
|
install:
|
||||||
|
- pip install black
|
||||||
|
script:
|
||||||
|
- black .
|
||||||
|
|
||||||
# Python 3.6 Tests
|
# Python 3.6 Tests
|
||||||
- name: Python 3.6 on Linux
|
- stage: Tests
|
||||||
|
name: Python 3.6 on Linux
|
||||||
python: 3.6
|
python: 3.6
|
||||||
- <<: *test_mac
|
- <<: *test_mac
|
||||||
name: Python 3.6 on MacOS
|
name: Python 3.6 on MacOS
|
||||||
|
|
Loading…
Add table
Reference in a new issue