PyCQA/bandit

config file as described in README.rst does not work

オープン

#317 opened on 2018/06/18

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)Python (559 件のフォーク)batch import
buggood first issue

Repository metrics

Stars
 (5,660 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド