Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
eatpk committed Jan 7, 2024
1 parent d255fad commit 35af02d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions analog/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ def _init_config(self, data, field) -> Dict[str, Any]:

def _validate(self):
# Validate 'flush_threshold'
assert type(self._logging_config["flush_threshold"]) == int, "'flush_threshold' should be of type int"
assert (
type(self._logging_config["flush_threshold"]) == int
), "'flush_threshold' should be of type int"
# Validate 'flatten'
assert type(self._logging_config["flatten"]) == bool, "'flatten' should be of type bool"

assert (
type(self._logging_config["flatten"]) == bool
), "'flatten' should be of type bool"

0 comments on commit 35af02d

Please sign in to comment.