Skip to content

Commit

Permalink
Merge pull request #743 from kellerza/black2
Browse files Browse the repository at this point in the history
Introduce black & fix flake8
  • Loading branch information
vgrem authored Oct 4, 2023
2 parents eb3c45e + 3dd6796 commit 6d3e645
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
args:
- --quiet

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
args:
- --profile=black
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[metadata]
description-file = README.md

[isort]
profile=black

[flake8]
# F401 - imported but unused
extend-ignore = E203, E501, W503, F401
max-line-length = 88

0 comments on commit 6d3e645

Please sign in to comment.