ruff
dcbd8eac - feat(rules): implement `flake8-bandit` `S507` (`ssh_no_host_key_verification`) (#7528)

Commit
2 years ago
feat(rules): implement `flake8-bandit` `S507` (`ssh_no_host_key_verification`) (#7528) Part of #1646. ## Summary Implement `S507` ([`ssh_no_host_key_verification`](https://bandit.readthedocs.io/en/latest/plugins/b507_ssh_no_host_key_verification.html)) rule from `bandit`. ## Test Plan Snapshot test from https://github.com/PyCQA/bandit/blob/1.7.5/examples/no_host_key_verification.py, with several additions to test for more cases (most notably passing the parameter as a named argument).
Author
Parents
Loading