Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,38 @@ ci:

repos:
- repo: https://github.com/econchick/interrogate
rev: 1.6.0
rev: 1.7.0
hooks:
- id: interrogate
exclude: ^(docs/conf.py|setup.py|tests/functional/sample)
args: [--config=pyproject.toml]

- repo: https://github.com/psf/black
rev: 24.3.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.3.1
hooks:
- id: black
exclude: ^(tests/functional/sample/full.pyi)

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.21.2
hooks:
- id: pyupgrade
args: [--py38-plus]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 8.0.1
hooks:
- id: isort
additional_dependencies: [toml]

- repo: https://github.com/pycqa/flake8
rev: 7.0.0
rev: 7.3.0
hooks:
- id: flake8
exclude: ^(tests/functional/sample)

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down
1 change: 1 addition & 0 deletions src/interrogate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020-2024 Lynn Root
"""Explain yourself! Interrogate a codebase for docstring coverage."""

__author__ = "Lynn Root"
__version__ = "1.7.0"
__email__ = "lynn@lynnroot.com"
Expand Down
1 change: 1 addition & 0 deletions src/interrogate/badge_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

Inspired by `coverage-badge <https://github.com/dbrgn/coverage-badge>`_.
"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions src/interrogate/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"""
Configuration-related helpers.
"""

# Adapted from Black https://github.com/psf/black/blob/master/black.py.

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions src/interrogate/visit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020-2024 Lynn Root
"""AST traversal for finding docstrings."""

from __future__ import annotations

import ast
Expand Down
1 change: 1 addition & 0 deletions tests/functional/sample/full.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020-2024 Lynn Root
"""Sample module-level docs"""

import typing

from typing import overload
Expand Down
1 change: 1 addition & 0 deletions tests/functional/sample/partial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020-2024 Lynn Root
"""Sample module-level docs"""

import typing

from typing import overload
Expand Down
Loading