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

When determining the python module name, use pyproject.toml project.name over Cargo.toml package.name. #1608

Merged
merged 1 commit into from
May 13, 2023

Commits on May 12, 2023

  1. When determining the python module name, use pyproject.toml `project.…

    …name` over Cargo.toml `package.name`.
    
    I propose to change the precedence for determining the module name to consider before pyproject.toml `project.name` over Cargo.toml `package.name`. This came up in ruff (astral-sh/ruff#4397, astral-sh/ruff#4399), where the crate name is `ruff_cli` and the project name is `ruff`.
    
    I'm not sure if there are any cases a user would like the crate name over the package name.
    konstin committed May 12, 2023
    Configuration menu
    Copy the full SHA
    02f5764 View commit details
    Browse the repository at this point in the history