Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Aug 21, 2024
1 parent a584b92 commit c7db36f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion attr_utils/serialise.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
from toolz import curried # type: ignore

# 3rd party
from attr import asdict, fields
from attrs import asdict, fields

__all__ = ["serde"]

Expand Down
4 changes: 2 additions & 2 deletions attr_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
from typing import TYPE_CHECKING, Tuple

# 3rd party
from attr import Attribute
from attrs import Attribute

__all__ = ["AttrsClass"]

if TYPE_CHECKING:
# 3rd party
from attr import AttrsInstance as AttrsClass
from attrs import AttrsInstance as AttrsClass
else:
# 3rd party
from typing_extensions import Protocol, runtime_checkable
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ autodoc_exclude_members = [
[tool.dep_checker]
allowed_unused = [ "toolz",]

[tool.dep_checker.name_mapping]
attrs = "attr"

[tool.whey]
base-classifiers = [
"Intended Audience :: Developers",
Expand Down
2 changes: 1 addition & 1 deletion tests/attrs_serde_tests/snapshots/snap_test_dict.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# snapshottest: v1 - https://goo.gl/zC4yUc

# 3rd party
from snapshottest import Snapshot
from snapshottest import Snapshot # type: ignore

snapshots = Snapshot()

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import asyncio # noqa: F401 # Fixes intermittent error where the import causes a KeyError
import pathlib

pytest_plugins = ("coincidence", "sphinx_toolbox.testing", "snapshottest.pytest")
pytest_plugins = ("coincidence", "sphinx_toolbox.testing")

repo_root = pathlib.Path(__file__).parent.parent

Expand Down

0 comments on commit c7db36f

Please sign in to comment.