diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2022-08-15 15:10:32 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2022-08-15 15:10:32 +0300 |
commit | 9395d1743960f7418acb8d9545da777188cefa55 (patch) | |
tree | 69bf845f93a3b25a5c56341aad3a28a98923a3ad | |
parent | 15fcdc8ba92dbcbd688204a5db35d4499911e48e (diff) |
Fix E275 missing whitespace after keyword
Drop parentheses, as assert is a keyword, not a function, so we are
currently asserting on a non-empty tuple, which is always true.
-rwxr-xr-x | calm/hint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/hint.py b/calm/hint.py index 8a640e5..ace6ecd 100755 --- a/calm/hint.py +++ b/calm/hint.py @@ -215,7 +215,7 @@ def hint_file_parse(fn, kind, strict=False): errors = [] warnings = [] - assert((kind in hintkeys) or (kind is None)) + assert (kind in hintkeys) or (kind is None) with open(fn, 'rb') as f: c = f.read() |