Skip to content

Commit 22f1a84

Browse files
committed
chore: add mypy configuration
1 parent b008c56 commit 22f1a84

File tree

4 files changed

+52
-0
lines changed

4 files changed

+52
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ repos:
1919
rev: v1.13.0
2020
hooks:
2121
- id: mypy
22+
additional_dependencies: [pydantic]
2223
- repo: https://github.com/codespell-project/codespell
2324
rev: v2.3.0
2425
hooks:

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ funding = "https://github.com/sponsors/python-scim"
4242

4343
[dependency-groups]
4444
dev = [
45+
"mypy>=1.13.0",
4546
"pre-commit-uv>=4.1.4",
4647
"pytest>=8.2.1",
4748
"pytest-coverage>=0.0",
@@ -112,6 +113,11 @@ force-single-line = true
112113
[tool.ruff.format]
113114
docstring-code-format = true
114115

116+
[tool.mypy]
117+
plugins = [
118+
"pydantic.mypy"
119+
]
120+
115121
[tool.tox]
116122
requires = ["tox>=4.19"]
117123
env_list = [

scim2_cli/py.typed

Whitespace-only changes.

uv.lock

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)