From d2690d5d4a60ab03d291ab76d6c5135797aafdfb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 1 Aug 2023 04:56:19 -0500 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#83) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester --- .pre-commit-config.yaml | 6 +++--- jupyter_events/schema_registry.py | 2 +- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4060ca3..77e547a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.23.2 + rev: 0.23.3 hooks: - id: check-github-workflows @@ -30,12 +30,12 @@ repos: - id: mdformat - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.7.0 hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.276 + rev: v0.0.281 hooks: - id: ruff args: ["--fix"] diff --git a/jupyter_events/schema_registry.py b/jupyter_events/schema_registry.py index 1795f2a..2e4ad2c 100644 --- a/jupyter_events/schema_registry.py +++ b/jupyter_events/schema_registry.py @@ -4,7 +4,7 @@ from .schema import EventSchema -class SchemaRegistryException(Exception): # noqa[N818] +class SchemaRegistryException(Exception): # noqa: N818 """Exception class for Jupyter Events Schema Registry Errors.""" diff --git a/pyproject.toml b/pyproject.toml index d5c062d..db5400f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,7 +99,7 @@ dependencies = ["mypy>=0.990"] test = "mypy --install-types --non-interactive {args:.}" [tool.hatch.envs.lint] -dependencies = ["black[jupyter]==23.3.0", "mdformat>0.7", "ruff==0.0.270"] +dependencies = ["black[jupyter]==23.3.0", "mdformat>0.7", "ruff==0.0.281"] detached = true [tool.hatch.envs.lint.scripts] style = [