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
FEAT CLI conversion #249
FEAT CLI conversion #249
Changes from 18 commits
22c4c71
eacedf8
453728d
da6da30
a5abe50
5a9c0fc
b3a561e
1d01ff5
91d1b0f
7af9c26
8ad10cd
864d8ca
7589a06
b39ec14
9e76ee1
aa24050
02b3cf8
245197f
2b681ce
25b539c
50bf189
6ecb8cf
227f23c
426d663
c3b001c
37d3a87
9b9f342
6f5b71e
aa7c3ba
1c0352d
8d9b3c5
452fbdb
8150f9a
88e7be0
c38cb73
5233230
95a5ff3
a17b14b
7e63178
6e35770
02c95ad
c3491ef
7e072da
799f91b
1864f1c
8ddc6b9
bdfbf58
0e6b4cb
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.
A more general question: I wonder if we should still document this, and similar cases, as "str or pathlib.Path", as users may not be familiar with
os.PathLike
. WDYT?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 honestly think
os.PathLike
is pretty self-documenting, but I could also see a user getting confused by not seeing the type they're expecting in the docstring.I'm happy with either way
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.
Hard to say if a user who doesn't know the type would guess that
str
is a path-like. Anyway, I won't object to leaving it as is, especially since it means that the type annotation and docstring are identical, I just wanted to bring up the possible friction here.