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

Fix quotes in version.py #527

Merged
merged 1 commit into from
Jan 25, 2019
Merged

Fix quotes in version.py #527

merged 1 commit into from
Jan 25, 2019

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Jan 25, 2019

The project recently switched over to Black for code formatting in #521.
Black expects double-quoted strings throughout the project. We
double-quoted this file when that patch was merged, but our release
script was still incorrectly producing single quoted strings.

I'm just about to patch the release script, but putting this fix in here
so that we can fix master.

cc @ob-stripe

The project recently switched over to Black for code formatting in #521.
Black expects double-quoted strings throughout the project. We
double-quoted this file when that patch was merged, but our release
script was still incorrectly producing single quoted strings.

I'm just about to patch the release script, but putting this fix in here
so that we can fix `master`.
@brandur-stripe
Copy link
Contributor

Thanks @ob-stripe!

@brandur-stripe brandur-stripe merged commit 660bd94 into master Jan 25, 2019
@brandur-stripe brandur-stripe deleted the brandur-fix-version-file branch January 25, 2019 23:45
@ob-stripe
Copy link
Contributor

ob-stripe commented Jan 25, 2019

I actually already fixed the release script, but not before running it once pre-fix, which resulted in the single-quoted string being committed. Sorry!

@brandur-stripe
Copy link
Contributor

I actually already fixed the release script, but not before running in once pre-fix, which resulted in the single-quoted string being committed. Sorry!

Oh dang, no worries!

I think what might've happened here is that you got the string matcher, but not the string replacer. Unlike many other languages, Python's scripts in this area actually check that the value is present before doing anything with it. Either that, or there was some other open PR that was never merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants