-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 stubs for Scrapy #8759
Comments
Hi! We're unlikely to add stubs for Scrapy ourselves, but we'd probably accept stubs for Scrapy if you'd like to submit a PR! There's instructions in |
Yeah, I just wanted to create an issue before the PR so to avoid problems. |
I'm closing this issue as per our policy about stub requests, but new stub contributions are very welcome! |
Issue around adding type hints to Scrapy: scrapy/scrapy#4041 |
Is anyone work on this yet? If not, I think I could start. |
Not that I know of. @xlurio? |
@xlurio I'd love to help, should I make PRs to your forked repo? |
Yes, please! |
@xlurio @AlexanderHott hey guys, was it abandoned? |
yeah... I didn't had time anymore to work on it @guyarad |
It was a lot more work than I expected when I look into it. You would have to type the underlying parsing libraries that use xpath and css selectors, which I didn't want to get into. I don't have a use for scrapy right now, so I'm not working on it. If you wanted to give it a shot, you should probably start with the publicly exposed dependencies that scrapy uses as return types and parameter types. As far as I rememeber, it uses |
Apparently there are no type stubs for Scrapy and I always have to write it on my own. Can we start to build one?
The text was updated successfully, but these errors were encountered: