Auto-format Python sources with black, fix all issues reported by flake8 (#1010)

* Update config for black and flake8
* Auto-format Python sources with black
* Fix issues reported by flake8
* Exclude protobuf files from black
* Address formatting feedback
This commit is contained in:
nucleogenic
2022-11-30 05:19:17 +00:00
committed by GitHub
parent 5afc6b911f
commit 315ef9f248
44 changed files with 1073 additions and 725 deletions
+4
View File
@@ -0,0 +1,4 @@
[tool.black]
line-length = 100
target-version = ['py37', 'py38', 'py39']
extend-exclude = ".*_pb2.py"