Skip to content

Commit 7bfe360

Browse files
authored
Add type checking lint (#109)
1 parent c46f6ba commit 7bfe360

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22

33
updates:
4-
- package-ecosystem: pip
4+
- package-ecosystem: uv
55
directory: '/'
66
schedule:
77
interval: weekly

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ select = [
5050
"C4", # flake8-comprehensions
5151
"SIM", # flake8-simplify
5252
"TID", # flake8-tidy-imports
53+
"TC", # flake8-type-checking
5354
"RUF", # Ruff-specific rules
5455
]
5556
ignore = [
@@ -71,6 +72,9 @@ convention = "google"
7172
[tool.ruff.lint.flake8-tidy-imports]
7273
ban-relative-imports = "all"
7374

75+
[tool.ruff.lint.flake8-type-checking]
76+
strict = true
77+
7478
[tool.mypy]
7579
files = "src"
7680
mypy_path = "src"

0 commit comments

Comments
 (0)