Pylint might not be picking up the .venv correctly. Try running:
.venv
PYTHONPATH=. uv run pylint .
Or modify your pyproject.toml:
pyproject.toml
[tool.pylint.MASTER] init-hook='import sys; sys.path.append(".venv/lib/python3.12/site-packages")'