From b050e99b5a3fddfee4e57ea159567ef9a7678291 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:22:26 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#13) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- src/prelude_runner/__init__.py | 1 + src/prelude_runner/cli.py | 1 + src/prelude_runner/core.py | 1 + src/prelude_runner/types.py | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 966efc6..3870610 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: hooks: - id: prettier - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.2 + rev: v0.3.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/src/prelude_runner/__init__.py b/src/prelude_runner/__init__.py index 1079145..5ed58df 100644 --- a/src/prelude_runner/__init__.py +++ b/src/prelude_runner/__init__.py @@ -1,4 +1,5 @@ """Prelude Runner.""" + from .core import Preludes, execute __all__ = ["execute", "Preludes"] diff --git a/src/prelude_runner/cli.py b/src/prelude_runner/cli.py index b175391..96cbc64 100644 --- a/src/prelude_runner/cli.py +++ b/src/prelude_runner/cli.py @@ -1,4 +1,5 @@ """Command line parsing and execution.""" + from __future__ import annotations from argparse import ArgumentParser diff --git a/src/prelude_runner/core.py b/src/prelude_runner/core.py index a93a861..eeecb86 100644 --- a/src/prelude_runner/core.py +++ b/src/prelude_runner/core.py @@ -1,4 +1,5 @@ """Main exports.""" + from __future__ import annotations from dataclasses import dataclass diff --git a/src/prelude_runner/types.py b/src/prelude_runner/types.py index 387a82b..9810ad3 100644 --- a/src/prelude_runner/types.py +++ b/src/prelude_runner/types.py @@ -1,4 +1,5 @@ """Types more specific than NotebookNode.""" + from __future__ import annotations from typing import Any, Literal, Protocol, TypedDict