Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Oct 15, 2024
1 parent c4adcd0 commit 5ccac09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Dependencies for old python versions
pre-commit == 3.5.0; python_version < '3.9'
pytest == 7.4.4; python_version < '3.10'
sphinx == 7.4.7; python_version == '3.9'
sphinx == 7.1.2; python_version == '3.8'

# Current dependencies
pre-commit == 4.0.1; python_version >= '3.9'
pytest == 8.3.3; python_version >= '3.10'
sphinx == 8.1.3; python_version >= '3.10'
Expand Down
4 changes: 2 additions & 2 deletions src/sphinx_exec_code/sphinx_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
from pathlib import Path
from typing import Any
from typing import Any, Dict

from sphinx.application import Sphinx as SphinxApp

Expand All @@ -19,7 +19,7 @@ def builder_ready(app: SphinxApp) -> None:
SET_UTF8_ENCODING.from_app(app)


def setup(app) -> dict[str, Any]:
def setup(app) -> Dict[str, Any]:
""" Register sphinx_execute_code directive with Sphinx """

confdir = Path(app.confdir)
Expand Down

0 comments on commit 5ccac09

Please sign in to comment.