Skip to content

Commit

Permalink
Hack fix for homeassistant
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Jan 31, 2024
1 parent ae3bb63 commit d84e9b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mypy_primer/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,12 +642,15 @@ def get_projects() -> list[Project]:
),
Project(
location="https://github.com/home-assistant/core",
mypy_cmd="{mypy} homeassistant",
mypy_cmd=(
"sed -i.bak '/^plugins = pydantic.mypy$/s/^/#/' mypy.ini; {mypy} homeassistant"
),
pip_cmd=(
"{pip} install attrs pydantic types-setuptools types-atomicwrites types-certifi"
" types-croniter types-PyYAML types-requests types-python-slugify types-backports"
),
mypy_cost=70,
supported_platforms=["linux", "darwin"], # hack for sed
),
Project(location="https://github.com/kornia/kornia", mypy_cmd="{mypy} kornia"),
Project(
Expand Down

0 comments on commit d84e9b2

Please sign in to comment.