Skip to content
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

Fix runner collection by checking file path first #70

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

nicholasjng
Copy link
Collaborator

This eliminates the previous failure case of trying to load a filepath with importlib.

By reordering, we incur more time for the module branch (i.e. if the input is a module name), but this is okay since the checks are cheap.

Fixes #69.

This eliminates the previous failure case of trying to load a filepath
with importlib.

By reordering, we incur more time for the module branch (i.e. if the
input is a module name), but this is okay since the checks are cheap.

Fixes the "leading-dot" occurrences in the docs.
@nicholasjng nicholasjng merged commit bf4dd5e into main Feb 8, 2024
5 checks passed
@nicholasjng nicholasjng deleted the fix-collection branch February 8, 2024 10:43
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.

Benchmark discovery fails if "./" is not prepended to a relative path
1 participant