Skip to content
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

Add token sanitization to make equivalent Python factors share the same formatting. #167

Merged
merged 3 commits into from
Dec 24, 2023

Conversation

matthewwardrop
Copy link
Owner

Currently we allow for Python factors to differ only in formatting, which causes some unintuitive behaviour in generated formulae (like being able to take the product of equivalent Python factors if you accidentally added a space).

@matthewwardrop matthewwardrop added this to the 1.0.0 milestone Dec 20, 2023
@matthewwardrop matthewwardrop force-pushed the mawardrop/make_python_tokens_consistent branch from d27201b to 56202d9 Compare December 24, 2023 20:44
Copy link

codecov bot commented Dec 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0334b38) 99.96% compared to head (84ebde7) 99.96%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #167   +/-   ##
=======================================
  Coverage   99.96%   99.96%           
=======================================
  Files          51       53    +2     
  Lines        2852     2871   +19     
=======================================
+ Hits         2851     2870   +19     
  Misses          1        1           
Flag Coverage Δ
unittests 99.96% <100.00%> (+<0.01%) ⬆️

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

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

@matthewwardrop matthewwardrop force-pushed the mawardrop/make_python_tokens_consistent branch from 187db40 to 84ebde7 Compare December 24, 2023 22:22
@matthewwardrop matthewwardrop merged commit 619b3e9 into main Dec 24, 2023
8 checks passed
@matthewwardrop matthewwardrop deleted the mawardrop/make_python_tokens_consistent branch December 24, 2023 22:26
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