Skip to content

Commit

Permalink
Update mypy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vxgmichel committed May 6, 2024
1 parent a6b89d6 commit e697eb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
rev: v1.6.1
hooks:
- id: mypy
files: ^(?!tests)
additional_dependencies: [pytest, typing-extensions]
types: [python]
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.361
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ addopts = "--strict-markers --cov aiostream"
strict = []

[tool.mypy]
strict = true
packages = ["aiostream", "examples"]

[tool.mypy-aiostream]
strict = true

[tool.mypy-examples]
strict = true

[tool.black]
line-length = 88
target_version = ["py38", "py39", "py310", "py311", "py312"]
Expand Down

0 comments on commit e697eb9

Please sign in to comment.