[riot-notifications] [RIOT-OS/RIOT] codacy: disable complaining about python assert (#11086)

Gaƫtan Harter notifications at github.com
Fri Mar 1 13:46:58 CET 2019

### Contribution description

This silents the reported issue in codacy about python asserts:

    Use of assert detected. The enclosed code will be removed when
    compiling to optimised byte code.

The concern is valid about python asserts, but they are used in tests
and python is not run with optimised byte code.

Solution taken from codacy website

### Testing procedure

This silents the issue from https://github.com/RIOT-OS/RIOT/pull/10952#issuecomment-468523775 where I now have this commit too.

### Issues/PRs references

Found about codacy complains in  https://github.com/RIOT-OS/RIOT/pull/10952#issuecomment-468523775
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * codacy: disable complaining about python assert

-- File Changes --

    A .bandit (3)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190301/ff8e3ab1/attachment.html>

More information about the notifications mailing list