cisagov / skeleton-ansible-role

A skeleton project for quickly getting a new cisagov Ansible role started.
Creative Commons Zero v1.0 Universal
7 stars 6 forks source link

Update the `bandit` hook configuration for pre-commit #185

Closed mcdonnnj closed 5 months ago

mcdonnnj commented 7 months ago

๐Ÿ—ฃ Description

This pull request updates the exclude definition for the bandit hook in our pre-commit configuration.

๐Ÿ’ญ Motivation and context

In #175 we removed the systemd_enabled scenario but we missed updating the pre-commit configuration. In addition to rectifying that mistake I also updated the exclude definition to blanket cover any molecule scenario's tests/ directory.

๐Ÿงช Testing

Automated tests pass. I verified with the check-useless-excludes meta hook from https://github.com/cisagov/skeleton-generic/pull/178 that it resolves to at least one file in the repository.

โœ… Pre-approval checklist