1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-23 00:50:48 +00:00

Merge pull request #51 from cisagov/pre-commit_updates

Autoupdate pre-commit and Additional Maintenance
This commit is contained in:
Nick M 2020-09-04 10:06:54 -04:00 committed by GitHub
commit 15411447a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 10 deletions

2
.github/CODEOWNERS vendored
View file

@ -4,4 +4,4 @@
# the repo. Unless a later match takes precedence, # the repo. Unless a later match takes precedence,
# these owners will be requested for review when someone # these owners will be requested for review when someone
# opens a pull request. # opens a pull request.
* @dav3r @felddy @hillaryj @jsf9k @mcdonnnj @cisagov/team-ois * @dav3r @felddy @hillaryj @jsf9k @mcdonnnj

View file

@ -31,6 +31,7 @@ jobs:
${{ env.PRE_COMMIT_CACHE_DIR }} ${{ env.PRE_COMMIT_CACHE_DIR }}
key: "lint-${{ runner.os }}-py${{ env.PY_VERSION }}-\ key: "lint-${{ runner.os }}-py${{ env.PY_VERSION }}-\
${{ hashFiles('**/requirements-test.txt') }}-\ ${{ hashFiles('**/requirements-test.txt') }}-\
${{ hashFiles('**/requirements.txt') }}-\
${{ hashFiles('**/.pre-commit-config.yaml') }}" ${{ hashFiles('**/.pre-commit-config.yaml') }}"
restore-keys: | restore-keys: |
lint-${{ runner.os }}-py${{ env.PY_VERSION }}- lint-${{ runner.os }}-py${{ env.PY_VERSION }}-

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
__pycache__
.mypy_cache .mypy_cache
.python-version .python-version
__pycache__

View file

@ -5,7 +5,7 @@ default_language_version:
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0 rev: v3.2.0
hooks: hooks:
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
- id: check-json - id: check-json
@ -33,7 +33,7 @@ repos:
args: args:
- --config=.mdl_config.json - --config=.mdl_config.json
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
rev: v1.23.0 rev: v1.24.2
hooks: hooks:
- id: yamllint - id: yamllint
- repo: https://github.com/detailyang/pre-commit-shell - repo: https://github.com/detailyang/pre-commit-shell
@ -47,7 +47,7 @@ repos:
additional_dependencies: additional_dependencies:
- flake8-docstrings - flake8-docstrings
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.7.0 rev: v2.7.2
hooks: hooks:
- id: pyupgrade - id: pyupgrade
- repo: https://github.com/PyCQA/bandit - repo: https://github.com/PyCQA/bandit
@ -57,7 +57,7 @@ repos:
args: args:
- --config=.bandit.yml - --config=.bandit.yml
- repo: https://github.com/python/black - repo: https://github.com/python/black
rev: 19.10b0 rev: 20.8b1
hooks: hooks:
- id: black - id: black
- repo: https://github.com/asottile/seed-isort-config - repo: https://github.com/asottile/seed-isort-config
@ -65,16 +65,16 @@ repos:
hooks: hooks:
- id: seed-isort-config - id: seed-isort-config
- repo: https://github.com/timothycrosley/isort - repo: https://github.com/timothycrosley/isort
rev: 5.0.7 rev: 5.5.0
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.0a3 rev: v4.3.4
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.31.0 rev: v1.37.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,7 +98,7 @@ 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.0.5 rev: 2.1.1
hooks: hooks:
- id: prettier - id: prettier
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy