Skip to content

Conversation

@dciborow
Copy link

The col value is being printed into the output for bandit.

##########Linting Output - bandit##########
102,col,LOW,B101:Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

image

Bandit Documentation
image

The col value is being printed into the output for bandit.

##########Linting Output - bandit##########
102,col,LOW,B101:Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
@tonybaloney
Copy link

bandit does have a col tag, the project just hasn't shipped a release in over 6 months. A workaround is to install bandit from master, but there needs to be a better fix to support both cases.

@tonybaloney
Copy link

Have started #16337 to find a permanent fix for this

@karrtikr
Copy link

Closing in favor of #16337 which provides fixes for both old and new versions. Thanks for attempting the fix anyways!

@karrtikr karrtikr closed this May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants