Support for fcntl.lockf (and some minor bugfixes) #23
Annotations
28 errors and 8 warnings
lint (3.11):
portalocker/redis.py#L129
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "RedisLock"
"RedisLock" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.11):
portalocker/redis.py#L223
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.11):
portalocker/utils.py#L233
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "IO[Unknown]"
"IO[Unknown]" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.11):
portalocker/utils.py#L303
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.11):
portalocker/utils.py#L478
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "Lock | None"
Type "Lock | None" is incompatible with type "_NotImplementedType"
"Lock" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.11):
portalocker/utils.py#L517
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.11)
6 errors
|
lint (3.8):
portalocker/redis.py#L129
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "RedisLock"
"RedisLock" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/redis.py#L223
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/utils.py#L233
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "IO[Unknown]"
"IO[Unknown]" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/utils.py#L303
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/utils.py#L478
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "Lock | None"
Type "Lock | None" is incompatible with type "_NotImplementedType"
"Lock" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/utils.py#L517
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8)
6 errors
|
lint (3.8):
portalocker/redis.py#L129
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "RedisLock"
"RedisLock" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/redis.py#L223
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/utils.py#L233
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "IO[Unknown]"
"IO[Unknown]" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/utils.py#L303
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/utils.py#L478
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "Lock | None"
Type "Lock | None" is incompatible with type "_NotImplementedType"
"Lock" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8):
portalocker/utils.py#L517
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.8)
6 errors
|
lint (3.10):
portalocker/redis.py#L129
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "RedisLock"
"RedisLock" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.10):
portalocker/redis.py#L223
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.10):
portalocker/utils.py#L233
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "IO[Unknown]"
"IO[Unknown]" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.10):
portalocker/utils.py#L303
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.10):
portalocker/utils.py#L478
Method "acquire" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "Lock | None"
Type "Lock | None" is incompatible with type "_NotImplementedType"
"Lock" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.10):
portalocker/utils.py#L517
Method "release" overrides class "LockBase" in an incompatible manner
Return type mismatch: base method returns type "_NotImplementedType", override returns type "None"
"None" is incompatible with "_NotImplementedType" (reportIncompatibleMethodOverride)
|
lint (3.10)
6 errors
|
lint (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint (3.11)
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']
|
lint (3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint (3.8)
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']
|
lint (3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint (3.8)
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']
|
lint (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint (3.10)
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']
|