mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 22:16:13 +02:00
Apply black formatter to code
[Travis] add a linting stage (via `black`) [Travis] update as per code review Remove "Lint" as separate stage; have `black` check the output rather than run the re-formmater
This commit is contained in:
parent
46c4c88231
commit
04f6154c93
5 changed files with 19 additions and 14 deletions
|
@ -53,6 +53,13 @@ jobs:
|
|||
- os: windows
|
||||
|
||||
include:
|
||||
- stage: Lint & Tests
|
||||
name: Lint, via Black
|
||||
python: 3.8
|
||||
# black is automatically installed by peotry
|
||||
script:
|
||||
- black --check . --verbose --diff
|
||||
|
||||
# Python 3.6 Tests
|
||||
- name: Python 3.6 on Linux
|
||||
python: 3.6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue