Skip to content

Conversation

gustavgransbo
Copy link
Contributor

Description

I was unsure if the mypy_path entry in the config file was treated relative to the config file, and found the answer in #7967 (it is treated relative to the working directory of the mypy command).

This PR documents current behavior, and mentions how MYPY_CONFIG_FILE_DIR can be used to refer to path relative to the configuration file.

Test Plan

Rebuilding docs creates expected results.

@hauntsaninja
Copy link
Collaborator

Thanks!

@hauntsaninja hauntsaninja merged commit 68a0c65 into python:master Jan 25, 2021
@gustavgransbo gustavgransbo deleted the docs-mypy-path-relative-to-cwd branch April 6, 2021 17:48
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

Successfully merging this pull request may close these issues.

2 participants