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

#886: Misleading message when black checks only empty directories #999

Merged
merged 3 commits into from Sep 4, 2019

Conversation

Rishi-jha
Copy link
Contributor

This is the output message update for handling empty directories, Also added pycharm .idea folder in .gitignore.

@Rishi-jha Rishi-jha changed the title Issue:886: Misleading message when black checks only empty directories #886: Misleading message when black checks only empty directories Aug 30, 2019
@Rishi-jha
Copy link
Contributor Author

#886

@zsol
Copy link
Collaborator

zsol commented Aug 31, 2019

I think to reduce confusion we could distinguish between cases when there were genuinely no input files specified and when there were some inputs on the command line but they contain no files to be formatted (due to include/exclude rules)

@Rishi-jha
Copy link
Contributor Author

@zsol , updated, to check if there is no path given or no python file present.

@zsol zsol merged commit ae5588c into psf:master Sep 4, 2019
@zsol
Copy link
Collaborator

zsol commented Sep 4, 2019

Thanks!

This was referenced May 8, 2020
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 this pull request may close these issues.

None yet

3 participants