Skip to content

Commit

Permalink
chore: update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bellini666 committed Aug 17, 2023
1 parent 1e28934 commit d2261d6
Show file tree
Hide file tree
Showing 10 changed files with 217 additions and 239 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: check-xml
- id: check-symlinks
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.282
rev: v0.0.284
hooks:
- id: ruff
args:
Expand All @@ -33,7 +33,7 @@ repos:
- id: alex
exclude: CHANGELOG.md
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.1
rev: v3.0.2
hooks:
- id: prettier
files: ^docs/.*\.mdx?$
428 changes: 210 additions & 218 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ django-debug-toolbar = { version = ">=3.4", optional = true }
django-choices-field = { version = ">=2.2.2", optional = true }

[tool.poetry.group.dev.dependencies]
pre-commit = "^2.21.0"
pre-commit = "^3.3.3"
pytest = "^7.1.2"
pytest-asyncio = "^0.21.0"
pytest-django = "^4.1.0"
Expand All @@ -48,15 +48,15 @@ pytest-watch = "^4.2.0"
pytest-mock = "^3.5.1"
pytest-snapshot = "^0.9.0"
pytest-cov = "^4.0.0"
django-debug-toolbar = "^3.2.4"
django-debug-toolbar = "^4.2.0"
django-choices-field = "^2.2.2"
mkdocs = "^1.4.2"
mkdocs-markdownextradata-plugin = "^0.2.5"
mkdocs-material = "^9.0.4"
mkdocs-minify-plugin = "^0.6.2"
mkdocs-minify-plugin = "^0.7.1"
pymdown-extensions = "^10.0.1"
mkdocstrings = { version = "^0.22.0", extras = ["python"] }
ruff = "^0.0.280"
ruff = "^0.0.284"
django-types = "^0.17.0"
Markdown = "^3.3.7"
Pygments = "^2.15.1"
Expand Down
1 change: 0 additions & 1 deletion strawberry_django/descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"model_cached_property",
]

_T = TypeVar("_T")
_M = TypeVar("_M", bound=Model)
_R = TypeVar("_R")

Expand Down
1 change: 0 additions & 1 deletion strawberry_django/fields/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@


_T = TypeVar("_T")
_M = TypeVar("_M", bound=models.Model)


class StrawberryDjangoField(
Expand Down
5 changes: 1 addition & 4 deletions strawberry_django/mutations/fields.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

import inspect
from typing import TYPE_CHECKING, Any, Iterable, TypeVar
from typing import TYPE_CHECKING, Any, Iterable

import strawberry
from django.core.exceptions import (
Expand Down Expand Up @@ -39,9 +39,6 @@
from typing_extensions import Literal, Self


_M = TypeVar("_M", bound=models.Model)


def _get_validation_errors(error: Exception):
if isinstance(error, PermissionDenied):
kind = OperationMessage.Kind.PERMISSION
Expand Down
1 change: 0 additions & 1 deletion strawberry_django/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"optimize",
]

_T = TypeVar("_T")
_M = TypeVar("_M", bound=models.Model)

_sentinel = object()
Expand Down
1 change: 0 additions & 1 deletion strawberry_django/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
from strawberry.django.context import StrawberryDjangoContext


_T = TypeVar("_T")
_M = TypeVar("_M", bound=Model)


Expand Down
1 change: 0 additions & 1 deletion strawberry_django/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from graphql.pyutils import AwaitableOrValue

_SENTINEL = object()
_T = TypeVar("_T")
_R = TypeVar("_R")
_P = ParamSpec("_P")
_M = TypeVar("_M", bound=models.Model)
Expand Down
6 changes: 0 additions & 6 deletions strawberry_django/utils/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
List,
Optional,
Type,
TypeVar,
Union,
cast,
)
Expand Down Expand Up @@ -43,11 +42,6 @@

from .pyutils import DictTree, dicttree_insersection_differs, dicttree_merge

_T = TypeVar("_T")
_O = TypeVar("_O", bound=type)
_M = TypeVar("_M", bound=models.Model)
_R = TypeVar("_R")


@functools.lru_cache
def get_model_fields(
Expand Down

0 comments on commit d2261d6

Please sign in to comment.