- `#nosec` flag can be used single lines of code - `.bandit` configuration file for additional customization (`-c .bandit`) - Installation: `pip install bandit` - Execution: `bandit -c .bandit -r openapi_server tests` - Skip B101: https://bandit.readthedocs.io/en/latest/plugins/b101_assert_used.html#b101-test-for-use-of-assert
#nosecflag can be used single lines of code.banditconfiguration file for additional customization (-c .bandit)pip install banditbandit -c .bandit -r openapi_server tests