home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.87k stars 30.11k forks source link

Pylint throwing error: Unrecognized option found: ignore-missing-annotations=y(Failed) #119027

Open Ledgerbiggg opened 3 months ago

Ledgerbiggg commented 3 months ago

The problem

When I execute the command (pre commit run -- all files), it prompts: 34bba55267a8abe254324f35fc046ce My (pylint) version is as follows: 73c4d0c12195e08ab63203bb55c9ac0

I refer to this issue: https://github.com/home-assistant/core/issues/98104

I have already run the script (script/setup), but this issue still occurs. I have also changed my virtual environment, but it has not been resolved

What version of Home Assistant Core has the issue?

2024.5.5

What was the last working version of Home Assistant Core?

core-2024.5.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

mxr commented 1 month ago

Not a maintainer but this can happen when pylint does not load the custom plugins in the homeassistant repo. Did you rerun script/setup after changing your venv to 3.12?