Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9dd8dfe

Browse files
Flake8 E721 is suppressed
1 parent ee7dc91 commit 9dd8dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testgres/node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ def set_auto_conf(self, options, config='postgresql.auto.conf', rm_options={}):
16341634
current_options[name] = var
16351635

16361636
for option in options:
1637-
assert type(option) == str
1637+
assert type(option) == str # noqa: E721
16381638
assert option != ""
16391639
assert option.strip() == option
16401640

@@ -1699,7 +1699,7 @@ def _get_bin_path(self, filename):
16991699
return bin_path
17001700

17011701
def _escape_config_value(value):
1702-
assert type(value) == str
1702+
assert type(value) == str # noqa: E721
17031703

17041704
result = "'"
17051705

0 commit comments

Comments
 (0)