-
Notifications
You must be signed in to change notification settings - Fork 35
Move tests folder to top dir level #100
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
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.
I think we just need to remove the init
@sbillinge |
@bobleesj I am afraid that removing the init broke this. We could add it back, but in general, if there is another approach (some small edits to the tests needed to make them pass without that init) it would be preferred so we don't have some packages differently structured from others.... |
@sbillinge Please review the latest change. CI isn't running here but checked it using my remote branch. ![]() |
I am committed to this. |
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 great! One small inline comment
@@ -45,7 +45,6 @@ dirty_template = "{tag}" | |||
[tool.setuptools.packages.find] | |||
where = ["src"] # list of folders that contain the packages (["."] by default) | |||
include = ["*"] # package names should match these glob patterns (["*"] by default) | |||
exclude = ["diffpy.structure.tests*"] # exclude packages matching these glob patterns (empty by default) |
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.
Please leave this in but with an empty list.
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.
Got it - done.
is used now. Please review. |
Before:
==== 138 passed in 11.16s =====
After:
===138 passed in 1.51s ======
Using
conftest
, local pytest runs are much faster.Billingegroup/scikit-package#114