Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Aug 23, 2022
1 parent 295c39a commit 25cc441
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/todomvc/tests/test_routing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Generator

import pytest

from playwright.sync_api import Page, expect
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ warn_redundant_casts = true
warn_unused_configs = true
check_untyped_defs = true
disallow_untyped_defs = true
exclude = ["^examples/.*$"]

[[tool.mypy.overrides]]
module = "tests/async.*"
Expand All @@ -31,7 +32,7 @@ profile = "black"

[tool.pyright]
include = ["playwright", "tests/sync"]
ignore = ["tests/async/", "scripts/"]
ignore = ["tests/async/", "scripts/", "examples/"]
pythonVersion = "3.7"
reportMissingImports = false
reportTypedDictNotRequiredAccess = false

0 comments on commit 25cc441

Please sign in to comment.