Skip to content

Commit 23ca22e

Browse files
committed
style: fix for ruff and mypy
1 parent d8bc98b commit 23ca22e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ requires = ["poetry-core"]
3030
build-backend = "poetry.core.masonry.api"
3131

3232
[tool.ruff]
33-
line-length = 120
33+
line-length = 120
34+
35+
[tool.mypy]
36+
explicit_package_bases = true

tests/test_analyzers/test_commit_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import pytest
2-
31
from datetime import date
42

3+
import pytest
4+
55
from git_analytics.analyzers.commit_type import CommitTypeAnalyzer, _get_type_list
66
from tests.fakes import FAKE_COMMITS, FakeCommitSource
77

0 commit comments

Comments
 (0)