Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9.0-rc.1]
python-version: [3.7, 3.8, 3.9, '3.10']
os: [ubuntu-latest, windows-latest]

steps:
Expand Down
4 changes: 3 additions & 1 deletion mdformat_footnote/plugin.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from __future__ import annotations

from collections.abc import Mapping
import textwrap
from typing import Mapping

from markdown_it import MarkdownIt
from mdformat.renderer import RenderContext, RenderTreeNode
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ classifiers = [
]
keywords = "mdformat,markdown,markdown-it"

requires-python=">=3.6"
requires-python=">=3.7"
requires=["mdformat >=0.7.8,<0.8.0",
"mdit-py-plugins",
]
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[tox]
envlist = py{36,37,38,39}
envlist = py{37,38,39,310}
isolated_build = True

[testenv:py{36,37,38,39}]
[testenv:py{37,38,39,310}]
extras = test
commands = pytest {posargs}

[testenv:py{36,37,38,39}-cov]
[testenv:py{37,38,39,310}-cov]
extras = test
commands = pytest --cov={envsitepackagesdir}/mdformat_footnote {posargs}

[testenv:py{36,37,38,39}-pre-commit]
[testenv:py{37,38,39,310}-pre-commit]
extras = dev
commands = pre-commit run {posargs}

[testenv:py{36,37,38,39}-hook]
[testenv:py{37,38,39,310}-hook]
extras = dev
commands = pre-commit run --config .pre-commit-test.yaml {posargs:--all-files --verbose --show-diff-on-failure}

Expand Down