Add github action check for python code #6
Annotations
5 errors and 2 warnings
nwc_backend/event_handlers/__tests__/lookup_user_test.py#L17
Call `uma_auth.models.lookup_user_response.LookupUserResponse.__init__` expects argument `__pydantic_fields_set__`.
|
nwc_backend/event_handlers/__tests__/lookup_user_test.py#L19
Call `CurrencyPreference.__init__` expects argument `__pydantic_fields_set__`.
|
nwc_backend/event_handlers/__tests__/lookup_user_test.py#L31
`nwc_backend.event_handlers.__tests__.lookup_user_test.MockVaspUmaClient.lookup_user` overrides method defined in `VaspUmaClient` inconsistently. Parameter of type `str` is not a supertype of the overridden parameter `typing.Optional[str]`.
|
nwc_backend/event_handlers/lookup_user_handler.py#L15
Parameter `vasp_client` has type `nwc_backend.vasp_client.VaspUmaClient` but no type is specified.
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading