Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tasks: add python3-mypy, pytest modules #595

Merged
merged 2 commits into from
Mar 11, 2024
Merged

tasks: add python3-mypy, pytest modules #595

merged 2 commits into from
Mar 11, 2024

Conversation

allisonkarlitskaya
Copy link
Member

@allisonkarlitskaya allisonkarlitskaya commented Mar 11, 2024

We're going to stop using toxbox to run our static checks against a venv and start depending on the run from the tasks container instead. We need mypy in the tasks container for that, of course.

While we're at it, add python3-pytest. Something else we're already using (probably aioresponses) is pulling that in implicitly, but it's pretty important for us, so make sure we have it explicitly.

Add a couple of more useful pytest modules as well...

We're going to stop using toxbox to run our static checks against a venv
and start depending on the run from the tasks container instead.  We
need mypy in the tasks container for that, of course.

While we're at it, add python3-pytest.  Something else we're already
using (probably aioresponses) is pulling that in implicitly, but it's
pretty important for us, so make sure we have it explicitly.

Add a couple of more useful pytest modules as well...
@martinpitt
Copy link
Member

As this is the container refresh which we wanted to do anyway, can we please land cockpit-project/cockpit-machines#1484 first?

martinpitt
martinpitt previously approved these changes Mar 11, 2024
We also need this for test/static-code in cockpit repo.
@martinpitt martinpitt merged commit ea998a0 into main Mar 11, 2024
4 checks passed
@martinpitt martinpitt deleted the mypy branch March 11, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants