Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 6 additions & 36 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v5.0.0
hooks:
- id: check-ast
- id: check-json
Expand All @@ -20,41 +20,11 @@ repos:
- id: requirements-txt-fixer


- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black


- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8


- repo: https://github.com/PyCQA/pylint
rev: v2.15.4
hooks:
- id: pylint


- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
hooks:
# A quick check for the `eval()` built-in function
- id: python-no-eval
# A quick check for the deprecated `.warn()` method of python loggers
- id: python-no-log-warn

- repo: https://github.com/Bahjat/pre-commit-golang
rev: v1.0.2
rev: v1.0.5
hooks:
- id: go-fmt-import
#- id: go-vet
- id: go-lint
- id: gofumpt # requires github.com/mvdan/gofumpt
#- id: go-static-check # install https://staticcheck.io/docs/
#- id: golangci-lint # requires github.com/golangci/golangci-lint
# args: [--config=.github/linters/.golangci.yml] # optional
- id: go-ruleguard # requires https://github.com/quasilyte/go-ruleguard
args: [rules/rules.go] # required
- id: go-static-check # install https://staticcheck.io/docs/
- id: golangci-lint # requires github.com/golangci/golangci-lint
args: [--config=.golangci.yml] # optional
- id: go-unit-tests
Loading