diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 70ae099..a80f344 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,18 @@ repos: - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.16.2" + rev: "v2.29.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.2 + rev: v0.16.5 hooks: - id: ruff-check args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.19.1' + rev: 'v2.3.1' hooks: - id: mypy args: [] diff --git a/pyproject.toml b/pyproject.toml index 9f0e521..27e69e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,8 +60,8 @@ lint.extend-select = [ lint.isort.force-single-line = true lint.isort.known-first-party = [ "iniconfig" ] -[tool.pytest] -ini_options.testpaths = "testing" - [tool.mypy] strict = true + +[tool.pytest] +ini_options.testpaths = "testing" diff --git a/src/iniconfig/__init__.py b/src/iniconfig/__init__.py index b84809f..ddb97a3 100644 --- a/src/iniconfig/__init__.py +++ b/src/iniconfig/__init__.py @@ -10,7 +10,7 @@ from typing import TypeVar from typing import overload -__all__ = ["IniConfig", "ParseError", "COMMENTCHARS", "iscommentline"] +__all__ = ["COMMENTCHARS", "IniConfig", "ParseError", "iscommentline"] from . import _parse from ._parse import COMMENTCHARS