Skip to content

Commit

Permalink
Enable code formatting with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Dec 11, 2023
1 parent 7334a79 commit fcb7ede
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ repos:
- id: mixed-line-ending
args: [--fix=lf]
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[flake8]
max-line-length = 102
extend-ignore = E203

[pylint]
max-line-length = 102

0 comments on commit fcb7ede

Please sign in to comment.