mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-23 00:50:48 +00:00
Merge pull request #54 from cisagov/pre-commit_updates
Update pre-commit Hooks
This commit is contained in:
commit
4d88e06e99
3 changed files with 9 additions and 18 deletions
|
@ -6,10 +6,5 @@ import_heading_stdlib=Standard Python Libraries
|
||||||
import_heading_thirdparty=Third-Party Libraries
|
import_heading_thirdparty=Third-Party Libraries
|
||||||
import_heading_firstparty=cisagov Libraries
|
import_heading_firstparty=cisagov Libraries
|
||||||
|
|
||||||
# Should be auto-populated by seed-isort-config hook
|
|
||||||
known_third_party=
|
|
||||||
# These must be manually set to correctly separate them from third party libraries
|
|
||||||
known_first_party=
|
|
||||||
|
|
||||||
# Run isort under the black profile to align with our other Python linting
|
# Run isort under the black profile to align with our other Python linting
|
||||||
profile=black
|
profile=black
|
||||||
|
|
|
@ -27,13 +27,13 @@ repos:
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
rev: v0.23.2
|
rev: v0.24.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
args:
|
args:
|
||||||
- --config=.mdl_config.json
|
- --config=.mdl_config.json
|
||||||
- repo: https://github.com/adrienverge/yamllint
|
- repo: https://github.com/adrienverge/yamllint
|
||||||
rev: v1.24.2
|
rev: v1.25.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
- repo: https://github.com/detailyang/pre-commit-shell
|
- repo: https://github.com/detailyang/pre-commit-shell
|
||||||
|
@ -41,7 +41,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: shell-lint
|
- id: shell-lint
|
||||||
- repo: https://gitlab.com/pycqa/flake8
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
rev: 3.8.3
|
rev: 3.8.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
|
@ -60,21 +60,17 @@ repos:
|
||||||
rev: 20.8b1
|
rev: 20.8b1
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/asottile/seed-isort-config
|
|
||||||
rev: v2.2.0
|
|
||||||
hooks:
|
|
||||||
- id: seed-isort-config
|
|
||||||
- repo: https://github.com/timothycrosley/isort
|
- repo: https://github.com/timothycrosley/isort
|
||||||
rev: 5.5.0
|
rev: 5.6.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
- repo: https://github.com/ansible/ansible-lint.git
|
- repo: https://github.com/ansible/ansible-lint.git
|
||||||
rev: v4.3.4
|
rev: v4.3.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
# files: molecule/default/playbook.yml
|
# files: molecule/default/playbook.yml
|
||||||
- repo: https://github.com/antonbabenko/pre-commit-terraform.git
|
- repo: https://github.com/antonbabenko/pre-commit-terraform.git
|
||||||
rev: v1.37.0
|
rev: v1.43.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: terraform_fmt
|
- id: terraform_fmt
|
||||||
# There are ongoing issues with how this command works. This issue
|
# There are ongoing issues with how this command works. This issue
|
||||||
|
@ -98,10 +94,10 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: docker-compose-check
|
- id: docker-compose-check
|
||||||
- repo: https://github.com/prettier/prettier
|
- repo: https://github.com/prettier/prettier
|
||||||
rev: 2.1.1
|
rev: 2.1.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.782
|
rev: v0.790
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
|
|
|
@ -21,7 +21,7 @@ new repository!
|
||||||
|
|
||||||
## Contributing ##
|
## Contributing ##
|
||||||
|
|
||||||
We welcome contributions! Please see [here](CONTRIBUTING.md) for
|
We welcome contributions! Please see [`CONTRIBUTING.md`](CONTRIBUTING.md) for
|
||||||
details.
|
details.
|
||||||
|
|
||||||
## License ##
|
## License ##
|
||||||
|
|
Loading…
Reference in a new issue