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

Move pyproject.toml to root directory #1058

Merged
merged 4 commits into from
Jun 6, 2023
Merged

Move pyproject.toml to root directory #1058

merged 4 commits into from
Jun 6, 2023

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Jun 5, 2023

This PR moves pyproject.toml from the /python subdirectory to the repository root. Python tools and editors expect pyproject.toml to be located at the root directory, even if the package source is located in a subdirectory.

This change has several benefits:

  • It simplifies how Python tools for testing and linting are installed and run
  • It lets us consolidate mypy configuration into pyproject.toml
  • It allows us to remove symlinks to README and LICENSE (which are distributed with the Python package; now they're included directly)

@mattt mattt marked this pull request as ready for review June 5, 2023 13:34
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt mattt force-pushed the mattt/pyproject branch 4 times, most recently from 9c2fbe1 to a20e2a9 Compare June 5, 2023 16:40
mattt added 3 commits June 5, 2023 09:47
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
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