tooling: add black and flake8 for python formatting/linting (#6454)

This commit is contained in:
Matthew Peveler
2021-09-03 15:17:51 +00:00
committed by GitHub
parent f4390b1637
commit 3fa29ea1c2
7 changed files with 188 additions and 123 deletions

5
.flake8 Normal file
View File

@@ -0,0 +1,5 @@
[flake8]
max-line-length = 88
# We ignore E501 as black handles it for us, and in a way that ignores strings
# that go over the line length, as opposed to flake8 which flags such strings.
extend-ignore = E203,E501