-
Notifications
You must be signed in to change notification settings - Fork 90
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
test: reduce line length to 118 the default in Cockpit #1312
test: reduce line length to 118 the default in Cockpit #1312
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
bac20b9
to
7385b7d
Compare
We can now start running ruff in CI.
Copy the rules which Cockpit-machines enables, except ignore FBT003 for now and PT as they require more work to fix.
0e03cc5
to
024aedb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cheers!
@@ -92,7 +92,7 @@ const ContainerEnv = ({ containerEnv, imageEnv }) => { | |||
const ContainerIntegration = ({ container, containerDetail, localImages }) => { | |||
if (containerDetail === null || localImages === null) { | |||
return ( | |||
<EmptyStatePanel title={_('Loading details...')} loading /> | |||
<EmptyStatePanel title={_("Loading details...")} loading /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This added line is not executed by any test. Details
this is stubborn. But this looks a lot like cockpit-project/bots#4829 , just that the patterns somehow don't match |
We can now start running ruff in CI.
As follow up:
test/static-code
from Cockpit like machines