From 888d9aa5d99f9b27ca91c213d16166915ebb6d12 Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Sat, 19 Sep 2026 14:32:35 -0700 Subject: [PATCH] ruff --- src/ptulsconv/footage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ptulsconv/footage.py b/src/ptulsconv/footage.py index ae6eeb5..dec23ee 100644 --- a/src/ptulsconv/footage.py +++ b/src/ptulsconv/footage.py @@ -1,13 +1,13 @@ """ Methods for converting string reprentations of film footage. """ +from __future__ import annotations import re from fractions import Fraction -from typing import Optional -def footage_to_seconds(footage: str) -> Optional[Fraction]: +def footage_to_seconds(footage: str) -> Fraction | None: """ Converts a string representation of a footage (35mm, 24fps) into a :class:`Fraction`, this fraction being a some number of