diff --git a/sphinx_autobuild/__main__.py b/sphinx_autobuild/__main__.py index 519259c..236912d 100644 --- a/sphinx_autobuild/__main__.py +++ b/sphinx_autobuild/__main__.py @@ -1,5 +1,7 @@ """Entrypoint for ``python -m sphinx_autobuild``.""" +from __future__ import annotations + import argparse import shlex import sys diff --git a/sphinx_autobuild/build.py b/sphinx_autobuild/build.py index 678737b..2fa81d6 100644 --- a/sphinx_autobuild/build.py +++ b/sphinx_autobuild/build.py @@ -1,5 +1,7 @@ """Logic for interacting with sphinx-build.""" +from __future__ import annotations + import subprocess import sys diff --git a/sphinx_autobuild/filter.py b/sphinx_autobuild/filter.py index 0e7a09f..eb46dbe 100644 --- a/sphinx_autobuild/filter.py +++ b/sphinx_autobuild/filter.py @@ -1,5 +1,7 @@ """Logic for ignoring paths.""" +from __future__ import annotations + import fnmatch import re from pathlib import Path diff --git a/sphinx_autobuild/utils.py b/sphinx_autobuild/utils.py index 2693be3..16e19fb 100644 --- a/sphinx_autobuild/utils.py +++ b/sphinx_autobuild/utils.py @@ -1,5 +1,7 @@ """Generic utilities.""" +from __future__ import annotations + import shlex import socket import threading