Skip to content

Conversation

walesch-yan
Copy link
Collaborator

This PR removes the N814 rule exceptions from ruff.toml. The rule was ignored in many files since it triggers on

from mxcubecore import HardwareRepository as HWR

Since #1849, HWR is whitelisted, hence the file-wide exceptions are not needed anymore

@walesch-yan walesch-yan force-pushed the yw-remove-N814-exceptions branch from 225439f to bacb97d Compare September 3, 2025 09:33
Copy link
Contributor

@fabcor-maxiv fabcor-maxiv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep

@fabcor-maxiv
Copy link
Contributor

We could do the same for MXCuBE-Core.

@walesch-yan
Copy link
Collaborator Author

We could do the same for MXCuBE-Core.

Yes, to stay consistent with the configurations across both repos I agree

@marcus-oscarsson marcus-oscarsson force-pushed the yw-remove-N814-exceptions branch from bacb97d to a156a0d Compare September 3, 2025 12:38
@marcus-oscarsson marcus-oscarsson merged commit c673e89 into develop Sep 3, 2025
26 checks passed
@marcus-oscarsson marcus-oscarsson deleted the yw-remove-N814-exceptions branch September 3, 2025 13:17
@fabcor-maxiv
Copy link
Contributor

We could do the same for MXCuBE-Core.

Yes, to stay consistent with the configurations across both repos I agree

Here: mxcube/mxcubecore#1363.

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.

3 participants