-
Notifications
You must be signed in to change notification settings - Fork 22
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
Python API name changes #339
Conversation
.pre-commit-config.yaml
Outdated
@@ -10,8 +10,8 @@ repos: | |||
args: ["--config", "./api/python/notebooks/pyproject.toml"] | |||
- id: black | |||
name: black-cell-census |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should these names change as well for clarity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most likely. Thanks for the catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most likely. Thanks for the catch.
@@ -1,8 +1,8 @@ | |||
# cell_census Python package release process | |||
# cellxgene-census Python package release process |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
underscore or dash? We seem to mostly use underscore....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK, the only thing that should use the dash is the repo name. Python packages get aliased, so we might as well use the "import" name, which is underscored
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No major concerns. The only thing thing I'd like to resolve is the use of dash vs underscore in the package name when it is referenced outside of an import statement. Suggest we just use underscore for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.