From 03e749bcd279333cee13a25f6b0ba62fb2f5e5ca Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Sat, 7 Sep 2024 17:41:32 +0200 Subject: [PATCH] Final cleanup --- setup.cfg | 2 +- src/pystow/api.py | 1 - src/pystow/cache.py | 1 - src/pystow/constants.py | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 0aa2212..9427f05 100644 --- a/setup.cfg +++ b/setup.cfg @@ -74,7 +74,7 @@ tests = pytest requests_file docs = - sphinx + sphinx<8.0 sphinx-rtd-theme sphinx-click sphinx-autodoc-typehints diff --git a/src/pystow/api.py b/src/pystow/api.py index 7ac6d9e..291b4e0 100644 --- a/src/pystow/api.py +++ b/src/pystow/api.py @@ -8,7 +8,6 @@ from typing import ( TYPE_CHECKING, Any, - ContextManager, Generator, Mapping, Optional, diff --git a/src/pystow/cache.py b/src/pystow/cache.py index d1aca7b..83651dd 100644 --- a/src/pystow/cache.py +++ b/src/pystow/cache.py @@ -5,7 +5,6 @@ import functools import json import logging -import os from abc import ABC, abstractmethod from pathlib import Path from typing import ( diff --git a/src/pystow/constants.py b/src/pystow/constants.py index ec08963..408a77c 100644 --- a/src/pystow/constants.py +++ b/src/pystow/constants.py @@ -2,7 +2,7 @@ """PyStow constants.""" -from io import BytesIO, StringIO +from io import StringIO from textwrap import dedent from typing import IO, Any, Callable, Generator