Skip to content

Commit

Permalink
Add official support for Python 3.13 (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja authored Aug 10, 2024
1 parent 4406e8a commit c1db293
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
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

0 comments on commit c1db293

Please sign in to comment.