codacy: disable complaining about python assert

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
https://support.codacy.com/hc/en-us/articles/207994335-Code-Patterns
This commit is contained in:
Gaëtan Harter 2019-03-01 12:18:37 +01:00
parent 2bfa0e4940
commit 4a23028265
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

3
.bandit Normal file
View File

@ -0,0 +1,3 @@
# codacy:
# Solve flagged valid Python "assert" statements
skips: ['B101']