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
+1
View File
@@ -8,6 +8,7 @@ class GracefulInterruptHandler:
"""
Class for handling Linux signal interrupts
"""
def __init__(self, signals=(signal.SIGINT, signal.SIGTERM)):
self.signals = signals
self.original_handlers = {}