Skip to content

Commit

Permalink
Fix: Update silencing of wrong pylint warnings
Browse files Browse the repository at this point in the history
Introduced an error when silencing pylint warnings. This should fix it.
  • Loading branch information
christian-intra2net committed May 31, 2024
1 parent 3b7a4ea commit 29fe911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oletools/ppt_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@ def iter_vba_data(self, stream):

n_infos = 0
n_macros = 0
for info in self.search_vba_info(stream):
for info in self.search_vba_info(): # pylint: disable=no-value-for-parameter
n_infos += 1
if info.vba_info_atom.f_has_macros > 0:
n_macros += 1
Expand Down

0 comments on commit 29fe911

Please # to comment.