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

Ignore classes by using comments #71

Open
ariebovenberg opened this issue Mar 18, 2022 · 0 comments
Open

Ignore classes by using comments #71

ariebovenberg opened this issue Mar 18, 2022 · 0 comments
Labels
enhancement New feature or request needs refinement This issue needs refinement before work can start

Comments

@ariebovenberg
Copy link
Owner

slotscheck should support something like:

# slotscheck: ignore[require-superclass,overlaps]
class A(Base):
    __slots__ = ('a', 'b')

# slotscheck: ignore
class B(Base):
    __slots__ = ()
@ariebovenberg ariebovenberg added enhancement New feature or request needs refinement This issue needs refinement before work can start labels Mar 18, 2022
@ariebovenberg ariebovenberg changed the title Ignore classes using comments Ignore classes by using comments Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs refinement This issue needs refinement before work can start
Projects
None yet
Development

No branches or pull requests

1 participant