Skip to content

Acknowledge git-config comment chars#6944

Merged
adswa merged 3 commits into
datalad:maintfrom
mih:bf-6943
Aug 18, 2022
Merged

Acknowledge git-config comment chars#6944
adswa merged 3 commits into
datalad:maintfrom
mih:bf-6943

Conversation

@mih
Copy link
Copy Markdown
Member

@mih mih commented Aug 15, 2022

Previously we ignored them in values as mandatory reasons for quoting.
This change expands the quote_config() helper to perform this
additional test.

Fixes #6943

@mih mih added the semver-patch Increment the patch version when merged label Aug 15, 2022
Previously we ignored them in values as mandatory reasons for quoting.
This change expands the `quote_config()` helper to perform this
additional test.

Fixes datalad#6943
@mih
Copy link
Copy Markdown
Member Author

mih commented Aug 15, 2022

Crawler test failure is unrelated and occurs elsewhere too.

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 15, 2022

Codecov Report

Merging #6944 (15b2794) into maint (8fec36a) will increase coverage by 0.99%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            maint    #6944      +/-   ##
==========================================
+ Coverage   89.96%   90.95%   +0.99%     
==========================================
  Files         354      354              
  Lines       46257    46261       +4     
==========================================
+ Hits        41615    42079     +464     
+ Misses       4642     4182     -460     
Impacted Files Coverage Δ
datalad/config.py 97.26% <100.00%> (+<0.01%) ⬆️
datalad/tests/test_config.py 99.73% <100.00%> (+<0.01%) ⬆️
datalad/_version.py 45.68% <0.00%> (-0.28%) ⬇️
...talad/distributed/tests/test_create_sibling_ria.py 100.00% <0.00%> (ø)
datalad/distribution/utils.py 94.00% <0.00%> (+2.00%) ⬆️
datalad/distributed/create_sibling_ria.py 84.11% <0.00%> (+2.35%) ⬆️
datalad/tests/utils.py 65.10% <0.00%> (+11.03%) ⬆️
datalad/tests/test_tests_utils.py 92.34% <0.00%> (+92.34%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Copy Markdown
Member

@yarikoptic yarikoptic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not hardcode unicode in the test. IMHO no need for windows conditioning right there.

Comment thread datalad/tests/test_config.py Outdated
@mih mih requested a review from yarikoptic August 17, 2022 14:49
Comment thread datalad/tests/test_config.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-patch Increment the patch version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants