-
Notifications
You must be signed in to change notification settings - Fork 318
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
Switch qcodes to src layout #5427
Conversation
d67510e
to
53a75ef
Compare
Codecov Report
@@ Coverage Diff @@
## main #5427 +/- ##
===========================================
+ Coverage 68.36% 81.06% +12.70%
===========================================
Files 341 518 +177
Lines 29994 52346 +22352
===========================================
+ Hits 20505 42436 +21931
- Misses 9489 9910 +421 |
adf2a78
to
f2f1762
Compare
ebb5dd6
to
1eb1c4c
Compare
1eb1c4c
to
86d6d5b
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.
looks good.
and in qcodes we don't use file of a module for anything, that might break, right?
This only breaks when something outside reaches in to the src or the other way around. There were a few examples that reached into the test fixtures for files but those have been fixed. |
This is mainly due to the fact that editable mode does not work well for flat layout pypa/setuptools#3518 which does not seem likely to be fixed anytime soon. This also has the benefit of making it cleaner that tests are executed against an installed version of the code since the src is not on path by default.
It is expected that darker will fail on this branch since all the files counts as new when moved but I have not linted them