Fixed several bugs with the testing suite. #51
Annotations
10 errors and 3 warnings
Linting with ruff:
portalocker/__main__.py#L53
portalocker/__main__.py:53:17: UP006 Use `set` instead of `typing.Set` for type annotation
|
Linting with ruff:
portalocker/__main__.py#L117
portalocker/__main__.py:117:17: UP006 Use `set` instead of `typing.Set` for type annotation
|
Linting with ruff:
portalocker/portalocker.py#L17
portalocker/portalocker.py:17:9: UP007 Use `X | Y` for type annotations
|
Linting with ruff:
portalocker/portalocker.py#L18
portalocker/portalocker.py:18:22: UP007 Use `X | Y` for type annotations
|
Linting with ruff:
portalocker/portalocker.py#L31
portalocker/portalocker.py:31:21: UP007 Use `X | Y` for type annotations
|
Linting with ruff:
portalocker/redis.py#L67
portalocker/redis.py:67:19: UP006 Use `dict` instead of `typing.Dict` for type annotation
|
Linting with ruff:
portalocker/redis.py#L68
portalocker/redis.py:68:13: UP007 Use `X | Y` for type annotations
|
Linting with ruff:
portalocker/redis.py#L71
portalocker/redis.py:71:17: UP007 Use `X | Y` for type annotations
|
Linting with ruff:
portalocker/redis.py#L72
portalocker/redis.py:72:13: UP007 Use `X | Y` for type annotations
|
Linting with ruff:
portalocker/redis.py#L75
portalocker/redis.py:75:43: UP006 Use `dict` instead of `typing.Dict` for type annotation
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Linting with ruff
Unexpected input(s) 'extra-args', valid inputs are ['entryPoint', 'args', 'path', 'flags', 'format']
|
Linting with pyright
Unexpected input(s) 'path', valid inputs are ['version', 'pylance-version', 'working-directory', 'no-comments', 'create-stub', 'dependencies', 'ignore-external', 'level', 'project', 'python-platform', 'python-path', 'python-version', 'skip-unannotated', 'stats', 'typeshed-path', 'venv-path', 'verbose', 'verify-types', 'warnings', 'extra-args', 'lib']
|
Loading