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

pytest-black doesn't find .pyi stub files #40

Open
intgr opened this issue Jan 9, 2020 · 0 comments · May be fixed by #52
Open

pytest-black doesn't find .pyi stub files #40

intgr opened this issue Jan 9, 2020 · 0 comments · May be fixed by #52

Comments

@intgr
Copy link

intgr commented Jan 9, 2020

Black supports reformatting PEP 484 .pyi type stub files too, but when I run pytest --black it does not find these files, even if they are explicitly allowed by my Black configuration:

[tool.black]
include = '\.pyi?$'

The native black command, however, successfully finds these files.

@C0DK C0DK linked a pull request Oct 21, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant