Skip to content

Commit

Permalink
Move mypy section from setup.cfg to pyproject.toml (PR #102)
Browse files Browse the repository at this point in the history
  • Loading branch information
vxgmichel authored May 5, 2024
2 parents f6fba0d + 3f5c84e commit 408b348
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 2 additions & 0 deletions aiostream/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# type: ignore
"""Utilities for testing stream operators."""

from __future__ import annotations

import asyncio
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ addopts = "--strict-markers --cov aiostream"

[tool.pyright]
ignore = ["aiostream/test_utils.py"]

[tool.mypy]
strict = true
packages = ["aiostream", "examples"]
7 changes: 0 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,3 @@ exclude_lines =
[flake8]
max-line-length = 88
ignore = F401, F403, E731, W503, E501, E203

[mypy]
strict = True
packages = aiostream, examples

[mypy-aiostream.test_utils]
ignore_errors = True

0 comments on commit 408b348

Please sign in to comment.