Skip to content

Commit d2e5efc

Browse files
committed
Revert adding pyright
1 parent 7fbad9d commit d2e5efc

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,6 @@ repos:
7878
rev: v1.11.0
7979
hooks:
8080
- id: zizmor
81-
- repo: https://github.com/RobertCraigie/pyright-python
82-
rev: v1.1.403
83-
hooks:
84-
- id: pyright
85-
exclude: ^(docs|tests)/.*
86-
additional_dependencies:
87-
- pytest
88-
- nodeenv
8981
ci:
9082
skip:
9183
- actionlint-docker

pytest_asyncio/plugin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ def _from_function(cls, function: Function, /) -> Function:
392392
Function item.
393393
"""
394394
assert function.get_closest_marker("asyncio")
395-
assert function.parent is not None
396395
subclass_instance = cls.from_parent(
397396
function.parent,
398397
name=function.name,

0 commit comments

Comments
 (0)