Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump pre-commit dependencies #287

Merged
merged 1 commit into from
Aug 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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