Dynamic email registration recipients using variables #11791
code_quality.yml
on: pull_request
Check import sorting
40s
Check code formatting with black
41s
Code style (flake8)
41s
Check for model changes not present in the migrations or default_admin_index fixture
1m 31s
Lint dependencies
4s
Type checking (Pyright)
33s
Annotations
6 errors and 6 warnings
Type checking (Pyright):
src/openforms/registrations/contrib/email/config.py#L137
Could not access item in TypedDict
"to_emails" is not a required key in "Options", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
|
Type checking (Pyright):
src/openforms/registrations/contrib/email/config.py#L137
Could not access item in TypedDict
"to_email_from_variable" is not a required key in "Options", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
|
Type checking (Pyright):
src/openforms/registrations/contrib/email/plugin.py#L52
Could not access item in TypedDict
"to_email_from_variable" is not a required key in "Options", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
|
Type checking (Pyright):
src/openforms/registrations/contrib/email/plugin.py#L211
Could not access item in TypedDict
"to_email_from_variable" is not a required key in "Options", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
|
Type checking (Pyright):
src/openforms/registrations/contrib/email/plugin.py#L238
Argument of type "list[str] | list[Any] | None" cannot be assigned to parameter "recipients" of type "list[str]" in function "send_registration_email"
Type "list[str] | list[Any] | None" is incompatible with type "list[str]"
"None" is incompatible with "list[str]" (reportArgumentType)
|
Type checking (Pyright)
5 errors
|
Lint dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Type checking (Pyright)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check import sorting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Code style (flake8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check code formatting with black
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check for model changes not present in the migrations or default_admin_index fixture
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|