Add linting/formatting and convert to module

This commit is contained in:
Joshua Boniface
2023-04-06 19:26:00 -04:00
parent ca36555e6b
commit a766f2a61f
9 changed files with 1025 additions and 158 deletions

9
.flake8 Normal file
View File

@ -0,0 +1,9 @@
[flake8]
# We ignore the following errors:
# * W503 (line break before binary operator): Black moves these to new lines
# * E501 (line too long): Long lines are a fact of life in comment blocks; Black handles active instances of this
# * E203 (whitespace before ':'): Black recommends this as disabled
ignore = W503, E501
extend-ignore = E203
# Set the max line length to 88 for Black
max-line-length = 88