Skip to content

Conversation

@jkloetzke
Copy link
Member

No description provided.

jkloetzke added 5 commits May 18, 2025 10:37
Catch the re.error exception and convert it into a proper parsing error.
Unfortunately we missed the opportunity to reserve a namespace for Bob
internal string functions. Adding new ones thus has the potential to
break existing plugins.

New functions are now added as a last step in the parsing process. If a
plugin has already declared a function with the same name, issue a
warning. The plugin function will be kept to not break existing projects.
Perform regular expression substitution.
@codecov
Copy link

codecov bot commented May 18, 2025

Codecov Report

Attention: Patch coverage is 96.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.95%. Comparing base (75f7eda) to head (97430d6).
Report is 8 commits behind head on master.

Files with missing lines Patch % Lines
pym/bob/input.py 88.88% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #643   +/-   ##
=======================================
  Coverage   88.95%   88.95%           
=======================================
  Files          50       50           
  Lines       16023    16049   +26     
=======================================
+ Hits        14253    14277   +24     
- Misses       1770     1772    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jkloetzke added 2 commits May 18, 2025 11:06
Internal string functions (such as resubst) that are added after Bob 1.0
might collide with existing plugins. Verify that a warning is issued and
that the plugin function is called instead of the internal
implementation.
@jkloetzke jkloetzke merged commit 3db3a6d into BobBuildTool:master May 18, 2025
11 checks passed
@jkloetzke jkloetzke deleted the resubst branch May 18, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant