Skip to content

Commit

Permalink
chore: bump pre-commit dependencies (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonagestam committed Aug 6, 2023
1 parent e2431c0 commit b26a892
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
20 changes: 12 additions & 8 deletions .pre-commit-config.yaml
Expand Up @@ -12,36 +12,36 @@ repos:
- id: detect-private-key

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.1"
rev: "2.7.2"
hooks:
- id: editorconfig-checker
alias: ec
args:
- -disable-indent-size

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.259"
rev: "v0.0.282"
hooks:
- id: ruff

- repo: https://github.com/psf/black
rev: "23.1.0"
rev: "23.7.0"
hooks:
- id: black

- repo: https://github.com/asottile/blacken-docs
rev: "1.13.0"
rev: "1.15.0"
hooks:
- id: blacken-docs
additional_dependencies: ["black==23.1.0"]

- repo: https://github.com/sirosen/check-jsonschema
rev: "0.22.0"
rev: "0.23.3"
hooks:
- id: check-github-workflows

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.1.1"
rev: "v1.4.1"
hooks:
- id: mypy
pass_filenames: false
Expand All @@ -57,11 +57,15 @@ repos:
- hypothesis==6.68.0

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.7.1"
rev: "v3.0.1"
hooks:
- id: prettier
additional_dependencies:
- prettier@2.8.7
# This addresses slow installation progress, see:
# https://github.com/pre-commit/mirrors-eslint/issues/19#issuecomment-1026388904
# https://github.com/npm/cli/issues/4028#issuecomment-1611625358
- npm@8.11.0
- prettier@3.0.1
alias: format-markdown
types: [ markdown ]
args:
Expand Down
4 changes: 2 additions & 2 deletions src/phantom/schema.py
Expand Up @@ -9,8 +9,8 @@
class Schema(TypedDict, total=False):
title: str
description: str
type: Literal["array", "string", "float", "number"] # noqa: A003
format: str # noqa: A003
type: Literal["array", "string", "float", "number"]
format: str
examples: Sequence[object]
minimum: Optional[float]
maximum: Optional[float]
Expand Down

0 comments on commit b26a892

Please sign in to comment.