Skip to content

[Backport maintenance/3.3.x] Include subclasses of standard property classes as property decorators #2755

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

Merged
merged 1 commit into from
May 20, 2025

Conversation

pylint-backport-bot[bot]
Copy link

Backport 30128b7 from #2735.

#2735)

* Include subclasses of standard property types as property decorators

* Modify astroid.bases and tests.test_nodes to reflect that enum.property was added in Python 3.11, not 3.10

* Apply suggestions from code review

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>

---------

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
(cherry picked from commit 30128b7)
@DanielNoord DanielNoord enabled auto-merge (rebase) May 20, 2025 19:27
Copy link

codecov bot commented May 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (maintenance/3.3.x@18f9626). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                  @@
##             maintenance/3.3.x    #2755   +/-   ##
====================================================
  Coverage                     ?   93.11%           
====================================================
  Files                        ?       93           
  Lines                        ?    11089           
  Branches                     ?        0           
====================================================
  Hits                         ?    10326           
  Misses                       ?      763           
  Partials                     ?        0           
Flag Coverage Δ
linux 92.96% <100.00%> (?)
pypy 93.11% <100.00%> (?)
windows 93.10% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
astroid/bases.py 88.77% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DanielNoord DanielNoord merged commit bf3977c into maintenance/3.3.x May 20, 2025
18 checks passed
@DanielNoord DanielNoord deleted the backport-2735-to-maintenance/3.3.x branch May 20, 2025 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants