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

Full path to config file #17180

Merged
merged 2 commits into from
Apr 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update mypy/build.py
  • Loading branch information
hauntsaninja authored Apr 27, 2024
commit 3eaffa0f86d25fe6e00b65a08c10809e9f77b8d7
7 changes: 3 additions & 4 deletions mypy/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2850,10 +2850,9 @@ def skipping_ancestor(manager: BuildManager, id: str, path: str, ancestor_for: S
def log_configuration(manager: BuildManager, sources: list[BuildSource]) -> None:
"""Output useful configuration information to LOG and TRACE"""

# If config file is not None, retrieve the absolute path for convenience
config_file = None
if manager.options.config_file:
config_file = os.path.abspath(manager.options.config_file)
config_file = manager.options.config_file
if config_file:
config_file = os.path.abspath(config_file)

manager.log()
configuration_vars = [
Expand Down
Loading