Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Broken mypy support #351

@chrisjsewell

Description

@chrisjsewell

Heya, after this commit: 29ec9c3,
mypy (and I imagine other static analysers) can no longer determine that the EntryPoint has name, value and group attributes.

Was there a reason for doing this:

    def __init__(self, *, name, value, group):
        vars(self).update(name=name, value=value, group=group)

rather than the conventional

    def __init__(self, *, name, value, group):
        self.name = name
        self.value = value
        self.group = group

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions