From c92445ab9e4d70f46092d02f8e5525f1ed5e8a93 Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Tue, 1 Oct 2024 03:59:23 -0700 Subject: [PATCH] Update scanner.py --- githooks/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/githooks/scanner.py b/githooks/scanner.py index e183448..23898c7 100644 --- a/githooks/scanner.py +++ b/githooks/scanner.py @@ -10,7 +10,7 @@ class CommitMessageScanner: """ def __init__(self, commit_flname: str) -> None: - self.commit_flname = commit_flname + self.commit_flname: str = commit_flname self.commit_lines: list[str] = [] self.subject_line: str = "" self.subject_tags: set[str] = set()