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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy