Skip to content

Commit 27c6a6e

Browse files
author
matmoncon
committed
chore: update pyright config
1 parent b4468f9 commit 27c6a6e

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
".neo4j_data": true,
2424
".coverage": true,
2525
".venv": true
26-
}
26+
},
27+
"cSpell.words": [
28+
"pyneo"
29+
]
2730
}

pyneo4j_ogm/fields/relationship_property.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
which defines the other end of the relationship.
44
"""
55

6-
# pyright: reportUnboundVariable=false
7-
86
import asyncio
97
from asyncio import iscoroutinefunction
108
from enum import Enum

pyneo4j_ogm/fields/settings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Settings for model classes.
33
"""
44

5-
# pyright: reportUnboundVariable=false
6-
75
from typing import Callable, Dict, List, Optional, Set, Union
86

97
from pydantic import BaseModel

pyneo4j_ogm/pydantic_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Utility functions for staying compatible with Pydantic V1 and V2
33
"""
44

5-
# pyright: reportUnboundVariable=false
6-
75
from typing import Any, Type, Union
86

97
import pydantic

pyneo4j_ogm/queries/validators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Pydantic validators for query operators and filters.
33
"""
44

5-
# pyright: reportUnboundVariable=false
65
# pylint: disable=unused-argument
76

87
from typing import Any, Dict, List, Literal, Optional, Type, Union

pyrightconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"reportIncompatibleVariableOverride": false,
33
"reportInvalidTypeForm": false,
4-
"reportIncompatibleMethodOverride": false
4+
"reportIncompatibleMethodOverride": false,
5+
"reportUnboundVariable": false
56
}

0 commit comments

Comments
 (0)