Skip to content

Commit a2a6459

Browse files
committed
test: Fix errors that appeared after releasing new pylint
1 parent 9cfe101 commit a2a6459

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/pylintrc

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ disable=
6363
missing-docstring,
6464
too-many-lines,
6565
no-self-use,
66+
chained-comparison,
6667
duplicate-code,
6768
too-many-ancestors,
6869
too-many-instance-attributes,

ddg_parse_html.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ def get_declarations(root_el, name):
111111
if len(dcls) == 0:
112112
if not ignored:
113113
raise DdgException("dcl table contains no declarations")
114-
else:
115-
raise DdgException("All entries in dcl table were ignored")
114+
raise DdgException("All entries in dcl table were ignored")
116115

117116
return dcls
118117

0 commit comments

Comments
 (0)