ci: [pre-commit.ci] pre-commit autoupdate (#3)

* ci: initial ci config

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v3.2.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v3.2.0...v4.4.0)
- [github.com/iamthefij/docker-pre-commit: master → v3.0.1](https://github.com/iamthefij/docker-pre-commit/compare/master...v3.0.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ci: remove pretty-format-json hook

* ci: fix devcontainer Dockerfile

---------

Co-authored-by: Alexandre Teles <alexandre.teles@ufba.br>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot] 2023-05-05 11:44:36 -03:00 committed by GitHub
parent ba90bd59f4
commit 7292b4d7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,8 @@ RUN DEBIAN_FRONTEND=noninteractive \
libxml2-dev \ libxml2-dev \
libxmlsec1-dev \ libxmlsec1-dev \
libffi-dev \ libffi-dev \
liblzma-dev liblzma-dev \
&& rm -rf /var/lib/apt/lists/*
# Python and poetry installation # Python and poetry installation
USER $USER USER $USER

View File

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0 rev: v4.4.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
@ -11,7 +11,6 @@ repos:
- id: double-quote-string-fixer - id: double-quote-string-fixer
- id: name-tests-test - id: name-tests-test
- id: requirements-txt-fixer - id: requirements-txt-fixer
- id: pretty-format-json
- id: check-toml - id: check-toml
- id: check-merge-conflict - id: check-merge-conflict
- id: double-quote-string-fixer - id: double-quote-string-fixer
@ -25,7 +24,7 @@ repos:
- id: black - id: black
language_version: python3.9 language_version: python3.9
- repo: https://github.com/iamthefij/docker-pre-commit - repo: https://github.com/iamthefij/docker-pre-commit
rev: master rev: v3.0.1
hooks: hooks:
- id: docker-compose-check - id: docker-compose-check
- repo: https://github.com/pryorda/dockerfilelint-precommit-hooks - repo: https://github.com/pryorda/dockerfilelint-precommit-hooks