Skip to content

Commit

Permalink
Merge pull request #74 from praw-dev/run_black
Browse files Browse the repository at this point in the history
Run black as part of CI
  • Loading branch information
bboe committed Mar 7, 2019
2 parents 8f0ebb7 + 5f922ea commit fc5c080
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
after_success: coveralls
cache: pip
dist: xenial
install: pip install coveralls flake8 pydocstyle
install: pip install coveralls
jobs:
include:
- install: pip install black flake8 pydocstyle
python: 3.7
script:
- black --check -l 79 *.py examples prawcore tests
- flake8
- pydocstyle
stage: lint
language: python
matrix:
fast_finish: true
python:
- 2.7
- 3.5
- 3.6
- 3.7
script:
- flake8
- pydocstyle
- coverage run --source=prawcore setup.py test
- coveralls
stages:
- lint
- test

0 comments on commit fc5c080

Please sign in to comment.