PyCQA/bandit

config file as described in README.rst does not work

Offen

#317 geöffnet am 18.06.2018

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (559 Forks)batch import
buggood first issue

Repository-Metriken

Stars
 (5.660 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 11h 55m) (1 gemergte PR in 30 T)

Beschreibung

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. create .bandit file with content:
[bandit]
tests: B101,B102,B301

  1. run bandit -c .bandit -r module/
  2. get error: [main] ERROR .bandit : Error parsing file.

Expected behavior working as described in readme

Bandit version

bandit 1.4.0

Additional context Docs say it should be YAML and not INI. https://bandit.readthedocs.io/en/latest/config.html

Contributor Guide