Skip to content

Conversation

comabrewer
Copy link
Contributor

@comabrewer comabrewer commented Aug 27, 2021

  • Join remaining parts of string instead of splitting on colon.
  • Add test with substitution default that contains a colon (URL).

Signed-off-by: Marco Weber marco.weber@hotmail.de

Thanks for contributing a pull request!

If you are contributing for the first time or provide a trivial fix don't worry too
much about the checklist - we will help you get started.

Contribution checklist:

(also see CONTRIBUTING.rst for details)

  • wrote descriptive pull request text
  • added/updated test(s)
  • updated/extended the documentation
  • added relevant issue keyword
    in message body
  • added news fragment in changelog folder
    • fragment name: <issue number>.<type>.rst for example (588.bugfix.rst)
    • <type> is must be one of bugfix, feature, deprecation, breaking, doc, misc
    • if PR has no issue: consider creating one first or change it to the PR number after creating the PR
    • "sign" fragment with -- by :user:`<your username>`.
    • please, use full sentences with correct case and punctuation, for example:
      Fixed an issue with non-ascii contents in doctest text files -- by :user:`superuser`.
    • also see examples
  • added yourself to CONTRIBUTORS (preserving alphabetical order)

* Join remaining parts of string instead of splitting on colon.
* Add test with substitution default that contains a colon (URL).

Fixes tox-dev#2182

Signed-off-by: Marco Weber <marco.weber@hotmail.de>
@gaborbernat
Copy link
Member

You'll need to add a changelog entry too 🤠

@comabrewer
Copy link
Contributor Author

Thanks for the hint, wasn't sure if this applied on the rewrite branch. Over all, many thanks for the lightning fast responses, patience, pointing at solution - excellent experience for first-time contributors.

@codecov
Copy link

codecov bot commented Aug 27, 2021

Codecov Report

Merging #2186 (1cc93d2) into rewrite (6f8ba7f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           rewrite    #2186   +/-   ##
========================================
  Coverage    99.85%   99.85%           
========================================
  Files          157      157           
  Lines         8944     8948    +4     
  Branches       939      939           
========================================
+ Hits          8931     8935    +4     
  Misses           3        3           
  Partials        10       10           
Flag Coverage Δ
tests 99.85% <100.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
src/tox/config/loader/ini/replace.py 100.00% <100.00%> (ø)
.../config/loader/ini/replace/test_replace_env_var.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 6f8ba7f...1cc93d2. Read the comment docs.

@gaborbernat
Copy link
Member

Resolves #2182

@gaborbernat gaborbernat reopened this Aug 27, 2021
@gaborbernat gaborbernat merged commit eac98db into tox-dev:rewrite Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants