Skip to content

Commit

Permalink
Make flake8-bandit work with latest bandit 1.7.3 version
Browse files Browse the repository at this point in the history
Fixes tylerwince#21

flake8-bandit 1.7.3 (PyCQA/bandit#496)
introduced an `fdata` argument and this just passes a `None` to make
things work with the latest version of bandit.
  • Loading branch information
nastra committed Feb 28, 2022
1 parent 00ba2e4 commit c991d91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flake8_bandit.py
Expand Up @@ -108,6 +108,7 @@ def _check_source(self):

bnv = BanditNodeVisitor(
self.filename,
None,
BanditMetaAst(),
BanditTestSet(BanditConfig(), profile=config.profile),
False,
Expand Down

0 comments on commit c991d91

Please sign in to comment.