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

Set target_version to set() on the default config #21

Merged
merged 1 commit into from
Mar 26, 2019
Merged

Set target_version to set() on the default config #21

merged 1 commit into from
Mar 26, 2019

Conversation

fsouza
Copy link
Contributor

@fsouza fsouza commented Mar 26, 2019

This happens whenever running pyls_black on a project that doesn't
define a config file (there's an early return).

Writing a test for this can get tricky, but I could give it a shot.

Follow up from #20.

This happens whenever running pyls_black on a project that doesn't
define a config file (there's an early return).

Writing a test for this can get tricky, but I could give it a shot.
@fsouza fsouza mentioned this pull request Mar 26, 2019
@rupert rupert merged commit 059b39b into rupert:master Mar 26, 2019
@rupert
Copy link
Owner

rupert commented Mar 26, 2019

@fsouza thanks for the quick fix. I've manually tested it in a project without a config file and it seems to have fixed the bug. It's been released in version 0.4.4.

If you have time to add a proper test, I would be really grateful.

Thanks!

@rupert rupert mentioned this pull request Mar 26, 2019
@fsouza fsouza deleted the default-target-version branch March 26, 2019 03:45
@fsouza
Copy link
Contributor Author

fsouza commented Mar 26, 2019

@rupert thanks for the quick feedback! I'll look into writing a test tomorrow, I apologize for not including it originally.

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

2 participants