Navigation Menu

Skip to content

Commit

Permalink
chore: blacken take 2 (#14360)
Browse files Browse the repository at this point in the history
#skipsentry
  • Loading branch information
josh committed Aug 16, 2019
1 parent a7a0dc7 commit 95767d4
Show file tree
Hide file tree
Showing 2,006 changed files with 68,582 additions and 86,305 deletions.
14 changes: 8 additions & 6 deletions .pre-commit-config.yaml
Expand Up @@ -18,13 +18,15 @@ repos:
name: flake8
entry: flake8
language: python
types: [python]
files: \.py$
log_file: '.artifacts/flake8.pycodestyle.log'
# - repo: https://github.com/ambv/black
# rev: 18.6b2
# hooks:
# - id: black
# python_version: python3.6
- repo: https://github.com/ambv/black
rev: 19.3b0
hooks:
- id: black
python_version: python3
files: \.py$
exclude: (.eggs|.git|.venv|build|dist|south_migrations|node_modules)
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -61,7 +61,7 @@ setup-git:
git config core.ignorecase false
cd .git/hooks && ln -sf ../../config/hooks/* ./
pip install "pre-commit>=1.10.1,<1.11.0"
pre-commit install
pre-commit install --install-hooks
@echo ""

update-submodules:
Expand Down

0 comments on commit 95767d4

Please sign in to comment.