diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f981dd0..554f33b 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 }} @@ -37,7 +37,7 @@ jobs: strategy: matrix: python-version: ['3.12'] - pandoc-version: [2.11.4, '2.12', '2.13', 2.14.2, '2.15', 2.16.2, 2.17.1.1, '2.18', 2.19.2, 3.0.1, 3.1.13, 3.2.1, '3.3'] + pandoc-version: [2.11.4, '2.12', '2.13', 2.14.2, '2.15', 2.16.2, 2.17.1.1, '2.18', 2.19.2, 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 }} @@ -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 @@ -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 diff --git a/README.md b/README.md index f0aacf7..23bdb0c 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ Installation ============ -[![Python package](https://github.com/chdemko/pandoc-beamer-block/workflows/Python%20package/badge.svg?branch=develop)](https://github.com/chdemko/pandoc-beamer-block/actions/workflows/python-package.yml) +[![Python package](https://img.shields.io/github/actions/workflow/status/chdemko/pandoc-beamer-block/python-package.yml?logo=github&branch=develop)](https://github.com/chdemko/pandoc-beamer-block/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-beamer-block/develop.svg?logo=Codecov&logoColor=white)](https://coveralls.io/github/chdemko/pandoc-beamer-block?branch=develop) [![Scrutinizer](https://img.shields.io/scrutinizer/g/chdemko/pandoc-beamer-block.svg?logo=scrutinizer)](https://scrutinizer-ci.com/g/chdemko/pandoc-beamer-block/) -[![Code Climate](https://codeclimate.com/github/chdemko/pandoc-beamer-block/badges/gpa.svg)](https://codeclimate.com/github/chdemko/pandoc-beamer-block/) +[![Code Climate](https://img.shields.io/codeclimate/maintainability/chdemko/pandoc-beamer-block?logo=codeclimate&barnch=develop)](https://codeclimate.com/github/chdemko/pandoc-beamer-block/) [![CodeFactor](https://img.shields.io/codefactor/grade/github/chdemko/pandoc-beamer-block/develop.svg?logo=codefactor)](https://www.codefactor.io/repository/github/chdemko/pandoc-beamer-block) [![Codacy](https://img.shields.io/codacy/grade/af5a670790264990811713280a8f8dcf.svg?logo=codacy&logoColor=white)](https://app.codacy.com/gh/chdemko/pandoc-beamer-block/dashboard) [![PyPI version](https://img.shields.io/pypi/v/pandoc-beamer-block.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-beamer-block/) @@ -16,7 +16,7 @@ Installation [![Downloads](https://img.shields.io/pypi/dm/pandoc-beamer-block?logo=pypi&logoColor=white)](https://pepy.tech/project/pandoc-beamer-block) [![Development Status](https://img.shields.io/pypi/status/pandoc-beamer-block.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-beamer-block/) [![Python version](https://img.shields.io/pypi/pyversions/pandoc-beamer-block.svg?logo=Python&logoColor=white)](https://pypi.org/project/pandoc-beamer-block/) -[![Pandoc version](https://img.shields.io/badge/pandoc-2.11%20|%202.12%20|%202.13%20|%202.14%20|%202.15%20|%202.16%20|%202.17%20|%202.18%20|%202.19%20|%203.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-2.11%20..%203.6-blue.svg?logo=markdown)](https://pandoc.org/) [![Latest release](https://img.shields.io/github/release-date/chdemko/pandoc-beamer-block.svg?logo=github)](https://github.com/chdemko/pandoc-beamer-block/releases) [![Last commit](https://img.shields.io/github/last-commit/chdemko/pandoc-beamer-block/develop?logo=github)](https://github.com/chdemko/pandoc-beamer-block/commit/develop/) [![Repo Size](https://img.shields.io/github/repo-size/chdemko/pandoc-beamer-block.svg?logo=github)](http://pandoc-beamer-block.readthedocs.io/en/latest/) diff --git a/pyproject.toml b/pyproject.toml index 8ae2654..4f09597 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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]] diff --git a/uv.lock b/uv.lock index a7a7eaa..c51791f 100644 --- a/uv.lock +++ b/uv.lock @@ -24,7 +24,7 @@ wheels = [ [[package]] name = "pandoc-beamer-block" -version = "1.0.0.6.post1.dev6" +version = "1.0.0.6.post1.dev7" source = { editable = "." } dependencies = [ { name = "panflute" },