Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Moving source directory to src/anndata #1151
Moving source directory to src/anndata #1151
Changes from 37 commits
0f916d3
3159ae5
96994af
28df752
50be530
f1e3b8e
5fdbc60
878d2fd
8ae217e
abad630
4471d95
9650876
55e1f0e
09343e9
bdf7447
d2ea31b
e627fdd
61d8ecc
55afbaa
4f619f2
77a744d
7019f39
fbd89ab
d4ab295
edd2ca2
062717f
d4170cb
6f07f81
fbd5a3f
6e55886
99dcc98
2992a35
6c28074
b0efbc2
30d7891
8a845af
045c19c
a834c42
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 not sure I totally get this argument. What does this do other than let us use
anndata
instead of./src/anndata
intestpaths
?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.
because doctests are weird and would otherwise result in importing some modules as files and others via
sys.path
.pytest imports the files that hosts doctests. If they are in a
src
directory, they’ll be imported twice: once that way and once when importing the actual library.Using
--pyargs
means that pytest will identify the doctest parent modules as identical to the library module with the same path.