.pre-commit-config.yaml: comment hooks not relevant to this repo

This commit is contained in:
Aminda Suomalainen 2023-05-18 10:20:21 +03:00
parent a34ff238bf
commit f29605cbcc
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,6 +1,6 @@
ci: ci:
# Attempts to use networking and fails at name resolution, local hook # Attempts to use networking and fails at name resolution, local hook
skip: [bundler-audit, pylint] # skip: [bundler-audit, pylint]
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
# the frequency of unnecessary PRs. # the frequency of unnecessary PRs.
# https://github.com/pre-commit-ci/issues/issues/83 # https://github.com/pre-commit-ci/issues/issues/83
@ -34,24 +34,24 @@ repos:
args: [--update-only, --notitle] args: [--update-only, --notitle]
# Python type checking # Python type checking
- repo: https://github.com/pre-commit/mirrors-mypy # - repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.3.0" # rev: "v1.3.0"
hooks: # hooks:
- id: mypy # - id: mypy
# GitHub Actions etc. configuration validity checking # GitHub Actions etc. configuration validity checking
- repo: https://github.com/python-jsonschema/check-jsonschema # - repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.0 # rev: 0.23.0
hooks: # hooks:
- id: check-dependabot # - id: check-dependabot
- id: check-github-actions # - id: check-github-actions
- id: check-github-workflows # - id: check-github-workflows
- id: check-gitlab-ci # - id: check-gitlab-ci
- repo: https://github.com/jumanjihouse/pre-commit-hooks # - repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0 # rev: 3.0.0
hooks: # hooks:
- id: bundler-audit # - id: bundler-audit
# https://github.com/jumanjihouse/pre-commit-hooks/issues/111 # https://github.com/jumanjihouse/pre-commit-hooks/issues/111
#- id: check-mailmap #- id: check-mailmap
@ -63,16 +63,18 @@ repos:
# prettier & editorconfig checker should probably be ran last # prettier & editorconfig checker should probably be ran last
# prettier # prettier, opinionated code formatter
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.9-for-vscode" rev: "v3.0.0-alpha.9-for-vscode"
hooks: hooks:
- id: prettier - id: prettier
exclude_types: [python, pyi, jupyter] exclude_types: [python, pyi, jupyter]
- repo: https://github.com/psf/black
rev: 23.3.0 # Black, opinionated Python code formatter
hooks: # - repo: https://github.com/psf/black
- id: black # rev: 23.3.0
# hooks:
# - id: black
#- id: black-jupyter #- id: black-jupyter
# .editorconfig validity checking # .editorconfig validity checking
@ -84,11 +86,11 @@ repos:
# I don't actually care about line lengths as more than a guideline # I don't actually care about line lengths as more than a guideline
args: [-disable-max-line-length] args: [-disable-max-line-length]
# Python linter # # Python linter
- repo: local # - repo: local
hooks: # hooks:
- id: pylint # - id: pylint
name: pylint # name: pylint
entry: pylint # entry: pylint
language: system # language: system
types_or: [python, pyi] # types_or: [python, pyi]