Skip to content

Commit 08e91b5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 34defbf commit 08e91b5

6 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/interrogate/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright 2020-2024 Lynn Root
22
"""Explain yourself! Interrogate a codebase for docstring coverage."""
3+
34
__author__ = "Lynn Root"
45
__version__ = "1.7.0"
56
__email__ = "lynn@lynnroot.com"

src/interrogate/badge_gen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
Inspired by `coverage-badge <https://github.com/dbrgn/coverage-badge>`_.
55
"""
6+
67
from __future__ import annotations
78

89
import os

src/interrogate/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"""
33
Configuration-related helpers.
44
"""
5+
56
# Adapted from Black https://github.com/psf/black/blob/master/black.py.
67

78
from __future__ import annotations

src/interrogate/visit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright 2020-2024 Lynn Root
22
"""AST traversal for finding docstrings."""
3+
34
from __future__ import annotations
45

56
import ast

tests/functional/sample/full.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright 2020-2024 Lynn Root
22
"""Sample module-level docs"""
3+
34
import typing
45

56
from typing import overload

tests/functional/sample/partial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright 2020-2024 Lynn Root
22
"""Sample module-level docs"""
3+
34
import typing
45

56
from typing import overload

0 commit comments

Comments
 (0)