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

Add official support for Python 3.13 #227

Merged
merged 2 commits into from
Aug 10, 2024
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- 3.13.0-rc.1
platform:
- ubuntu-latest
- macos-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit autoupdate
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
- id: end-of-file-fixer
name: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.10
rev: v0.5.7
hooks:
- id: ruff
args:
Expand Down Expand Up @@ -79,7 +79,7 @@ repos:
name: editorconfig-checker
alias: ec
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.11.1
hooks:
- id: mypy
name: mypy-mkdocs-1.5.0
Expand All @@ -89,7 +89,7 @@ repos:
- platformdirs
- wcmatch
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.11.1
hooks:
- id: mypy
name: mypy-mkdocs-1.6.0
Expand Down
17 changes: 9 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mkdocs-include-markdown-plugin"
version = "6.2.1"
version = "6.2.2"
description = "Mkdocs Markdown includer plugin."
readme = "README.md"
license = "Apache-2.0"
Expand All @@ -19,12 +19,13 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
keywords = ["markdown", "mkdocs", "includer", "plugin"]
dependencies = [
"mkdocs>=1.4",
"wcmatch>=8,<9"
"wcmatch"
]

[[project.authors]]
Expand Down Expand Up @@ -73,7 +74,7 @@ matrix-name-format = "{variable}-{value}"
dependencies = ["pytest~=7.0", "coverage~=6.4", "covdefaults"]

[[tool.hatch.envs.tests.matrix]]
python = ["py38", "py39", "py310", "py311", "py312"]
python = ["py38", "py39", "py310", "py311", "py312", "py313"]
mkdocs = ["1.4.0", "1.4.3", "1.5.0", "1.5.3", "1.6.0"]
cache = ["yes", "no"]

Expand Down Expand Up @@ -104,9 +105,9 @@ targets = [{ file = "pyproject.toml" }]
[tool.project-config]
cache = "2 days"
style = [
"gh://mondeja/project-config-styles@v5.2.1/base/pre-commit/md2po2md.json5",
"gh://mondeja/project-config-styles@v5.2.1/python/base.json5",
"gh://mondeja/project-config-styles@v5.2.1/python/mypy.json5",
"gh://mondeja/project-config-styles@v5.3/base/pre-commit/md2po2md.json5",
"gh://mondeja/project-config-styles@v5.3/python/base.json5",
"gh://mondeja/project-config-styles@v5.3/python/mypy.json5",
]

[tool.coverage.run]
Expand Down Expand Up @@ -203,7 +204,7 @@ extra-standard-library = [

[tool.mypy]
strict = true
python_version = "3.11"
python_version = "3.12"
allow_untyped_calls = true
allow_any_generics = true

Expand Down
Loading