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

A class variable that overrides an instance variable should still display as instance variable #692

Merged
merged 12 commits into from
Sep 10, 2023

Conversation

tristanlatr
Copy link
Contributor

Fixes #671

…one, as soon as a class variable has an inherited member of type instance variable, it become an instance variable as well.
@codecov
Copy link

codecov bot commented Apr 8, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02% 🎉

Comparison is base (f8e80c9) 92.66% compared to head (9378616) 92.68%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #692      +/-   ##
==========================================
+ Coverage   92.66%   92.68%   +0.02%     
==========================================
  Files          47       47              
  Lines        8169     8180      +11     
  Branches     1955     1959       +4     
==========================================
+ Hits         7570     7582      +12     
  Misses        343      343              
+ Partials      256      255       -1     
Files Changed Coverage Δ
pydoctor/model.py 94.70% <100.00%> (+0.06%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tristanlatr tristanlatr requested a review from a team April 21, 2023 14:56
@tristanlatr
Copy link
Contributor Author

It’s missing a change log entry. But otherwise looks good to me.

pydoctor/model.py Outdated Show resolved Hide resolved
@tristanlatr tristanlatr merged commit 4e05370 into master Sep 10, 2023
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.

A class variable that overrides an instance variable should still display as instance variable.
1 participant