-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Create link from "Creating a development environment" to "pre-commit" #48941
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
Comments
can you show the error please? I wouldn't expect it to fail, because it's listed in the additional dependencies pandas/.pre-commit-config.yaml Line 281 in 8bcc1eb
|
I had to install |
🤔 how odd, I don't have it installed in my environment
I'll take a look tomorrow, but I wouldn't think you'd need to add it to |
I tried again, with a new virtual environment, and it worked fine again:
I've never seen |
Ah, got it (maybe) The only way I can reproduce this error is by removing Does
show nothing? |
Yes, it shows nothing. |
Maybe there is something I needed to do to set up the pre-commit hook/installs? |
One needs to run |
Could it maybe be an issue on windows with how LibCST calls autotyping? |
It might be useful to have a link from https://pandas.pydata.org/pandas-docs/stable/development/contributing_environment.html to https://pandas.pydata.org/pandas-docs/stable/development/contributing_codebase.html#pre-commit so that when you are setting up a development environment, you are also told to do the I will change the title of the issue accordingly. |
It you don't do I'll try this out on Windows to see if that's the issue |
I created a new environment, then did a commit, and had the message. Now I had done a |
🤔 hmm yeah, sounds plausible. In which case, linking to the instructions suggesting |
Hi, I'm a first time contributor, has someone taken this yet? If not I would love to take this |
go ahead, thanks! |
Thanks! Do I need to get assigned this? |
if you comment "take" it'll be assigned to you - no need if you've already commented though |
take |
take |
I had to recreate my pandas environment fromenvironment.yml
. Then when I updated a PR, the pre-commit was failing becauseautotyping
was not installed. It needs to be added toenvironment.yml
This is a docs issue. See #48941 (comment)
The text was updated successfully, but these errors were encountered: