fix linting #20
Annotations
10 errors and 1 warning
run typechecker:
src/omotes_rest/apis/api_dataclasses.py#L40
error: Incompatible types in assignment (expression has type "dict[_KT, _VT]", variable has type "dict[str, Any] | None") [assignment]
|
run typechecker:
src/omotes_rest/db_models/job_rest.py#L15
error: Variable "omotes_rest.db_models.job_rest.Base" is not valid as a type [valid-type]
|
run typechecker:
src/omotes_rest/db_models/job_rest.py#L15
error: Invalid base class "Base" [misc]
|
run typechecker:
src/omotes_rest/db_models/job_rest.py#L20
error: Incompatible types in assignment (expression has type "Column[str]", variable has type "UUID") [assignment]
|
run typechecker:
src/omotes_rest/db_models/job_rest.py#L22
error: Incompatible types in assignment (expression has type "Column[str]", variable has type "str") [assignment]
|
run typechecker:
src/omotes_rest/db_models/job_rest.py#L24
error: Incompatible types in assignment (expression has type "Column[str]", variable has type "str") [assignment]
|
run typechecker:
src/omotes_rest/db_models/job_rest.py#L26
error: Incompatible types in assignment (expression has type "Column[str]", variable has type "JobRestStatus") [assignment]
|
run typechecker:
src/omotes_rest/db_models/job_rest.py#L28
error: Incompatible types in assignment (expression has type "Column[Decimal]", variable has type "float") [assignment]
|
run typechecker:
src/omotes_rest/db_models/job_rest.py#L30
error: Incompatible types in assignment (expression has type "Column[str]", variable has type "str") [assignment]
|
run typechecker:
src/omotes_rest/db_models/job_rest.py#L32
error: Incompatible types in assignment (expression has type "Column[datetime]", variable has type "datetime") [assignment]
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading