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

ruff: Disable Pytest checks #1208

Merged
merged 1 commit into from
Sep 13, 2023
Merged

Conversation

martinpitt
Copy link
Member

We don't use pytest in our test machinery right now, and every new ruff version starts to complain about more things. The recent tasks container update started to fail our tests with

PT027 Use pytest.raises instead of unittest-style assertRaises

Disable the PT rules again.

Fixes #1207

We don't use pytest in our test machinery right now, and every new ruff
version starts to complain about more things. The recent tasks container
update started to fail our tests with

> PT027 Use `pytest.raises` instead of unittest-style `assertRaises`

Disable the PT rules again.

Fixes cockpit-project#1207
@jelly jelly merged commit fc76f9b into cockpit-project:main Sep 13, 2023
25 checks passed
@martinpitt martinpitt deleted the new-ruff branch September 13, 2023 07:42
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.

Nightly tests did not succeed on fedora-38/updates-testing
2 participants