mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 18:18:12 -03:30
added git pre commit hook to run flake8
This commit is contained in:
8
tools/git_hooks/pre_commit.yml
Normal file
8
tools/git_hooks/pre_commit.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
- hosts: all
|
||||
connection: local
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: lint check w/ flake8
|
||||
command: 'flake8 {{ playbook_dir }}/../../'
|
||||
register: result
|
||||
|
||||
Reference in New Issue
Block a user