-
Notifications
You must be signed in to change notification settings - Fork 385
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: do not change format of Python version files #782
Conversation
Codecov Report
@@ Coverage Diff @@
## master #782 +/- ##
=======================================
Coverage 91.30% 91.30%
=======================================
Files 62 62
Lines 8165 8165
Branches 810 810
=======================================
Hits 7455 7455
Misses 707 707
Partials 3 3
Continue to review full report at Codecov.
|
@@ -12,4 +12,4 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
__version__ = "0.5.0" | |||
__version__ = '0.5.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did this and the snapshot need to change? in any case I think black
uses "
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this to have at least one test that would not pass before the fix.
I don't know why the snapshot needed to change. I guess whatever files are involved in it had a different formatting
/version ?= ?[0-9]+\.[0-9]+\.[0-9](-\w+)?/, | ||
`version = ${this.version}` | ||
/(version ?= ?)[0-9]+\.[0-9]+\.[0-9](?:-\w+)?/, | ||
`$1${this.version}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
Fixes: #777