Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add signature for attr.evolve #14526

Merged
merged 21 commits into from
Mar 6, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
teach fixtures about dict for kwargs
  • Loading branch information
ikonst committed Jan 27, 2023
commit 46026fed1664080d5167f3545c38570a0f14af2c
1 change: 1 addition & 0 deletions test-data/unit/fixtures/attr.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ class complex:
class str: pass
class ellipsis: pass
class tuple: pass
class dict: pass
1 change: 1 addition & 0 deletions test-data/unit/fixtures/bool.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ class bool(int): pass
class float: pass
class str: pass
class ellipsis: pass
class dict: pass
class list(Generic[T]): pass
class property: pass
1 change: 1 addition & 0 deletions test-data/unit/fixtures/callable.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ class str:
def __eq__(self, other: 'str') -> bool: pass
class ellipsis: pass
class list: ...
class dict: pass
1 change: 1 addition & 0 deletions test-data/unit/fixtures/classmethod.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ class str: pass
class bytes: pass
class bool: pass
class ellipsis: pass
class dict: pass

class tuple(typing.Generic[_T]): pass
1 change: 1 addition & 0 deletions test-data/unit/fixtures/exception.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class int: pass
class str: pass
class bool: pass
class ellipsis: pass
class dict: pass

class BaseException:
def __init__(self, *args: object) -> None: ...
Expand Down
1 change: 1 addition & 0 deletions test-data/unit/fixtures/list.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ class float:
class str:
def __len__(self) -> bool: pass
class bool(int): pass
class dict: pass

property = object() # Dummy definition.
1 change: 1 addition & 0 deletions test-data/unit/fixtures/tuple.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class bool(int): pass
class str: pass # For convenience
class bytes: pass
class bytearray: pass
class dict: pass

class list(Sequence[T], Generic[T]):
@overload
Expand Down