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

Adopt sp-repo-review #414

Merged
merged 7 commits into from
Oct 24, 2023
Merged

Adopt sp-repo-review #414

merged 7 commits into from
Oct 24, 2023

Conversation

blink1073
Copy link
Contributor

Adopt pypi.org/project/sp-repo-review, which has a standard set of checks for packages in the scientific python ecosystem, as seen in learn.scientific-python.org/development.

"""Overload the regular finish, which (sensibly) always sets JSON"""
self.update_api_activity()
self.set_header("Content-Type", _mime_type)
return super(APIHandler, self).finish(*args, **kwargs)
return await super(APIHandler, self).finish(*args, **kwargs)

Check failure

Code scanning / CodeQL

First argument to super() is not enclosing class

First argument to super() should be LicensesHandler.
Comment on lines +21 to +29
def initialize( # type:ignore[override]
self,
name: str,
app_settings_dir: str,
schemas_dir: str,
settings_dir: str,
labextensions_path: list[str],
**kwargs: Any,
) -> None:

Check warning

Code scanning / CodeQL

Signature mismatch in overriding method

Overriding method 'initialize' has signature mismatch with [overridden method](1).
@blink1073 blink1073 merged commit b26c866 into jupyterlab:main Oct 24, 2023
@blink1073 blink1073 deleted the sp-repo-review branch October 24, 2023 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant