Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update to coactions/dynamic-matrix v3 (latest) #161

Merged
6 changes: 3 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: Determine matrix
id: generate_matrix
uses: coactions/matrix@main
uses: coactions/matrix@v3
with:
other_names: |
lint
Expand Down Expand Up @@ -48,8 +48,8 @@ jobs:
python -m pip install --upgrade pip
pip install tox>=4.0

- name: tox run -e ${{ matrix.passed_name }}
run: tox run -e ${{ matrix.passed_name }}
- name: ${{ matrix.name }}
run: ${{ matrix.command }}

check: # This job does nothing and is only used for the branch protection
if: always()
Expand Down
4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
---
default_language_version:
# Enforce use of py310 because pylint does not support py311 yet, causing
# failures for those happening to have that as default python.
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 # Use the ref you want to point at
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ filterwarnings = [
]

[[tool.mypy.overrides]]
python_version = "3.8"
module = [
"doc8._version",
"restructuredtext_lint",
"stevedore",
"tomli",
]
ignore_missing_imports = true

Expand Down
2 changes: 1 addition & 1 deletion src/doc8/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
from tomllib import load as toml_load # type: ignore
except ImportError:
# py3.10 or older
from tomli import load as toml_load
from tomli import load as toml_load # type: ignore[no-redef]

from stevedore import extension

Expand Down
Loading