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

Skip INP001 for folders containing only *.pyi files #2328

Closed
twoertwein opened this issue Jan 29, 2023 · 2 comments · Fixed by #2420
Closed

Skip INP001 for folders containing only *.pyi files #2328

twoertwein opened this issue Jan 29, 2023 · 2 comments · Fixed by #2420
Assignees
Labels
bug Something isn't working

Comments

@twoertwein
Copy link

Folders containing only type stubs should not need __init__.py (not sure: but they might need an __init__.pyi )

@charliermarsh charliermarsh added the question Asking for support or clarification label Jan 29, 2023
@charliermarsh
Copy link
Member

Ah true -- I'm not 100% sure either if they need __init__.pyi.

@charliermarsh
Copy link
Member

I think they don't, but haven't checked.

@charliermarsh charliermarsh added bug Something isn't working and removed question Asking for support or clarification labels Jan 31, 2023
@charliermarsh charliermarsh self-assigned this Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants