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

Refactor the BasePipeline, move out all Project related logic #1351 #1358

Merged
merged 5 commits into from
Aug 8, 2024

Conversation

tdruez
Copy link
Contributor

@tdruez tdruez commented Aug 8, 2024

Refactor the BasePipeline to remove the scanpipe.Project logic and make it reusable without Project context.

@tdruez tdruez changed the title Refactor the BasePipeline into 2 subclasses #1351 Refactor the BasePipeline, move out all Project related logic #1351 Aug 8, 2024
@tdruez
Copy link
Contributor Author

tdruez commented Aug 8, 2024

@keshav-space could you have a look before the merge?

Copy link
Member

@keshav-space keshav-space left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tdruez, Looking Good!

### Install

```bash
pip install aboutcode_pipeline
Copy link
Member

@keshav-space keshav-space Aug 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per PEP8 https://peps.python.org/pep-0008/#package-and-module-names aboutcode-pipeline would be a much more Pythonic package name.

Actually, going by @pombredanne suggestion here #1332 (comment), we may want to name this package aboutcode.pipeline.

Suggested change
pip install aboutcode_pipeline
pip install aboutcode.pipeline

Copy link
Contributor Author

@tdruez tdruez Aug 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I initially went with aboutcode_pipeline in the README as the filenames of the flot build were aboutcode_pipeline-0.1.whl, even though the [project] name was set to "aboutcode.pipeline".

@tdruez tdruez merged commit eeff642 into main Aug 8, 2024
9 checks passed
@tdruez tdruez deleted the 1351-refactor-pipeline-class branch August 8, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants