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

Add test which covers stdin filename ipynb #2454

Merged
merged 1 commit into from Aug 28, 2021

Conversation

MarcoGorelli
Copy link
Contributor

I'd missed out coverage of

black/src/black/__init__.py

Lines 619 to 620 in 8b06805

elif src.suffix == ".ipynb":
mode = replace(mode, is_ipynb=True)

in #2357

so here's a test case to cover it

@JelleZijlstra JelleZijlstra added the skip news Pull requests that don't need a changelog entry. label Aug 28, 2021
@JelleZijlstra JelleZijlstra merged commit 7a093f0 into psf:main Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news Pull requests that don't need a changelog entry.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants