diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca90a76..bb6a3eb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,19 +1,19 @@ repos: - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 23.10.1 hooks: - id: black language_version: python3 args: [--line-length=100, --target-version=py39] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.5.0 hooks: - id: end-of-file-fixer exclude: ^.bumpversion.cfg - id: trailing-whitespace exclude: ^.bumpversion.cfg - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v0.982" + rev: "v1.6.1" hooks: - id: mypy name: Lint nest with mypy @@ -24,24 +24,24 @@ repos: additional_dependencies: - "types-all" - repo: https://github.com/PyCQA/isort - rev: "5.10.1" + rev: "5.12.0" hooks: - id: isort name: Sort import with isort args: ["-m3", "-w 100", "--tc"] # exclude: ^tests/ - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.0-alpha.3" + rev: "v3.0.3" hooks: - id: prettier - repo: https://github.com/PyCQA/flake8 - rev: "5.0.4" + rev: "6.1.0" hooks: - id: flake8 exclude: ^tests/ args: ["--max-line-length=120", "--ignore=W503"] - repo: https://github.com/asottile/pyupgrade - rev: v3.1.0 + rev: v3.15.0 hooks: - id: pyupgrade args: ["--py39-plus"]