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

Broaden newline regex in Alitum BOM generation #62

Merged
merged 5 commits into from
Jan 30, 2024
Merged

Conversation

shrik450
Copy link
Collaborator

Closes #60.

The PrjPcb can use \n\r for new lines instead of \r\n, which is what we expect. This PR changes the regex we use to support both (along with \n.) Additionally, while writing a test for this code, I updated a deprecated method to create branches.

@shrik450 shrik450 requested a review from a team as a code owner January 25, 2024 21:28
@shrik450 shrik450 self-assigned this Jan 25, 2024
allspice/utils/bom_generation.py Outdated Show resolved Hide resolved
@shrik450 shrik450 merged commit 827eb55 into main Jan 30, 2024
4 checks passed
@shrik450 shrik450 deleted the su/bom-newline-regex branch January 30, 2024 04:42
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.

[BOM Generation] Altium PrjPcb can have two types of new lines
3 participants