Repository navigation
fix helpful string check #4010 - #4052
asukaminato0721 wants to merge 1 commit into
Conversation
3a651d8 to
cd88f65
Compare
|
This pull request has been imported. If you are a Meta employee, you can view this in D114390769. (Because this pull request was imported automatically, there will not be any future comments.) |
This comment has been minimized.
This comment has been minimized.
cd88f65 to
ccc8de4
Compare
This comment has been minimized.
This comment has been minimized.
ccc8de4 to
09e3d95
Compare
This comment has been minimized.
This comment has been minimized.
09e3d95 to
8f047b2
Compare
This comment has been minimized.
This comment has been minimized.
8f047b2 to
11d5600
Compare
This comment has been minimized.
This comment has been minimized.
11d5600 to
b5dc14a
Compare
This comment has been minimized.
This comment has been minimized.
|
I'm not confident about this. I think it might be too prone to noise - the problem is that it's not wrong to print an As a result, lots of legitimate uses could get flagged. I feel like the mypy primer results are hinting at this issue, so I'm inclined to think we should consider skipping this feature. |
b5dc14a to
339fc79
Compare
|
Diff from mypy_primer, showing the effect of this PR on open source code: ============================================================
SUMMARY
============================================================
Total: +7245 new errors, -1 fixed errors
By preset: +0/-0 (default), +0/-0 (strict)
Projects with changes (129):
pip: +47 -1
tornado: +5 -0
psycopg: +8 -0
mongo-python-driver: +29 -0
starlette: +10 -0
yarl: +6 -0
apprise: +270 -0
packaging: +6 -0
mkosi: +204 -0
cki-lib: +7 -0
mkdocs: +7 -0
black: +25 -0
operator: +17 -0
openlibrary: +54 -0
rotki: +222 -0
egglog-python: +12 -0
pegen: +4 -0
isort: +24 -0
graphql-core: +13 -0
pytest: +170 -0
kopf: +22 -0
PyGithub: +12 -0
artigraph: +7 -0
scipy-stubs: +1 -0
flake8: +1 -0
pyjwt: +5 -0
pyppeteer: +6 -0
altair: +4 -0
archinstall: +197 -0
schema_salad: +61 -0
jax: +519 -0
scipy: +8 -0
python-chess: +6 -0
cryptography: +39 -0
urllib3: +18 -0
httpx-caching: +1 -0
spark: +69 -0
scikit-learn: +84 -0
cwltool: +34 -0
prefect: +67 -0
git-revise: +5 -0
setuptools: +46 -0
alerta: +18 -0
scikit-build-core: +59 -0
pyochain: +1 -0
pyinstrument: +3 -0
freqtrade: +147 -0
colour: +340 -0
pyproject-metadata: +1 -0
pwndbg: +90 -0
manticore: +41 -0
schemathesis: +25 -0
comtypes: +9 -0
aiortc: +8 -0
materialize: +283 -0
cibuildwheel: +92 -0
asynq: +4 -0
ppb-vector: +1 -0
streamlit: +60 -0
aioredis: +1 -0
mitmproxy: +69 -0
dulwich: +24 -0
pytest-autoprofile: +12 -0
cloud-init: +38 -0
build: +8 -0
vision: +52 -0
strawberry: +28 -0
pandera: +126 -0
zulip: +106 -0
hydra-zen: +16 -0
steam.py: +17 -0
bokeh: +37 -0
ibis: +41 -0
beartype: +17 -0
zope.interface: +2 -0
bandersnatch: +50 -0
ignite: +45 -0
mypy-protobuf: +2 -0
svcs: +1 -0
static-frame: +80 -0
antidote: +15 -0
aiohttp: +15 -0
pandas-stubs: +32 -0
mypy: +57 -0
pyodide: +59 -0
rclip: +31 -0
dragonchain: +50 -0
sockeye: +9 -0
pywin32: +1 -0
pandas: +308 -0
anyio: +1 -0
hydpy: +27 -0
Tanjun: +15 -0
trio: +6 -0
paasta: +26 -0
werkzeug: +8 -0
meson: +158 -0
sphinx: +36 -0
websockets: +8 -0
pytensor: +116 -0
pytest-robotframework: +8 -0
dd-trace-py: +85 -0
core: +871 -0
paroxython: +13 -0
nox: +13 -0
poetry: +134 -0
jinja: +13 -0
spack: +233 -0
dedupe: +1 -0
xarray: +157 -0
speedrun.com_global_scoreboard_webapp: +2 -0
ecosystem-analyzer: +19 -0
kornia: +65 -0
mypy_primer: +10 -0
pydantic: +37 -0
check-jsonschema: +4 -0
scrapy: +48 -0
docstring-adder: +7 -0
typeshed-stats: +11 -0
attrs: +8 -0
dacite: +4 -0
pylox: +6 -0
pylint: +11 -0
boostedblob: +27 -0
cvxpy: +32 -0
optuna: +22 -0
django-modern-rest: +9 -0
porcupine: +74 -0
discord.py: +37 -0
============================================================
FULL DIFF DETAILS
------------------------------------------------------------
pip (https://github.com/pypa/pip)
+ ERROR src/pip/_internal/cli/cmdoptions.py:51:14-20: The type `Option` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_internal/cli/progress_bars.py:92:48-56: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/index/collector.py:374:73-84: The string for `Text | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/index/collector.py:377:60-71: The string for `Text | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/index/collector.py:379:66-77: The string for `Text | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/index/package_finder.py:290:51-66: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/metadata/base.py:142:55-68: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/metadata/importlib/_compat.py:16:35-44: The type `Distribution` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_internal/metadata/importlib/_dists.py:92:52-57: The type `PurePosixPath` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_internal/operations/build/build_tracker.py:103:26-34: The string for `Link | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/operations/install/wheel.py:171:47-57: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_internal/operations/prepare.py:719:44-48: The string for `Link | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/req/constructors.py:473:16-31: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/req/req_install.py:430:31-53: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/req/req_install.py:531:40-49: The string for `Link | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/resolution/legacy/resolver.py:266:32-44: The string for `InstallRequirement | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/resolution/resolvelib/candidates.py:309:66-70: The string for `NormalizedName | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/resolution/resolvelib/factory.py:660:62-75: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_internal/resolution/resolvelib/factory.py:693:27-30: The type `Requirement` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_internal/resolution/resolvelib/factory.py:768:75-78: The type `Requirement` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_internal/utils/logging.py:215:19-34: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/packaging/markers.py:248:41-44: The type `AbstractSet[str] | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_vendor/packaging/version.py:269:54-59: The string for `Literal[0] | object` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/packaging/version.py:281:78-85: The string for `object | tuple[Literal[0]]` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/packaging/version.py:299:75-80: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/packaging/version.py:308:53-58: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/packaging/version.py:317:52-57: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/pkg_resources/__init__.py:3498:51-59: The type `Mapping[type[Any], _AdapterT]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_vendor/pkg_resources/__init__.py:3498:66-68: The string for `object` isn't helpful in a user-facing string [helpful-string]
- ERROR src/pip/_vendor/requests/__init__.py:110:57-97: Unused `# type: ignore` comment [unused-type-ignore]
+ ERROR src/pip/_vendor/requests/models.py:356:29-40: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/requests/models.py:452:37-48: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/resolvelib/structs.py:191:41-55: The type `Sequence[RT]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_vendor/truststore/_macos.py:271:78-84: The type `c_int32` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/pip/_vendor/urllib3/connection.py:215:74-86: The string for `float | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/connectionpool.py:368:61-74: The string for `Timeout | _TYPE_DEFAULT | float | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/connectionpool.py:374:61-74: The string for `Timeout | _TYPE_DEFAULT | float | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/contrib/socks.py:125:74-86: The string for `float | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/contrib/socks.py:136:82-94: The string for `float | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/exceptions.py:100:53-56: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/fields.py:300:45-67: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/poolmanager.py:576:32-48: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/poolmanager.py:576:70-84: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/util/retry.py:551:44-54: The string for `bool | int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/util/retry.py:551:66-78: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/util/retry.py:552:21-30: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/util/retry.py:552:43-56: The string for `bool | int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/pip/_vendor/urllib3/util/retry.py:552:67-78: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
tornado (https://github.com/tornadoweb/tornado)
+ ERROR tornado/platform/asyncio.py:131:27-40: The type `IOLoop` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tornado/platform/asyncio.py:131:80-92: The type `AbstractEventLoop` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tornado/simple_httpclient.py:663:41-64: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR tornado/template.py:966:63-71: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR tornado/test/gen_test.py:971:57-73: The string for `int | str | None` isn't helpful in a user-facing string [helpful-string]
psycopg (https://github.com/psycopg/psycopg)
+ ERROR psycopg/psycopg/types/datetime.py:76:59-69: The type `tzinfo | None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR psycopg_pool/psycopg_pool/pool.py:641:80-95: The type `(CT) -> None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR psycopg_pool/psycopg_pool/pool.py:825:80-91: The type `(CT) -> None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR psycopg_pool/psycopg_pool/pool_async.py:719:25-40: The type `(ACT) -> Awaitable[None]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR psycopg_pool/psycopg_pool/pool_async.py:909:29-40: The type `(ACT) -> Awaitable[None]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tests/fix_crdb.py:62:27-48: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR tests/test_waiting.py:162:60-62: The type `socket` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tests/test_waiting_async.py:170:60-62: The type `socket` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
+ ERROR bson/binary.py:261:81-90: The type `Sequence[float | int] | Unknown` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR bson/codec_options.py:182:41-46: The type `TypeCodec | TypeDecoder | TypeEncoder` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR bson/codec_options.py:182:65-71: The type `type[Binary] | type[Code] | type[DBRef] | type[DatetimeMS] | type[Decimal128] | type[Int64] | type[Mapping] | type[MaxKey] | type[MinKey] | type[NoneType] | type[ObjectId] | type[Regex] | type[SON] | type[Timestamp] | type[UUID] | type[bool] | type[bytes] | type[datetime] | type[dict] | type[float] | type[int] | type[list] | type[str] | type[tuple] | type[Pattern[Any]]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR pymongo/asynchronous/encryption.py:320:73-90: The type `type[NoneType] | type[Any]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR pymongo/common.py:534:60-72: The type `type[TypeRegistry]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR pymongo/errors.py:131:45-52: The type `Mapping[str, Any] | list[Any]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR pymongo/monitoring.py:656:141-158: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/monitoring.py:656:174-189: The string for `ObjectId | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/monitoring.py:656:215-240: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/monitoring.py:714:141-158: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/monitoring.py:714:215-230: The string for `ObjectId | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/monitoring.py:714:256-281: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/monitoring.py:769:138-155: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/monitoring.py:770:55-70: The string for `ObjectId | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/monitoring.py:770:96-121: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/monitoring.py:1337:126-136: The type `Hello[dict[str, Any]]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR pymongo/periodic_executor.py:60:51-61: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/periodic_executor.py:174:51-61: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/pool_shared.py:420:63-70: The string for `float | int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/pool_shared.py:424:65-72: The string for `float | int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/server_description.py:297:104-124: The string for `float | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/synchronous/encryption.py:317:73-90: The type `type[NoneType] | type[Any]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR pymongo/topology_description.py:452:71-106: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR pymongo/topology_shared.py:296:62-70: The type `(Selection) -> Selection` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR pymongo/topology_shared.py:303:82-113: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR tools/clean.py:29:30-34: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tools/generate_sbom_requirements.py:60:47-54: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tools/generate_sbom_requirements.py:68:68-72: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tools/generate_sbom_requirements.py:71:50-57: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
starlette (https://github.com/encode/starlette)
+ ERROR starlette/authentication.py:41:82-86: The type `(ParamSpec(_P)) -> Any` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR starlette/config.py:62:47-55: The type `Path | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR starlette/middleware/base.py:189:92-99: The type `MutableMapping[str, Any]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR starlette/responses.py:358:52-61: The type `PathLike[str] | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR starlette/responses.py:362:56-65: The type `PathLike[str] | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR starlette/responses.py:485:64-73: The type `PathLike[str] | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR starlette/staticfiles.py:57:46-55: The type `PathLike[str] | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR starlette/staticfiles.py:207:58-72: The type `PathLike[str] | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR starlette/staticfiles.py:209:53-67: The type `PathLike[str] | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tests/test_responses.py:1265:49-53: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
yarl (https://github.com/aio-libs/yarl)
+ ERROR tests/test_pep517_backend.py:87:33-42: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tests/test_pep517_backend.py:87:45-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tests/test_pep517_backend.py:140:33-42: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tests/test_pep517_backend.py:140:45-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR yarl/_parse.py:342:15-19: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR yarl/_url.py:2794:24-37: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
apprise (https://github.com/caronc/apprise)
+ ERROR apprise/apprise_attachment.py:243:56-73: The string for `Literal[ContentLocation.INACCESSIBLE, ContentLocation.LOCAL] | object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/attachment/base.py:187:44-52: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/cli.py:629:21-41: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/config/base.py:167:52-55: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/decorators/base.py:83:19-39: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/manager.py:771:38-39: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/manager.py:786:34-35: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/apprise_api.py:209:55-60: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/apprise_api.py:220:44-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/apprise_api.py:232:57-64: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/apprise_api.py:449:24-34: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/aprs.py:400:21-30: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/aprs.py:400:38-51: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/aprs.py:654:20-29: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/aprs.py:694:34-44: The string for `NotifyFormat | OverflowMode | bool | float | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/bark.py:722:28-29: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/base.py:911:27-63: The string for `Any | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/base.py:1064:22-39: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/base.py:1095:20-37: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/blink1.py:242:39-47: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/blink1.py:257:35-39: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/bluesky.py:239:18-26: The string for `Literal[False] | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/bluesky.py:315:19-23: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/bluesky.py:315:65-69: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/bluesky.py:413:18-33: The string for `Literal[False] | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/bluesky.py:492:44-53: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/brevo.py:270:47-56: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/brevo.py:284:55-64: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/brevo.py:296:21-30: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/bulksms.py:221:43-48: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/bulkvs.py:151:58-64: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/cliq.py:267:51-57: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/custom_form.py:224:44-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/custom_form.py:395:21-32: The string for `NotifyFormat | OverflowMode | bool | float | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/custom_json.py:194:44-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/custom_xml.py:207:44-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/d7networks.py:180:55-60: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/d7networks.py:217:40-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/d7networks.py:340:69-75: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/dbus.py:283:55-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/dbus.py:283:64-70: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/dingtalk.py:171:53-59: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/dingtalk.py:180:45-51: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/dingtalk.py:190:43-54: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/discord.py:820:34-49: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/discord.py:820:52-70: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/dot.py:288:16-30: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/dot.py:294:16-30: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/emby.py:359:45-57: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/emby.py:494:35-44: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/evolution.py:427:50-63: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/fcm/__init__.py:385:41-52: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/fcm/__init__.py:467:48-57: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/flock.py:186:45-51: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/flock.py:260:40-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/fluxer.py:355:46-50: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/github.py:281:47-52: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/github.py:290:52-56: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/github.py:301:50-54: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/github.py:492:40-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/github.py:610:17-26: The string for `LazyTranslation | bool | int | str | tuple[str, str] | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/github.py:612:23-32: The string for `LazyTranslation | bool | int | str | tuple[str, str] | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/glib.py:238:26-32: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/glib.py:238:35-41: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/gorush.py:253:53-61: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/gorush.py:282:50-55: The string for `Any | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/groundmail.py:424:40-51: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/home_assistant.py:281:40-56: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/home_assistant.py:332:40-46: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/home_assistant.py:332:49-56: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/httpsms.py:130:42-48: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/httpsms.py:137:58-64: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/ifttt.py:289:68-73: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/ifttt.py:293:66-71: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/irc/base.py:319:21-30: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/irc/base.py:319:33-46: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/lametric.py:562:48-52: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/lametric.py:572:25-31: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/lametric.py:584:25-34: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/lametric.py:619:25-31: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/lametric.py:822:23-32: The string for `NotifyFormat | OverflowMode | bool | float | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/lauther.py:220:54-62: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/lauther.py:240:40-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/line.py:154:40-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/line.py:233:67-73: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/line.py:238:40-46: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mailgun.py:272:52-63: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mailgun.py:652:36-45: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mastodon.py:386:53-59: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mastodon.py:1066:40-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:482:37-54: The string for `NotifyFormat | OverflowMode | bool | float | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:516:42-46: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:527:45-52: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:538:45-52: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:550:25-38: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:766:20-37: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:796:37-46: The string for `NotifyFormat | OverflowMode | bool | float | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:1309:33-45: The string for `NotifyFormat | OverflowMode | bool | float | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:1760:42-53: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:3725:25-33: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/matrix/base.py:3779:29-41: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mattermost.py:350:40-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mattermost.py:470:50-60: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mattermost.py:548:52-62: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mattermost.py:686:39-45: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mattermost.py:688:41-47: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/messagebird.py:180:43-54: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mobilemessage.py:216:60-66: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mqtt.py:276:43-46: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mqtt.py:312:54-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mqtt.py:343:30-39: The string for `int | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mqtt.py:428:38-47: The string for `int | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/mqtt.py:428:50-55: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/nextcloud.py:292:25-37: The string for `NotifyFormat | OverflowMode | bool | float | int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/nextcloudtalk.py:280:28-34: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/nextcloudtalk.py:282:34-40: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/notica.py:223:52-62: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/notifiarr.py:160:51-57: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/notifiarr.py:201:45-51: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/notifico.py:431:33-48: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/notifico.py:431:51-63: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/ntfy.py:347:44-48: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/ntfy.py:363:57-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/ntfy.py:429:48-54: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/office365.py:377:21-30: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/office365.py:387:21-27: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/office365.py:398:56-62: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/office365.py:519:35-46: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/office365.py:574:61-72: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/office365.py:659:50-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/office365.py:665:56-67: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/office365.py:891:29-40: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/office365.py:933:48-59: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/one_signal.py:292:53-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/one_signal.py:383:39-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/opsgenie.py:377:53-64: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/opsgenie.py:511:42-53: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/opsgenie.py:643:33-46: The string for `NotifyFormat | OverflowMode | bool | float | int | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pagerduty.py:271:21-35: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pagerduty.py:318:54-65: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pagerduty.py:338:56-64: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pagerduty.py:412:45-56: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pinglet.py:320:34-48: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pinglet.py:320:51-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pinglet.py:345:40-50: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pingram.py:387:52-58: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pingram.py:465:56-61: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pingram.py:602:16-33: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pingram.py:847:40-51: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushbullet.py:261:45-54: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushbullet.py:272:45-54: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushbullet.py:278:45-54: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushbullet.py:291:57-66: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushed.py:171:56-62: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushover.py:485:56-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushover.py:492:52-60: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushover.py:521:57-63: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushover.py:536:52-57: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushover.py:898:26-41: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushsafer.py:471:53-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushsafer.py:522:50-55: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushsafer.py:540:52-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushsafer.py:547:52-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushsafer.py:676:56-65: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushsafer.py:700:38-47: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushsafer.py:712:34-43: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushward.py:272:40-51: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/pushy.py:155:51-57: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/reddit.py:288:54-58: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/reddit.py:294:49-58: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/reddit.py:300:50-63: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/reddit.py:308:48-54: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/reddit.py:316:52-62: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/reddit.py:459:60-69: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/reddit.py:462:68-77: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/resend.py:378:40-51: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/revolt.py:161:56-62: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/rocketchat.py:232:57-61: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/rocketchat.py:298:55-64: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/rocketchat.py:437:25-37: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/rocketchat.py:622:54-63: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/rocketchat.py:627:20-29: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR apprise/plugins/rocketchat.py:680:51-60: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
... (truncated 87 lines) ...
packaging (https://github.com/pypa/packaging)
+ ERROR src/packaging/markers.py:247:41-44: The type `AbstractSet[str] | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/packaging/version.py:264:54-59: The string for `Literal[0] | object` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/packaging/version.py:276:78-85: The string for `object | tuple[Literal[0]]` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/packaging/version.py:294:75-80: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/packaging/version.py:303:53-58: The string for `object` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/packaging/version.py:312:52-57: The string for `object` isn't helpful in a user-facing string [helpful-string]
mkosi (https://github.com/systemd/mkosi)
+ ERROR mkosi/__init__.py:207:53-57: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:233:29-32: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:236:58-61: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:373:16-25: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:665:32-38: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:668:20-26: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:698:60-66: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:771:55-61: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:962:56-62: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:1037:62-68: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:1111:59-65: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:1173:62-68: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:1892:60-64: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/__init__.py:2055:29-68: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2062:36-77: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2065:40-78: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2094:33-72: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2169:52-53: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2169:59-70: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2209:39-85: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2222:60-64: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/__init__.py:2232:38-68: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2257:45-60: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2281:17-47: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2364:47-53: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2409:39-42: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2537:67-68: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2572:25-29: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2661:25-29: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2666:25-29: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2668:25-29: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2710:30-34: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2716:27-44: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2729:49-60: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2742:31-32: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2744:31-32: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2844:32-40: The type `Path | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2861:23-27: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2862:66-74: The type `Path | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:2877:23-28: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:3375:26-31: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:3380:16-21: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:3385:26-31: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:3406:26-34: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:3440:42-72: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:3468:38-68: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:3576:36-37: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4030:62-71: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4053:46-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4298:39-42: The type `Path | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4299:54-57: The type `Path | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4299:76-79: The type `Path | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4406:55-56: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4421:42-45: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4421:48-51: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4425:42-61: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4436:38-49: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4436:52-58: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4464:35-39: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4521:23-29: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4615:20-21: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4653:65-66: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4662:45-47: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4663:42-53: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:4700:56-62: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:5050:27-44: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:5061:56-84: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/__init__.py:5257:37-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/archive.py:27:48-51: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/archive.py:74:44-47: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/archive.py:122:49-52: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:301:38-42: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:302:31-35: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:308:93-105: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:360:62-68: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:389:65-97: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:389:104-107: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:402:27-64: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:628:91-103: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:640:71-74: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:640:81-87: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:651:93-105: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:660:89-92: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:660:99-105: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:663:72-75: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:663:82-88: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:723:58-93: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:730:41-46: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/bootloader.py:765:63-99: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:872:29-33: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:873:29-33: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:874:31-35: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:879:29-33: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:880:35-39: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:881:31-35: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:887:27-31: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:888:27-31: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:889:29-33: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:894:27-31: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:895:33-37: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/bootloader.py:896:29-33: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/burn.py:32:24-29: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/completion.py:212:44-71: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/config.py:188:19-30: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:188:33-44: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:188:70-81: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:777:20-24: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:777:50-51: The type `Path | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:787:34-38: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:823:16-20: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:1401:24-36: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:1662:49-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:1705:16-20: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:1929:28-41: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/config.py:2070:36-51: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:2075:24-39: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:2081:24-39: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:4922:32-47: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:4941:36-51: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:4950:40-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5095:32-47: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5119:28-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5122:28-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5126:28-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5139:24-39: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5150:28-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5157:20-35: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5230:57-61: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5244:28-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5249:40-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5255:28-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5259:28-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5265:28-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5464:44-56: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5472:51-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5697:20-21: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5869:35-39: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5914:39-65: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:5916:39-54: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/config.py:5917:39-59: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR mkosi/config.py:6050:39-56: The type `Path | None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:6060:39-72: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:6370:88-90: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:6383:88-100: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/config.py:6418:42-50: The type `Path | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/distribution/opensuse.py:328:85-89: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/distribution/rhel.py:37:71-75: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/initrd.py:157:25-36: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/initrd.py:157:39-50: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/initrd.py:182:48-72: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/initrd.py:242:27-34: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/initrd.py:242:40-43: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/initrd.py:250:26-29: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/initrd.py:250:35-40: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/installer/__init__.py:238:34-40: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/installer/__init__.py:238:57-63: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/installer/apt.py:34:61-83: The type `Literal['yes'] | Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/installer/apt.py:141:69-82: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/installer/apt.py:186:37-71: The type `Path | None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/installer/dnf.py:145:46-60: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/installer/dnf.py:147:50-68: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/installer/dnf.py:149:49-66: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/installer/dnf.py:183:45-71: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/kmod.py:546:65-72: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/kmod.py:551:65-72: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:108:24-37: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:113:52-65: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:658:44-45: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:884:49-63: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:966:43-49: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:972:36-42: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:988:47-53: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:1113:82-95: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:1128:43-52: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:1166:63-67: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:1184:59-63: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:1196:31-34: The type `Path | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:1237:34-39: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:1273:54-58: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkosi/qemu.py:1306:56-74: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
... (truncated 24 lines) ...
cki-lib (https://gitlab.com/cki-project/cki-lib)
+ ERROR cki_lib/messagequeue.py:308:40-50: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR cki_lib/yaml.py:114:68-72: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR cki_lib/yaml.py:249:41-42: The type `ValidationError` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR tests/kcidb/test_checks.py:261:36-43: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR tests/kcidb/test_checks.py:261:47-60: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR tests/test_messagequeue.py:872:50-60: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR tests/test_yaml.py:276:34-39: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
mkdocs (https://github.com/mkdocs/mkdocs)
+ ERROR mkdocs/config/base.py:104:97-103: The type `type[Config]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkdocs/config/base.py:326:50-68: The type `IO[Unknown]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkdocs/config/config_options.py:205:42-58: The type `BaseConfigOption[T]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkdocs/config/config_options.py:260:42-58: The type `BaseConfigOption[T]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkdocs/config/config_options.py:372:67-74: The type `Collection[T]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkdocs/config/config_options.py:380:55-67: The type `Collection[T]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR mkdocs/config/config_options.py:980:39-42: The string for `object` isn't helpful in a user-facing string [helpful-string]
black (https://github.com/psf/black)
+ ERROR src/black/__init__.py:647:32-36: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:647:69-75: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/black/__init__.py:704:55-64: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:848:58-62: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:880:54-58: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:894:51-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:902:45-49: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:907:55-59: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:1079:22-25: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:1094:23-26: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:1095:23-26: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/__init__.py:1421:35-45: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/black/__init__.py:1421:48-58: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR src/black/cache.py:74:46-56: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/files.py:270:32-41: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/files.py:293:81-85: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/files.py:374:82-86: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/report.py:40:38-41: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/report.py:45:30-33: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/report.py:47:30-33: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/report.py:61:46-49: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/report.py:65:41-44: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/report.py:70:20-24: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/black/strings.py:359:54-55: The type `Match[str]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR src/blib2to3/pgen2/pgen.py:315:49-54: The string for `Any | None` isn't helpful in a user-facing string [helpful-string]
operator (https://github.com/canonical/operator)
+ ERROR ops/_main.py:96:31-44: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/_private/harness.py:2959:26-38: The type `UUID` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR ops/_private/harness.py:3120:72-85: The string for `float | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/_private/harness.py:3126:72-85: The string for `float | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/charm.py:588:65-68: The string for `Application | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/charm.py:649:46-49: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/charm.py:649:53-57: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/framework.py:780:89-97: The type `(Any) -> None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR ops/framework.py:1284:65-79: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/model.py:1292:25-38: The string for `SecretRotate | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/model.py:3171:41-50: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR ops/pebble.py:1436:21-30: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/pebble.py:1439:24-36: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/pebble.py:1441:25-38: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/pebble.py:1560:22-32: The string for `CheckLevel | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/pebble.py:1563:26-40: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR ops/pebble.py:2626:66-73: The string for `float | None` isn't helpful in a user-facing string [helpful-string]
openlibrary (https://github.com/internetarchive/openlibrary)
+ ERROR openlibrary/book_providers.py:196:31-50: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/book_providers.py:200:22-41: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/book_providers.py:208:34-53: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/bookworm/cli.py:278:105-121: The string for `datetime | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/bookworm/tests/test_cli.py:478:60-68: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/bookworm/tests/test_harvest.py:236:63-69: The string for `datetime | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/catalog/add_book/__init__.py:134:46-57: The type `Iterable[str]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/catalog/add_book/__init__.py:265:47-59: The type `UUID` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/catalog/add_book/__init__.py:316:37-49: The type `UUID` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/catalog/add_book/__init__.py:735:44-56: The type `UUID` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/catalog/marc/marc_binary.py:132:61-64: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/core/db.py:92:37-38: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/core/db.py:92:42-43: The string for `object | Unknown` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/core/edits.py:215:33-41: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/core/lending.py:177:26-48: The string for `None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/core/lending.py:447:57-74: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/core/matomo.py:139:63-82: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/core/vendors.py:689:35-55: The string for `None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/coverstore/code.py:264:55-61: The type `array[int] | int | None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/coverstore/code.py:264:64-71: The type `array[int] | int` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/coverstore/code.py:471:48-56: The string for `Literal['', 0] | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/coverstore/code.py:485:48-56: The string for `Literal['', 0] | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/coverstore/code.py:587:36-53: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/data/dump.py:132:40-44: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/data/dump.py:195:26-36: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/data/dump.py:217:23-32: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/i18n/__init__.py:215:35-44: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/plugins/admin/tests/test_code.py:44:78-88: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/plugins/importapi/code.py:371:56-59: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/plugins/upstream/models.py:204:34-51: The string for `str | Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/plugins/upstream/models.py:205:34-44: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/plugins/worksearch/schemes/works.py:526:53-61: The type `((str) -> str) | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/plugins/worksearch/schemes/works.py:528:47-55: The type `((str) -> str) | str` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/scorecards.py:229:24-32: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/solr/generate_solr_types.py:48:69-72: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/solr/generate_solr_types.py:53:88-114: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/solr/generate_solr_types.py:58:61-72: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/solr/generate_solr_types.py:60:51-54: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/solr/generate_solr_types.py:69:37-41: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/solr/generate_solr_types.py:101:25-35: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/solr/utils.py:222:74-87: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/tests/catalog/test_get_ia.py:98:95-107: The type `type[NoneType] | type[MarcXml]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/tests/catalog/test_get_ia.py:106:89-101: The type `type[NoneType] | type[MarcBinary]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/tests/core/test_jinja.py:460:61-71: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/tests/core/test_jinja.py:460:77-90: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/tests/core/test_layout.py:79:58-62: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/tests/fastapi/test_prometheus_multiprocess.py:64:55-70: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/tests/test_templates.py:31:40-48: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/tests/test_templates.py:31:51-59: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/tests/test_templates.py:50:74-82: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/tests/test_templates.py:94:35-36: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR openlibrary/utils/sentry.py:268:73-98: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/utils/solr.py:89:43-49: The string for `list[str] | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR openlibrary/utils/solr.py:115:43-49: The type `Iterable[str] | None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
rotki (https://github.com/rotki/rotki)
+ ERROR rotkehlchen/accounting/export/csv.py:68:53-57: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/accounting/export/csv.py:78:52-56: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/accounting/history_base_entries.py:74:49-65: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/accounting/history_base_entries.py:127:46-62: The string for `EventDirection | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/accounting/structures/processed_event.py:151:45-57: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/api/rest.py:3096:43-51: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/api/rest.py:3110:47-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/api/rest.py:3120:71-79: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/api/rest_helpers/history_events.py:38:57-77: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/api/services/history.py:191:26-40: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/api/v1/fields.py:1105:31-35: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/api/v1/schemas.py:383:73-86: The string for `SupportedBlockchain | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/args.py:37:44-50: The type `Sequence[Any] | str | None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/assets/spam_assets.py:50:52-62: The string for `Any | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/base/modules/basenames/decoder.py:197:111-131: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/base/modules/morpho_blue/balances.py:66:55-71: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/base/modules/runmoney/decoder.py:55:74-123: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/bitcoin/xpub.py:331:28-52: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/bitcoin/xpub.py:332:28-58: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/bitcoin/xpub.py:337:67-91: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/bitcoin/xpub.py:338:45-75: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/decoding/decoder.py:224:101-106: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/decoding/decoder.py:238:101-106: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/airdrops.py:330:53-74: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/airdrops.py:359:51-59: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/airdrops.py:363:47-55: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/airdrops.py:779:75-84: The type `Sequence[ChecksumAddress]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/airdrops.py:824:94-103: The type `Sequence[ChecksumAddress]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/aave/v1/decoder.py:56:90-110: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/aave/v1/decoder.py:62:84-104: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/aave/v2/accountant.py:56:105-125: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/aave/v2/accountant.py:93:96-116: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/eth2/beacon.py:148:59-63: The string for `dict[str, Any] | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/eth2/beacon.py:266:73-82: The type `BeaconNode | Unknown | None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/eth2/beacon.py:328:69-78: The type `BeaconNode | Unknown | None` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/gitcoin/decoder.py:113:93-103: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/gitcoin/decoder.py:116:108-120: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/lido_csm/metrics.py:168:82-85: The string for `Unknown | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/oneinch/v1/decoder.py:59:98-118: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/oneinch/v1/decoder.py:66:102-122: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/oneinch/v1/decoder.py:93:108-128: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/shutter/decoder.py:85:89-113: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/thegraph/decoder.py:95:64-77: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/uniswap/v1/decoder.py:60:99-119: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/modules/uniswap/v1/decoder.py:78:107-127: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/transactions.py:187:65-74: The type `Sequence[ChecksumAddress]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/ethereum/utils.py:131:75-87: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/base.py:135:72-86: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/base.py:135:92-115: The string for `ChecksumAddress | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/base.py:137:72-95: The string for `ChecksumAddress | str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/base.py:137:101-115: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/ens/decoder.py:107:37-66: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/ens/decoder.py:111:33-55: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/ens/decoder.py:112:29-58: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/ens/decoder.py:116:37-66: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/frankencoin/savings/decoder.py:154:89-94: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/frankencoin/savings/decoder.py:201:82-90: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/uniswap/v2/utils.py:142:95-115: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/uniswap/v2/utils.py:161:98-118: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/utils.py:246:23-39: The string for `str | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/velodrome/decoder.py:294:33-44: The string for `EvmEvent | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/decoding/velodrome/decoder.py:294:63-76: The string for `EvmEvent | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/manager.py:248:59-67: The type `type[AaveBalances] | type[AcrossBalances] | type[AerodromeBalances] | type[AztecBalances] | type[BeetsV2Balances] | type[BeetsV3Balances] | type[BlurBalances] | type[Compoundv3Balances] | type[ConvexBalances] | type[CurveBalances] | type[CurveCrvusdBalances] | type[CurveLendBalances] | type[EigenlayerBalances] | type[rotkehlchen.chain.base.modules.extrafi.balances.ExtrafiBalances] | type[rotkehlchen.chain.optimism.modules.extrafi.balances.ExtrafiBalances] | type[FlyingTulipLendBalances] | type[FlyingTulipStakingBalances] | type[FrankencoinSavingsBalances] | type[rotkehlchen.chain.ethereum.modules.gearbox.balances.GearboxBalances] | type[rotkehlchen.chain.optimism.modules.gearbox.balances.GearboxBalances] | type[rotkehlchen.chain.arbitrum_one.modules.gearbox.balances.GearboxBalances] | type[rotkehlchen.chain.optimism.modules.giveth.balances.GivethBalances] | type[rotkehlchen.chain.gnosis.modules.giveth.balances.GivethBalances] | type[GmxBalances] | type[HedgeyBalances] | type[HopBalances] | type[KinetiqBalances] | type[LidoCsmBalances] | type[MorphoBlueBalances] | type[OctantBalances] | type[PendleBalances] | type[RunmoneyBalances] | type[SafeBalances] | type[ThegraphBalances] | type[UmamiBalances] | type[VelodromeBalances] | type[WalletconnectBalances] | type[WoofiBalances] | type[YearnVestingBalances]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/evm/node_inquirer.py:1966:35-47: The type `(...) -> Unknown` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/evm/transactions.py:1678:57-69: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/evm/transactions.py:1678:75-85: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/gnosis/transactions.py:154:94-103: The type `Sequence[ChecksumAddress]` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/solana/node_inquirer.py:257:65-71: The type `(Client) -> R` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/chain/solana/node_inquirer.py:471:32-38: The string for `Signature | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/solana/node_inquirer.py:471:51-56: The string for `Signature | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/zksync_lite/manager.py:672:87-98: The string for `None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/zksync_lite/manager.py:886:46-68: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/zksync_lite/manager.py:910:46-68: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/zksync_lite/manager.py:940:119-141: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/zksync_lite/manager.py:951:115-137: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/chain/zksync_lite/manager.py:974:189-211: The string for `ChecksumAddress | None` isn't helpful in a user-facing string [helpful-string]
+ ERROR rotkehlchen/config.py:64:76-83: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/config.py:64:89-96: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/data_handler.py:184:75-88: The type `Path` doesn't define a custom `__format__`, `__str__`, or `__repr__` method [helpful-string]
+ ERROR rotkehlchen/data_handler.py:347:64-75: The string for `int | None` isn't helpful in a user-facing string [helpful-string]
... (truncated 4916 lines) ... |
|
After some more thought, I think it's just too prone to false positives. I think I'm going to mark the issue completed and close this PR, we got the f-string and regex checks which is great |
Summary
Fixes part of #4010
Test Plan