This repository was archived by the owner on Jun 9, 2025. It is now read-only.
Simplify models, fix typing #78
code-quality.yml
on: pull_request
Check code formatting, typecheck the code
25s
Annotations
10 errors and 2 warnings
Check code formatting, typecheck the code:
src/betterproto2_compiler/compile/importing.py#L8
Import "betterproto2.lib.google" could not be resolved (reportMissingImports)
|
Check code formatting, typecheck the code:
src/betterproto2_compiler/lib/google/protobuf/compiler/__init__.py#L22
Import "betterproto2" could not be resolved (reportMissingImports)
|
Check code formatting, typecheck the code:
src/betterproto2_compiler/lib/google/protobuf/compiler/__init__.py#L229
Import "betterproto2.lib.google.protobuf" could not be resolved (reportMissingImports)
|
Check code formatting, typecheck the code:
src/betterproto2_compiler/plugin/models.py#L35
Import "betterproto2" could not be resolved (reportMissingImports)
|
Check code formatting, typecheck the code:
src/betterproto2_compiler/plugin/models.py#L36
Import "betterproto2" could not be resolved (reportMissingImports)
|
Check code formatting, typecheck the code:
src/betterproto2_compiler/plugin/models.py#L37
Import "betterproto2.lib.google.protobuf" could not be resolved (reportMissingImports)
|
Check code formatting, typecheck the code:
src/betterproto2_compiler/plugin/parser.py#L5
Import "betterproto2.lib.google.protobuf" could not be resolved (reportMissingImports)
|
Check code formatting, typecheck the code:
tests/generate.py#L139
Argument of type "int | None" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@max" in function "max"
Type "int | None" is not assignable to type "SupportsRichComparison"
Type "int | None" is not assignable to type "SupportsRichComparison"
Type "None" is not assignable to type "SupportsRichComparison"
"None" is incompatible with protocol "SupportsDunderLT[Any]"
"__lt__" is not present
"None" is incompatible with protocol "SupportsDunderGT[Any]"
"__gt__" is not present (reportArgumentType)
|
Check code formatting, typecheck the code:
tests/generate.py#L139
Argument of type "int | None" cannot be assigned to parameter "arg2" of type "SupportsRichComparisonT@max" in function "max"
Type "int | None" is not assignable to type "SupportsRichComparison"
Type "int | None" is not assignable to type "SupportsRichComparison"
Type "None" is not assignable to type "SupportsRichComparison"
"None" is incompatible with protocol "SupportsDunderLT[Any]"
"__lt__" is not present
"None" is incompatible with protocol "SupportsDunderGT[Any]"
"__gt__" is not present (reportArgumentType)
|
Check code formatting, typecheck the code:
tests/generate.py#L139
Argument of type "int | None" cannot be assigned to parameter "_args" of type "SupportsRichComparisonT@max" in function "max"
Type "int | None" is not assignable to type "SupportsRichComparison"
Type "int | None" is not assignable to type "SupportsRichComparison"
Type "None" is not assignable to type "SupportsRichComparison"
"None" is incompatible with protocol "SupportsDunderLT[Any]"
"__lt__" is not present
"None" is incompatible with protocol "SupportsDunderGT[Any]"
"__gt__" is not present (reportArgumentType)
|
Check code formatting, typecheck the code
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check code formatting, typecheck the code
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|