Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add black job #42

Merged
merged 6 commits into from
Dec 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ repos:
rev: 4.0.1
hooks:
- id: pydocstyle
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
include:
- env: TOXENV=flake8
python: 3.7
- env: TOXENV=black
python: 3.7
- env: TOXENV=py35-django111-{postgresql,sqlite}
python: 3.5
- env: TOXENV=py36-django111-{postgresql,sqlite}
Expand Down
3 changes: 2 additions & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
-r requirements.txt
black
pillow
pre-commit
pytest
pytest-django
sphinx
tox
wheel
twine==2.0.0
wheel
Loading