Skip to content

Commit

Permalink
add colour-science
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Sep 29, 2024
1 parent 9cd4ce0 commit 24d2e1d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions mypy_primer/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@
# - https://github.com/r-spacex/submanager
# - https://github.com/NeilGirdhar/efax
# - https://github.com/google/duet
# - https://github.com/RobertCraigie/prisma-client-py
# - https://github.com/typeddjango/django-stubs

# repos with issues
# - https://github.com/RobertCraigie/prisma-client-py
# has a codegen build step that provides a lot of the regression check value


def update_projects(projects: list[Project], check: bool = False) -> None:
# modifies `get_projects` in place.
Expand Down Expand Up @@ -64,7 +67,7 @@ def get_projects() -> list[Project]:
# Project(
# location="https://github.com/ZettaAI/zetta_utils",
# mypy_cmd="{mypy} .",
# pip_cmd="{pip} install types-Pillow types-cachetools types-requests attrs",
# install_cmd="{install} types-Pillow types-cachetools types-requests attrs",
# expected_mypy_success=True,
# supported_platforms=["linux", "darwin"],
# ),
Expand Down Expand Up @@ -1221,6 +1224,13 @@ def get_projects() -> list[Project]:
expected_mypy_success=True,
install_cmd="{install} . ./ext",
),
Project(
location="https://github.com/colour-science/colour",
mypy_cmd="{mypy} colour",
pyright_cmd="{pyright}",
deps=["numpy", "pytest", "matplotlib", "pandas-stubs"],
cost={"mypy": 45, "pyright": 180},
)
]
assert len(projects) == len({p.name for p in projects})
for p in projects:
Expand Down

0 comments on commit 24d2e1d

Please sign in to comment.