Skip to content

Commit

Permalink
Support pandoc 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko committed Dec 17, 2024
1 parent 98d4564 commit a7dc114
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
pandoc-version: ['3.5']
pandoc-version: ['3.6']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
python-version: ['3.12']
pandoc-version: [3.0.1, 3.1.13, 3.2.1, '3.3', '3.4', '3.5']
pandoc-version: [3.0.1, 3.1.13, 3.2.1, '3.3', '3.4', '3.5', '3.6']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -59,7 +59,7 @@ jobs:
strategy:
matrix:
python-version: ['3.12']
pandoc-version: ['3.5']
pandoc-version: ['3.6']
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -84,7 +84,7 @@ jobs:
strategy:
matrix:
python-version: ['3.12']
pandoc-version: ['3.5']
pandoc-version: ['3.6']
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Installation
============

[![Python package](https://github.com/chdemko/pandoc-figure/workflows/Python%20package/badge.svg?branch=develop)](https://github.com/chdemko/pandoc-figure/actions/workflows/python-package.yml)
[![Python package](https://img.shields.io/github/actions/workflow/status/chdemko/pandoc-figure/python-package.yml?logo=github&branch=develop)](https://github.com/chdemko/pandoc-figure/actions/workflows/python-package.yml)
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://pypi.org/project/black/)
[![Coveralls](https://img.shields.io/coveralls/github/chdemko/pandoc-figure/develop.svg?logo=Codecov&logoColor=white)](https://coveralls.io/github/chdemko/pandoc-figure?branch=develop)
[![Scrutinizer](https://img.shields.io/scrutinizer/g/chdemko/pandoc-figure.svg?logo=scrutinizer)](https://scrutinizer-ci.com/g/chdemko/pandoc-figure/)
[![Code Climate](https://img.shields.io/codeclimate/maintainability/chdemko/pandoc-figure?logo=codeclimate&barnch=develop)](https://codeclimate.com/github/chdemko/pandoc-figure/)
[![Code Climate](https://codeclimate.com/github/chdemko/pandoc-figure/badges/gpa.svg)](https://codeclimate.com/github/chdemko/pandoc-figure/)
[![CodeFactor](https://img.shields.io/codefactor/grade/github/chdemko/pandoc-figure/develop.svg?logo=codefactor)](https://www.codefactor.io/repository/github/chdemko/pandoc-figure)
[![Codacy](https://img.shields.io/codacy/grade/36051716c52147bca7a7f4c1ca6bc998.svg?logo=codacy)](https://app.codacy.com/gh/chdemko/pandoc-figure/dashboard)
Expand All @@ -16,7 +17,7 @@ Installation
[![Downloads](https://img.shields.io/pypi/dm/pandoc-figure?logo=pypi&logoColor=white)](https://pepy.tech/project/pandoc-figure)
[![Development Status](https://img.shields.io/pypi/status/pandoc-figure.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-figure/)
[![Python version](https://img.shields.io/pypi/pyversions/pandoc-figure.svg?logo=Python&logoColor=white)](https://pypi.org/project/pandoc-figure/)
[![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/)
[![Pandoc version](https://img.shields.io/badge/pandoc-3.0%20..%203.6-blue.svg?logo=markdown)](https://pandoc.org/)
[![Latest release](https://img.shields.io/github/release-date/chdemko/pandoc-figure.svg?logo=github)](https://github.com/chdemko/pandoc-figure/releases)
[![Last commit](https://img.shields.io/github/last-commit/chdemko/pandoc-figure/develop?logo=github)](https://github.com/chdemko/pandoc-figure/commit/develop/)
[![Repo Size](https://img.shields.io/github/repo-size/chdemko/pandoc-figure.svg?logo=github)](http://pandoc-figure.readthedocs.io/en/latest/)
Expand Down
26 changes: 14 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ dependencies = [
"black[jupyter]~=24.10",
# Style checkers
"doc8~=1.1",
"mypy~=1.12",
"mypy~=1.13",
"flake8~=7.1",
"flake8-pyproject~=1.2",
"flake8-annotations-complexity~=0.0",
Expand Down Expand Up @@ -100,7 +100,7 @@ dependencies = [
"pydoclint[flake8]~=0.5",
"teyit~=0.4",
"refurb~=2.0",
"ruff~=0.7"
"ruff~=0.8"
]

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

[tool.mypy]
disallow_any_generics = true
disallow_subclassing_any = true
# disallow_untyped_calls = true
# disallow_untyped_defs = true
# disallow_incomplete_defs = true
# check_untyped_defs = true
disallow_untyped_decorators = true
ignore_missing_imports = true
no_implicit_optional = true
no_implicit_reexport = true
warn_redundant_casts = true
warn_return_any = true
# equivalent to --strict option
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
strict_equality = true
extra_checks = true
mypy_path = "src"

[[tool.mypy.overrides]]
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a7dc114

Please sign in to comment.