Skip to content

Commit

Permalink
Put black config in explicit config (#5947)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Oct 6, 2022
1 parent 7dbdfc8 commit 02a69c8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .changes/unreleased/Under the Hood-20220927-194259.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kind: Under the Hood
body: Put black config in explicit config
time: 2022-09-27T19:42:59.241433-07:00
custom:
Author: max-sixty
Issue: "5946"
PR: "5947"
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,4 @@ venv/
*.code-workspace

# poetry
pyproject.toml
poetry.lock
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,10 @@ repos:
rev: 22.3.0
hooks:
- id: black
args:
- "--line-length=99"
- "--target-version=py38"
- id: black
alias: black-check
stages: [manual]
args:
- "--line-length=99"
- "--target-version=py38"
- "--check"
- "--diff"
- repo: https://gitlab.com/pycqa/flake8
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[tool.black]
# TODO: remove global exclusion of tests when testing overhaul is complete
force-exclude = 'test'
line-length = 99
target-version = ['py38']

0 comments on commit 02a69c8

Please sign in to comment.