Skip to content

Commit 8e4f150

Browse files
authored
Merge pull request p12tic#83 from p12tic/fix-pylint
test: Fix errors that appeared after releasing new pylint
2 parents 9cfe101 + a2a6459 commit 8e4f150

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/pylintrc

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 2 deletions
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)