Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update pre-commit hook packages #117

Merged
merged 1 commit into from
Aug 18, 2022
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
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ repos:
hooks:
- id: absolufy-imports
- repo: https://github.com/timothycrosley/isort
rev: 5.9.3
rev: 5.10.1
hooks:
- id: isort
additional_dependencies: [toml]
exclude: examples/*
# types
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.940'
rev: 'v0.971'
hooks:
- id: mypy
language_version: python3
args: [--no-strict-optional, --ignore-missing-imports, --show-traceback, --install-types, --non-interactive]
exclude: docs/*
# code style
- repo: https://github.com/python/black
rev: 22.3.0
rev: 22.6.0
hooks:
- id: black
- repo: https://github.com/pycqa/pylint
rev: pylint-2.7.4
rev: v2.14.5
hooks:
- id: pylint
- repo: https://gitlab.com/pycqa/flake8
Expand All @@ -33,7 +33,7 @@ repos:
- id: flake8
# notebooks
- repo: https://github.com/s-weigand/flake8-nb
rev: v0.3.0
rev: v0.5.2
hooks:
- id: flake8-nb
files: \.ipynb$
Expand All @@ -45,12 +45,12 @@ repos:
exclude: ^(build|docs|merlin/io|tests|setup.py|versioneer.py)
args: [--config=pyproject.toml]
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.1
hooks:
- id: codespell
# security
- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
rev: 1.7.4
hooks:
- id: bandit
args: [--verbose, -ll, -x, tests,examples,bench]