mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-11 07:23:08 -06:00
adding pre-commit, direnv, working through lint issues
This commit is contained in:
@@ -8,4 +8,5 @@ skip_list:
|
||||
- name[casing] # so many of our task names aren't capitalized
|
||||
- name[missing] # some tasks have no name
|
||||
- risky-file-permissions
|
||||
- var-naming[no-role-prefix] # many, many warnings
|
||||
- yaml # many, many warnings
|
||||
|
||||
3
.envrc
Normal file
3
.envrc
Normal file
@@ -0,0 +1,3 @@
|
||||
layout pipenv
|
||||
pre-commit install
|
||||
ansible-galaxy install -r requirements.yml
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -5,7 +5,8 @@ __pycache__
|
||||
*.pyc
|
||||
/.venv
|
||||
\#*\#
|
||||
.envrc
|
||||
.direnv
|
||||
.idea
|
||||
.vscode
|
||||
ansible_collections
|
||||
ansible_collections
|
||||
.DS_Store
|
||||
|
||||
@@ -19,6 +19,7 @@ repos:
|
||||
- --template={}
|
||||
- --pattern=[a-zA-Z0-9]{1,10}-[0-9]{1,6}
|
||||
- repo: https://github.com/ansible/ansible-lint.git
|
||||
stages: [manual]
|
||||
rev: v24.2.2
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
|
||||
Reference in New Issue
Block a user