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

[feat] Validate the name property in pyproject.toml file #3111

Merged
merged 4 commits into from Mar 12, 2024

Conversation

tabdar-khan
Copy link
Contributor

Proposal

For the Flower CLI new command we are asking the user for a project name. We expect that project name to be compatible with the pyproject.toml file's name property as its based on the same PEP

Explanation

Add a new module in src/py/flwr/common to the Flower project. Name the module pyproject.py (as well as wrting tests for it in the pyproject_test.py) and add a function to it which can validate the name property. Reference the respective PEP in the function description.

Copy link
Member

@tanertopal tanertopal left a comment

Choose a reason for hiding this comment

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

Looks good! Merged!

@tanertopal tanertopal enabled auto-merge (squash) March 12, 2024 11:25
@tanertopal tanertopal merged commit 0fe721b into main Mar 12, 2024
28 checks passed
@tanertopal tanertopal deleted the tabdar/validate-name-property branch March 12, 2024 11:28
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.

None yet

2 participants