Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix/attrs init overload #19104

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

Open
wants to merge 24 commits into
base: master
Choose a base branch
Loading
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0ecd910
Fix handling of overloaded __init__ methods in attrs plugin
uko3211 May 18, 2025
f6c8dfd
Fix: handle CallableType resolution for attrs __init__
uko3211 May 18, 2025
989c9f3
Fix: Add exception handling and resolve issues caused by AnyType
uko3211 May 19, 2025
c375805
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 19, 2025
58a1d3d
Fix: Add exception handling and resolve issues caused by AnyType and …
uko3211 May 19, 2025
22c8dfd
Fix: return Anytype
uko3211 May 19, 2025
166776b
Fix: return Anytype on _get_expanded_attr_types
uko3211 May 19, 2025
04766f7
Add unit tests to verify fix for #19003 involving overloaded __init__…
uko3211 May 21, 2025
3b725e9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 21, 2025
34e831b
Add unit tests to verify fix for #19003 involving overloaded __init__…
uko3211 May 21, 2025
9065f79
Added error test case for overloaded custom __init__
uko3211 May 21, 2025
bd929fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 21, 2025
ad415cb
Added error test case for overloaded custom __init__
uko3211 May 21, 2025
93db908
add plugin_generated check
uko3211 May 23, 2025
c4716de
fix test case
uko3211 May 23, 2025
0d0e8d3
fix/check-plugin-attrs.test&attrs.py_2\
uko3211 May 23, 2025
83feade
add attrs.py function
uko3211 May 23, 2025
6382550
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 23, 2025
b82db50
change getattr -> .plugin_generated && fix nodes.py
uko3211 May 24, 2025
b6c0b1a
edit check-plugin-attrs.test checking error
uko3211 May 24, 2025
e1821c6
edit check-plugin-attrs.test error fix
uko3211 May 24, 2025
20c8ab5
Changes have been made based on the feedback
uko3211 May 29, 2025
ae37831
Changes have been made based on the feedback and fixed mistake
uko3211 May 29, 2025
6a45089
Merge branch 'master' into fix/attrs-init-overload
uko3211 May 30, 2025
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
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 21, 2025
commit bd929fb48790cb189b9643149ab7ba58fe7f5073
2 changes: 1 addition & 1 deletion 2 test-data/unit/check-plugin-attrs.test
Original file line number Diff line number Diff line change
Expand Up @@ -2543,4 +2543,4 @@ class C:

obj = C(1)
attrs.evolve(obj, x=2) # E: Argument 1 to "evolve" has incompatible type "C"; expected an attrs class
[builtins fixtures/plugin_attrs.pyi]
[builtins fixtures/plugin_attrs.pyi]
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.