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

Add type hints #18

Open
barneygale opened this issue Jan 13, 2024 · 2 comments
Open

Add type hints #18

barneygale opened this issue Jan 13, 2024 · 2 comments

Comments

@barneygale
Copy link
Owner

Per justindujardin/pathy#105 (comment)

@barneygale
Copy link
Owner Author

To annotate PathBase.stat() we'll need to address #3

@ap--
Copy link

ap-- commented Sep 3, 2024

Hi @barneygale,

I finally found some time to start moving universal_pathlib to PathBase. To make some of the type checks pass, I wrote type stubs for parts of pathlib_abc. If you're interested I could make a PR here, and upstream them.

The problem is of course, that the type information has to be kept up-to-date separately.

see: https://github.com/fsspec/universal_pathlib/pull/270/files#diff-47f26e6dbeda71d5163654c5951783766ee5e48e58d98abc09468cd28aed9539

Cheers,
Andreas

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

No branches or pull requests

2 participants