sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #03927
Re: [Merge] ~swalladge/crbs:docs into crbs:master
[2022-12-08T17:56:17.738Z] Downloading types_urllib3-1.26.25.4-py3-none-any.whl (14 kB)
[2022-12-08T17:56:17.738Z] Installing collected packages: types-PyYAML, types-chardet, types-urllib3, types-requests, types-setuptools, types-six, types-toml
[2022-12-08T17:56:17.738Z] Successfully installed types-PyYAML-6.0.12.2 types-chardet-5.0.4.1 types-requests-2.28.11.5 types-setuptools-65.6.0.2 types-six-1.16.21.4 types-toml-0.10.8.1 types-urllib3-1.26.25.4
[2022-12-08T17:56:35.698Z] crbs/snap/templates/crbs.py:6: error: Name "extra_content" is not defined [name-defined]
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:30: error: Incompatible default for argument "actor" (default has type "None", argument has type "ModelBase") [assignment]
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:30: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:30: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:31: error: Incompatible default for argument "changes" (default has type "None", argument has type "Dict[str, Any]") [assignment]
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:31: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:31: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:32: error: Incompatible default for argument "message" (default has type "None", argument has type "str") [assignment]
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:32: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:32: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:33: error: Incompatible default for argument "append_message" (default has type "None", argument has type "str") [assignment]
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:33: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:33: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:34: error: Incompatible default for argument "when" (default has type "None", argument has type "datetime") [assignment]
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:34: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
[2022-12-08T17:56:35.698Z] crbs/auditlog.py:34: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
[2022-12-08T17:56:35.698Z] crbs/snap/tests/test_config.py:31: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
[2022-12-08T17:56:35.698Z] crbs/snap/tests/test_config.py:32: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
[2022-12-08T17:56:35.698Z] Installing missing stub packages:
[2022-12-08T17:56:35.698Z] /run/build/checkout/.ve/bin/python3 -m pip install types-PyYAML types-chardet types-requests types-setuptools types-six types-toml
[2022-12-08T17:56:35.698Z]
[2022-12-08T17:56:35.698Z]
[2022-12-08T17:56:35.698Z] Found 6 errors in 2 files (checked 263 source files)
[2022-12-08T17:56:35.698Z] make: *** [Makefile:148: py-check] Error 1
--
https://code.launchpad.net/~swalladge/crbs/+git/crbs/+merge/434284
Your team Canonical RBAC Service team is subscribed to branch crbs:master.
References