Skip to content

Commit ea2ca24

Browse files
committed
Support pandoc 3.6
1 parent 2a8ccfb commit ea2ca24

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
python-version: ['3.10', '3.11', '3.12', '3.13']
18-
pandoc-version: ['3.5']
18+
pandoc-version: ['3.6']
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Set up Python ${{ matrix.python-version }}
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
matrix:
3939
python-version: ['3.12']
40-
pandoc-version: [3.0.1, 3.1.13, 3.2.1, '3.3', '3.4', '3.5']
40+
pandoc-version: [3.0.1, 3.1.13, 3.2.1, '3.3', '3.4', '3.5', '3.6']
4141
steps:
4242
- uses: actions/checkout@v4
4343
- name: Set up Python ${{ matrix.python-version }}
@@ -59,7 +59,7 @@ jobs:
5959
strategy:
6060
matrix:
6161
python-version: ['3.12']
62-
pandoc-version: ['3.5']
62+
pandoc-version: ['3.6']
6363
steps:
6464
- uses: actions/checkout@v4
6565
- name: Set up Python
@@ -84,7 +84,7 @@ jobs:
8484
strategy:
8585
matrix:
8686
python-version: ['3.12']
87-
pandoc-version: ['3.5']
87+
pandoc-version: ['3.6']
8888
steps:
8989
- uses: actions/checkout@v4
9090
- name: Set up Python

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Installation
22
============
33

4-
[![Python package](https://github.com/chdemko/pandoc-latex-admonition/workflows/Python%20package/badge.svg?branch=develop)](https://github.com/chdemko/pandoc-latex-admonition/actions/workflows/python-package.yml)
4+
[![Python package](https://img.shields.io/github/actions/workflow/status/chdemko/pandoc-latex-admonition/python-package.yml?logo=github&branch=develop)](https://github.com/chdemko/pandoc-latex-admonition/actions/workflows/python-package.yml)
55
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
66
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
77
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://pypi.org/project/black/)
88
[![Coveralls](https://img.shields.io/coveralls/github/chdemko/pandoc-latex-admonition/develop.svg?logo=Codecov&logoColor=white)](https://coveralls.io/github/chdemko/pandoc-latex-admonition?branch=develop)
99
[![Scrutinizer](https://img.shields.io/scrutinizer/g/chdemko/pandoc-latex-admonition.svg?logo=scrutinizer)](https://scrutinizer-ci.com/g/chdemko/pandoc-latex-admonition/)
10-
[![Code Climate](https://codeclimate.com/github/chdemko/pandoc-latex-admonition/badges/gpa.svg)](https://codeclimate.com/github/chdemko/pandoc-latex-admonition/)
10+
[![Code Climate](https://img.shields.io/codeclimate/maintainability/chdemko/pandoc-latex-admonition?logo=codeclimate&barnch=develop)](https://codeclimate.com/github/chdemko/pandoc-latex-admonition/)
1111
[![CodeFactor](https://img.shields.io/codefactor/grade/github/chdemko/pandoc-latex-admonition/develop.svg?logo=codefactor)](https://www.codefactor.io/repository/github/chdemko/pandoc-latex-admonition)
1212
[![Codacy](https://img.shields.io/codacy/grade/443f4a26698a4ba0be5064fe9323f2a0.svg?logo=codacy)](https://app.codacy.com/gh/chdemko/pandoc-latex-admonition/dashboard)
1313
[![PyPI version](https://img.shields.io/pypi/v/pandoc-latex-admonition.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)
@@ -16,7 +16,7 @@ Installation
1616
[![Downloads](https://img.shields.io/pypi/dm/pandoc-latex-admonition?logo=pypi&logoColor=white)](https://pepy.tech/project/pandoc-latex-admonition)
1717
[![Development Status](https://img.shields.io/pypi/status/pandoc-latex-admonition.svg?llogo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)
1818
[![Python version](https://img.shields.io/pypi/pyversions/pandoc-latex-admonition.svg?logo=Python&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)
19-
[![Pandoc version](https://img.shields.io/badge/pandoc-3.0%20|%203.1%20|%203.2%20|%203.3%20|%203.4%20|%203.5-blue.svg?logo=markdown)](https://pandoc.org/)
19+
[![Pandoc version](https://img.shields.io/badge/pandoc-3.0%20..%203.6-blue.svg?logo=markdown)](https://pandoc.org/)
2020
[![Latest release](https://img.shields.io/github/release-date/chdemko/pandoc-latex-admonition.svg?logo=github)](https://github.com/chdemko/pandoc-latex-admonition/releases)
2121
[![Last commit](https://img.shields.io/github/last-commit/chdemko/pandoc-latex-admonition/develop?logo=github)](https://github.com/chdemko/pandoc-latex-admonition/commit/develop/)
2222
[![Repo Size](https://img.shields.io/github/repo-size/chdemko/pandoc-latex-admonition.svg?logo=github)](http://pandoc-latex-admonition.readthedocs.io/en/latest/)

pyproject.toml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dependencies = [
7272
"black[jupyter]~=24.10",
7373
# Style checkers
7474
"doc8~=1.1",
75-
"mypy~=1.12",
75+
"mypy~=1.13",
7676
"flake8~=7.1",
7777
"flake8-pyproject~=1.2",
7878
"flake8-annotations-complexity~=0.0",
@@ -100,7 +100,7 @@ dependencies = [
100100
"pydoclint[flake8]~=0.5",
101101
"teyit~=0.4",
102102
"refurb~=2.0",
103-
"ruff~=0.7"
103+
"ruff~=0.8"
104104
]
105105

106106
[tool.hatch.envs.hatch-static-analysis.scripts]
@@ -212,21 +212,23 @@ arg-type-hints-in-docstring = false
212212
style = "numpy"
213213

214214
[tool.mypy]
215-
disallow_any_generics = true
216-
disallow_subclassing_any = true
217-
# disallow_untyped_calls = true
218-
# disallow_untyped_defs = true
219-
# disallow_incomplete_defs = true
220-
# check_untyped_defs = true
221-
disallow_untyped_decorators = true
222215
ignore_missing_imports = true
223216
no_implicit_optional = true
224-
no_implicit_reexport = true
225-
warn_redundant_casts = true
226-
warn_return_any = true
227217
# equivalent to --strict option
228218
warn_unused_configs = true
219+
disallow_any_generics = true
220+
disallow_subclassing_any = true
221+
disallow_untyped_calls = true
222+
disallow_untyped_defs = true
223+
disallow_incomplete_defs = true
224+
check_untyped_defs = true
225+
disallow_untyped_decorators = true
226+
warn_redundant_casts = true
229227
warn_unused_ignores = true
228+
warn_return_any = true
229+
no_implicit_reexport = true
230+
strict_equality = true
231+
extra_checks = true
230232
mypy_path = "src"
231233

232234
[[tool.mypy.overrides]]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)