Skip to content

Commit 9739b82

Browse files
committed
Fix lint
1 parent 5c02d9e commit 9739b82

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ jobs:
1010
- uses: actions/setup-python@v4
1111
with:
1212
python-version: "3.10"
13-
- name: pre-commit
14-
run: |
15-
python -m pip install pre-commit
16-
pre-commit run --show-diff-on-failure --all-files
13+
- uses: pre-commit/[email protected]
1714
tests:
1815
name: pytest
1916
runs-on: ubuntu-latest

graphene_pydantic/converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def convert_pydantic_field(
137137
field_type = field_kwargs.pop("type", field_kwargs.pop("type_", None))
138138
if field_type is None:
139139
raise ValueError("No field type could be determined.")
140-
140+
141141
resolver_function = getattr(parent_type,
142142
"resolve_" + field.name,
143143
None)

0 commit comments

Comments
 (0)