diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c618af..d4cdf97 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 additional_dependencies: @@ -12,14 +12,16 @@ repos: - pygments args: - --config=.flake8 + name: flake8-7.1.1 - repo: https://github.com/ambv/black - rev: 24.2.0 + rev: 24.10.0 hooks: - id: black args: - --line-length=79 + name: black-24.10.0 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.14.1 hooks: - id: mypy files: \.py$ @@ -27,3 +29,4 @@ repos: additional_dependencies: - types-PyYAML - types-setuptools + name: mypy-1.14.1 diff --git a/src/e3/testsuite/report/display.py b/src/e3/testsuite/report/display.py index c070188..01a11ca 100644 --- a/src/e3/testsuite/report/display.py +++ b/src/e3/testsuite/report/display.py @@ -456,7 +456,7 @@ def display_failures( ) -def main(argv: Optional[List[str]] = None) -> None: +def main(argv: Optional[List[str]] = None) -> int: args = args_parser.parse_args(argv) new_index = ReportIndex.read(args.report) old_index = ( diff --git a/tox.ini b/tox.ini index 17cbc7a..392f177 100644 --- a/tox.ini +++ b/tox.ini @@ -23,11 +23,11 @@ commands= [testenv:checkstyle] basepython = python deps = - black==24.2.0 - flake8==7.0.0 + black==24.10.0 + flake8==7.1.1 flake8-docstrings flake8-rst-docstrings - mypy==1.8.0 + mypy==1.14.1 types-PyYAML types-setuptools commands =