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: files #166

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Sep 21, 2024

Builds on #165.

This breaks out helpers into separate files. This helps protect our API against accidental usage, and groups related functions together. The new files are:

  • constants.py: Sets of field names and mappings and known metadata versions
  • pyproject.py: Functions related to reading the pyproject.toml
  • errors.py: Our error definitions

@henryiii henryiii marked this pull request as draft September 21, 2024 18:06
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