Skip to content

Commit

Permalink
Move black pre-commit config to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jan 8, 2022
1 parent 4c5d69c commit ea06936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ repos:
rev: 21.12b0
hooks:
- id: black
args: [--experimental-string-processing]
exclude: '^(install|get)-poetry.py$'

- repo: https://github.com/pycqa/flake8
rev: 4.0.1
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ extend_skip = ["setup.py"]

[tool.black]
target-version = ['py36']
experimental_string_processing = true
force-exclude = '''
.*/setup\.py$
.*/setup\.py$|^/(install|get)-poetry.py$
'''


Expand Down

0 comments on commit ea06936

Please sign in to comment.