Skip to content

Commit

Permalink
add pre-commit hooks and cleanup pre-commit problems
Browse files Browse the repository at this point in the history
  • Loading branch information
zzeppozz committed Jan 27, 2023
1 parent cfab794 commit 48b0af6
Show file tree
Hide file tree
Showing 21 changed files with 1,331 additions and 769 deletions.
5 changes: 5 additions & 0 deletions .github/linters/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
# these settings are needed to make flake8 compatible with black
max-line-length = 88
extend-ignore = E203,E501,W503
builtins = request
8 changes: 8 additions & 0 deletions .github/linters/.isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[settings]
profile=

; vertical hanging indent mode also used in black configuration
multi_line_output = 3

; necessary because black expects the trailing comma
include_trailing_comma = true
2 changes: 2 additions & 0 deletions .github/linters/.python-black
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tool.black]
skip-string-normalization = true
Loading

0 comments on commit 48b0af6

Please sign in to comment.