Skip to content

Commit

Permalink
Remove check for # noqa comments
Browse files Browse the repository at this point in the history
Fixes PyCQA#44
  • Loading branch information
plinss committed Aug 28, 2020
1 parent 459403a commit 3796109
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bugbear.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ def run(self):
visitor = self.visitor(filename=self.filename, lines=self.lines)
visitor.visit(self.tree)
for e in itertools.chain(visitor.errors, self.gen_line_based_checks()):
if pycodestyle.noqa(self.lines[e.lineno - 1]):
continue

if self.should_warn(e.message[:4]):
yield self.adapt_error(e)

Expand Down

0 comments on commit 3796109

Please sign in to comment.