Skip to content

Commit b12c83b

Browse files
tjkusonseifertm
authored andcommitted
Revert adding pyright
1 parent adab917 commit b12c83b

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
@@ -418,7 +418,6 @@ def _from_function(cls, function: Function, /) -> Function:
418418
Function item.
419419
"""
420420
assert function.get_closest_marker("asyncio")
421-
assert function.parent is not None
422421
subclass_instance = cls.from_parent(
423422
function.parent,
424423
name=function.name,

0 commit comments

Comments
 (0)