Kamil Frydel

Results 11 comments of Kamil Frydel

> So I think using the last line of linerange will fail for Python 3.7. Currently Bandit incorrectly reports the last line number for Py37. See issue #820 Thank you...

Hi @ericwb , would you find a while to take a look at this pull request? If you think it should be fixed in another way, do not hesitate to...

@ericwb I created a pull request (915) with a fix for this issue. Could you please review it?

I added tests for implicit concatenation cases and it turned out that my solution didn't work. I changed the approach and now I search for `nosec` in every line reported...

@JRemitz Please let me know if you have examples that should be skipped and are not.

I think this can be closed now. It is fixed by the linked pull request.

Can you share the whole piece of code (or minimal example) for which the bandit does not behave as expected?

@0xDEC0DE Could you check if the linked pull request (https://github.com/PyCQA/bandit/pull/1004) solves your issue? I think my previous PR introduced the regression: https://github.com/PyCQA/bandit/pull/915