Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: add utf-8 encode when write toml file #356

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

Merged
woile merged 1 commit into commitizen-tools:master from chikacc:master
Feb 26, 2021

Conversation

Copy link
Contributor

@chikacc chikacc commented Feb 26, 2021

Description

Add utf-8 encode when write toml file.

Checklist

  • Add test cases to all the changes you introduce
  • Run ./script/format and ./script/test locally to ensure this change passes linter check and test
  • Test the changes on the local machine manually
  • Update the documentation for the changes

Expected behavior

Write toml file using binary mode.

Steps to Test This Pull Request

Run cz init or cz bump.

Additional context

#355

Screenshots
image

Copy link

codecov bot commented Feb 26, 2021
edited
Loading

Codecov Report

Merging #356 (ed06664) into master (2756e91) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@ Coverage Diff @@
## master #356 +/- ##
=======================================
 Coverage 97.53% 97.53% 
=======================================
 Files 39 39 
 Lines 1340 1340 
=======================================
 Hits 1307 1307 
 Misses 33 33 
Flag Coverage Δ
unittests 97.53% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
commitizen/__version__.py 100.00% <100.00%> (ø)
commitizen/config/toml_config.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 07d1b78...ed06664. Read the comment docs.

Copy link
Member

woile commented Feb 26, 2021

Thanks! fantastic

chikacc reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /