-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enable SLF001 for src #174
Conversation
7da254e
to
1495c23
Compare
- Enable SLF001, forbidding private member access in src directory. - Per discussion in #154, ignore private member access violations in tests directory - Add test proving that ruff flags the violations
1495c23
to
e5db69c
Compare
This looks fine, but I will reserved judgement until @evalott100 has applied it to ophyd-async (which should be soon) |
docs/explanations/decisions/0018-forbid-private-member-access-in-tests.md
Outdated
Show resolved
Hide resolved
e8bf3f8
to
329d77c
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.
I'm happy for this to be applied to dodal
and hyperion
. Thank you!
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.
Happy for this to be applied to ophyd-async
now.
Fixes #154