Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-08-15 15:10:32 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2022-08-15 15:10:32 +0300
commit9395d1743960f7418acb8d9545da777188cefa55 (patch)
tree69bf845f93a3b25a5c56341aad3a28a98923a3ad
parent15fcdc8ba92dbcbd688204a5db35d4499911e48e (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-xcalm/hint.py2
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()