Skip to content

Feat/custom parser import#1135

Merged
codejedi365 merged 5 commits intopython-semantic-release:masterfrom
codejedi365:feat/custom-parser-import
Jan 12, 2025
Merged

Feat/custom parser import#1135
codejedi365 merged 5 commits intopython-semantic-release:masterfrom
codejedi365:feat/custom-parser-import

Conversation

@codejedi365
Copy link
Copy Markdown
Contributor

@codejedi365 codejedi365 commented Jan 10, 2025

Purpose

Rationale

Due to python's import rules, its much harder to import a single file into the virtual environment and it doesn't make sense to build an entire separate project to disseminate a custom parser. This modification allows you to just store it in the current repository and then use a relative path to load it without any other installation steps.

How did you test?

I added addtional unit tests to verify importing of custom parsers via the file name. I did not write any e-2-e tests right now because i didnt feel it was necessary. But I did make sure it worked for the codejedi365/psr-monorepo-poweralpha example repository.

@codejedi365 codejedi365 force-pushed the feat/custom-parser-import branch 2 times, most recently from 26cbead to ecd2e3e Compare January 12, 2025 02:04
@codejedi365 codejedi365 force-pushed the feat/custom-parser-import branch from ecd2e3e to b89229c Compare January 12, 2025 03:21
@codejedi365 codejedi365 merged commit 0418fd8 into python-semantic-release:master Jan 12, 2025
@codejedi365 codejedi365 deleted the feat/custom-parser-import branch January 12, 2025 03:38
@codejedi365
Copy link
Copy Markdown
Contributor Author

🎉 This PR has been published as part of Version 9.16.0 🎉

You can find more information about this release on the GitHub Releases page.

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.

fix: custom commit parser path loading

1 participant