diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b627fe9..f68235a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,10 +11,10 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -40,10 +40,10 @@ jobs: - version: '3.8' toxenv: 'py38' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python.version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python.version }} @@ -56,10 +56,10 @@ jobs: typecheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -72,10 +72,10 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -93,10 +93,10 @@ jobs: id-token: write contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: 3.9 diff --git a/docs/conf.py b/docs/conf.py index e55ef2f..5cd7c0d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,6 +47,7 @@ # ones. extensions = [ "sphinx.ext.autodoc", + "sphinx.ext.autodoc.typehints", "sphinx.ext.doctest", "sphinx.ext.intersphinx", "sphinx.ext.todo", diff --git a/setup.cfg b/setup.cfg index 698c687..4768c4c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -44,7 +44,6 @@ exclude = [options.extras_require] docs = sphinx>=7.2.2 - sphinx-autodoc-typehints>=1.24.0 sphinx-autobuild>=2021.3.14 ######################