diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f832bdf..b8a750d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,24 +1,22 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - - id: check-byte-order-marker + - id: fix-byte-order-marker - id: trailing-whitespace - id: end-of-file-fixer - - id: fix-encoding-pragma - args: [--remove] - id: check-yaml - repo: https://github.com/asottile/reorder-python-imports - rev: v3.14.0 + rev: v3.15.0 hooks: - id: reorder-python-imports args: ['--application-directories=.:src', --py3-plus] - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: [flake8-bugbear] @@ -35,7 +33,11 @@ repos: hooks: - id: autoflake - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v1.17.1 hooks: - id: mypy files: ^(src/|tests/) +- repo: https://github.com/asottile/pyupgrade + rev: v3.20.0 + hooks: + - id: pyupgrade diff --git a/src/pytest_flask/plugin.py b/src/pytest_flask/plugin.py index 6bb78d5..f9f1193 100644 --- a/src/pytest_flask/plugin.py +++ b/src/pytest_flask/plugin.py @@ -1,9 +1,9 @@ #!/usr/bin/env python """ - A py.test plugin which helps testing Flask applications. +A py.test plugin which helps testing Flask applications. - :copyright: (c) by Vital Kudzelka - :license: MIT +:copyright: (c) by Vital Kudzelka +:license: MIT """ from typing import Any from typing import List