mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 05:46:18 +00:00
* 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>
35 lines
973 B
YAML
35 lines
973 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: check-docstring-first
|
|
- id: debug-statements
|
|
- id: double-quote-string-fixer
|
|
- id: name-tests-test
|
|
- id: requirements-txt-fixer
|
|
- id: check-toml
|
|
- id: check-merge-conflict
|
|
- id: double-quote-string-fixer
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
rev: v3.9.0
|
|
hooks:
|
|
- id: reorder-python-imports
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.3.0
|
|
hooks:
|
|
- id: black
|
|
language_version: python3.9
|
|
- repo: https://github.com/iamthefij/docker-pre-commit
|
|
rev: v3.0.1
|
|
hooks:
|
|
- id: docker-compose-check
|
|
- repo: https://github.com/pryorda/dockerfilelint-precommit-hooks
|
|
rev: v0.1.0
|
|
hooks:
|
|
- id: dockerfilelint
|
|
stages: [commit]
|