chore(pre-commit): updated versions

This commit is contained in:
Laureηt 2022-02-09 11:48:24 +01:00
parent 41d192d5e9
commit edd608b233
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
2 changed files with 37 additions and 38 deletions

View file

@ -1,43 +1,42 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/mirrors-mypy
rev: v3.2.0 rev: v0.931
hooks: hooks:
- id: trailing-whitespace - id: mypy
- id: end-of-file-fixer additional_dependencies: [types-redis]
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pycqa/isort
rev: v0.910 rev: 5.8.0
hooks: hooks:
- id: mypy - id: isort
additional_dependencies: [types-redis] name: isort (python)
- id: isort
name: isort (cython)
types: [cython]
- id: isort
name: isort (pyi)
types: [pyi]
- repo: https://github.com/pycqa/isort - repo: https://github.com/psf/black
rev: 5.8.0 rev: "22.1.0"
hooks: hooks:
- id: isort - id: black
name: isort (python) language_version: python
- id: isort
name: isort (cython)
types: [cython]
- id: isort
name: isort (pyi)
types: [pyi]
- repo: https://github.com/psf/black - repo: https://gitlab.com/pycqa/flake8
rev: 21.9b0 rev: 4.0.1
hooks: hooks:
- id: black - id: flake8
language_version: python
- repo: https://gitlab.com/pycqa/flake8 - repo: https://github.com/PyCQA/bandit
rev: 4.0.1 rev: 1.7.0
hooks: hooks:
- id: flake8 - id: bandit
- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
hooks:
- id: bandit

View file

@ -45,6 +45,6 @@ profile = "black"
multi_line_output = 3 multi_line_output = 3
[tool.mypy] [tool.mypy]
python_version = 3.10 python_version = "3.10"
warn_return_any = true warn_return_any = true
warn_unused_configs = true warn_unused_configs = true