Skip to content

Commit

Permalink
chore: update pre-commit config file
Browse files Browse the repository at this point in the history
  • Loading branch information
rememberYou committed Feb 2, 2023
1 parent 610d774 commit 805d42c
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 805d42c

Please sign in to comment.