Skip to content

Commit

Permalink
Merge branch 'add_config_file_for_black_and_upgrade_pre_commit_hooks_…
Browse files Browse the repository at this point in the history
…#453'
  • Loading branch information
nicolaiarocci committed Oct 20, 2018
2 parents 0eb908a + 8cec876 commit a464b96
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .linting-config.yaml
Expand Up @@ -4,12 +4,13 @@ repos:
rev: stable
hooks:
- id: black
args: [--check, --safe, --skip-string-normalization]
args: [--check]
python_version: python3.6
types:
- python
exclude: ^docs/conf.py$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
rev: v1.4.0
hooks:
- id: check-yaml
types:
Expand Down
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -4,12 +4,13 @@ repos:
rev: stable
hooks:
- id: black
args: [--quiet, --safe, --skip-string-normalization]
args: [--quiet]
python_version: python3.6
types:
- python
exclude: ^docs/conf.py$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
rev: v1.4.0
hooks:
- id: check-yaml
types:
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
@@ -0,0 +1,4 @@
[tool.black]

safe = true
skip-string-normalization = true

0 comments on commit a464b96

Please sign in to comment.