-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Mypy: try to find folder containing mypy.ini to use as cwd. #2385
Conversation
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.
This just needs a test, and ale#path#FindNearestFile
can be used to find the file instead.
ok, am giving it a go now. |
OK i think the test work. I couldn't figure out how to use |
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.
Thanks for this, and sorry for the delay. I'll merge this now.
🎉 hooray! and no need to apologise. happy new year! |
…alysis#2385) * When deciding which directory to run mypy from, prefer a folder with mypy.ini in it * Add a test for mypy.ini-finding behaviour
attempts to fix #2383
no tests i'm afraid (yet? will see what i can do. i don't know vimscript...)