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

make constants have synthetic root as their parent #2602

Merged
merged 3 commits into from
Oct 13, 2024

Commits on Oct 7, 2024

  1. make constants have synthetic root as their parent

    that fixes a bunch of tests in pylint.
    
    We also make the synthetic root a singleton, as opposed to a module
       built in the astroid manager. That allows us to use it as a default
       value in Const constructors.
    
    Note the changes to the test. Before, we in fact tested that constants
       don't have a parent. Is that reasonable? In fact, it seems like
       there are a variety of interpretations and we shouldn't commit to
       one by explicitly testing for a certain parent or lack thereof.
    temyurchenko committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    3969f5d View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    17c2f64 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. Add changelog

    jacobtylerwalls committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    c68607a View commit details
    Browse the repository at this point in the history