Skip to content

Commit 3147194

Browse files
authored
Merge pull request #93 from cisagov/lineage/skeleton
Lineage pull request for: skeleton
2 parents 328cd65 + 17ffabd commit 3147194

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.ansible-lint

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ exclude_paths:
1313
- .cache
1414
# Seems wise to ignore this too
1515
- .github
16-
# ansible-lint doesn't like the role name in this playbook, but it's
17-
# what molecule requires
18-
- molecule/default/converge.yml
19-
# These two are Molecule configuration files, not Ansible playbooks
20-
- molecule/default/molecule-no-systemd.yml
21-
- molecule/default/molecule-with-systemd.yml
16+
kinds:
17+
# This will force our systemd specific molecule configurations to be treated
18+
# as plain yaml files by ansible-lint. This mirrors the default kind
19+
# configuration in ansible-lint for molecule configurations:
20+
# yaml: "**/molecule/*/{base,molecule}.{yaml,yml}"
21+
- yaml: "**/molecule/*/molecule-{no,with}-systemd.yml"
2222
use_default_rules: true

.pre-commit-config.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ default_language_version:
55

66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.0.1
8+
rev: v4.1.0
99
hooks:
1010
- id: check-case-conflict
1111
- id: check-executables-have-shebangs
@@ -31,13 +31,13 @@ repos:
3131

3232
# Text file hooks
3333
- repo: https://github.com/igorshubovych/markdownlint-cli
34-
rev: v0.29.0
34+
rev: v0.30.0
3535
hooks:
3636
- id: markdownlint
3737
args:
3838
- --config=.mdl_config.yaml
3939
- repo: https://github.com/pre-commit/mirrors-prettier
40-
rev: v2.4.1
40+
rev: v2.5.1
4141
hooks:
4242
- id: prettier
4343
- repo: https://github.com/adrienverge/yamllint
@@ -49,7 +49,7 @@ repos:
4949

5050
# pre-commit hooks
5151
- repo: https://github.com/pre-commit/pre-commit
52-
rev: v2.15.0
52+
rev: v2.16.0
5353
hooks:
5454
- id: validate_manifest
5555

@@ -75,15 +75,15 @@ repos:
7575

7676
# Python hooks
7777
- repo: https://github.com/PyCQA/bandit
78-
rev: 1.7.0
78+
rev: 1.7.1
7979
hooks:
8080
- id: bandit
8181
# Bandit complains about the use of assert() in tests
8282
exclude: molecule/default/tests
8383
args:
8484
- --config=.bandit.yml
8585
- repo: https://github.com/psf/black
86-
rev: 21.9b0
86+
rev: 21.12b0
8787
hooks:
8888
- id: black
8989
- repo: https://gitlab.com/pycqa/flake8
@@ -93,28 +93,28 @@ repos:
9393
additional_dependencies:
9494
- flake8-docstrings
9595
- repo: https://github.com/PyCQA/isort
96-
rev: 5.9.3
96+
rev: 5.10.1
9797
hooks:
9898
- id: isort
9999
- repo: https://github.com/pre-commit/mirrors-mypy
100-
rev: v0.910-1
100+
rev: v0.931
101101
hooks:
102102
- id: mypy
103103
- repo: https://github.com/asottile/pyupgrade
104-
rev: v2.29.0
104+
rev: v2.31.0
105105
hooks:
106106
- id: pyupgrade
107107

108108
# Ansible hooks
109109
- repo: https://github.com/ansible-community/ansible-lint
110-
rev: v5.2.1
110+
rev: v5.3.2
111111
hooks:
112112
- id: ansible-lint
113113
# files: molecule/default/playbook.yml
114114

115115
# Terraform hooks
116116
- repo: https://github.com/antonbabenko/pre-commit-terraform
117-
rev: v1.52.0
117+
rev: v1.62.3
118118
hooks:
119119
- id: terraform_fmt
120120
- id: terraform_validate

0 commit comments

Comments
 (0)