diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e96d669..548dde7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,56 +1,51 @@ --- repos: - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 23.1.0 hooks: - id: black name: Check code formatting (black) language_version: python3 - exclude: rdflib_web - - repo: https://gitlab.com/pycqa/flake8 - rev: 4.0.1 + - repo: https://github.com/PyCQA/flake8 + rev: 6.0.0 hooks: - id: flake8 name: Check code formatting (flake8) - exclude: rdflib_web - - repo: https://github.com/pre-commit/mirrors-isort - rev: v5.4.2 + - repo: https://github.com/pycqa/isort + rev: 5.12.0 hooks: - id: isort name: Check the order of your imports (isort) additional_dependencies: [toml] - exclude: rdflib_web - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.782 + rev: v0.991 hooks: - id: mypy - repo: https://github.com/PyCQA/doc8 - rev: 0.11.1 + rev: v1.1.1 hooks: - id: doc8 name: Checks the style of the documentation (doc8) args: [--max-line-length, "100"] - exclude: rdflib_web - repo: https://github.com/adrienverge/yamllint.git - rev: v1.24.2 + rev: v1.29.0 hooks: - id: yamllint name: Check YAML syntax (yamllint) args: [--strict] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v4.4.0 hooks: - id: check-ast name: Check whether files parse a valid Python (check-ast) - id: check-docstring-first name: Check the docstring placement (check-docstring-first) - exclude: rdflib_web - id: check-toml name: Check the TOML syntax (check-toml) - id: check-yaml