Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix regression for user config files#18656

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hauntsaninja merged 2 commits intopython:masterfromhauntsaninja:home-config
Feb 12, 2025

Conversation

@hauntsaninja
Copy link
Collaborator

Fixes#18650

Slightly annoying to add a test for since it would clutter up user home directory

@github-actions

This comment has been minimized.

current_dir=parent_dir

forconfig_fileindefaults.USER_CONFIG_FILES:
forconfig_fileinmap(os.path.expanduser,defaults.USER_CONFIG_FILES):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is there any reason to expand here and not early indefaults.py?

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Fair point, if the original code had done that the bug would never have happened :-)

@github-actions
Copy link
Contributor

Diff frommypy_primer, showing the effect of this PR on open source code:

django-stubs (https://github.com/typeddjango/django-stubs): 1.97x faster (49.0s -> 24.9s in a single noisy sample)

@hauntsaninjahauntsaninja merged commit44f82ef intopython:masterFeb 12, 2025
18 checks passed
@hauntsaninjahauntsaninja deleted the home-config branchFebruary 12, 2025 06:14
ericmarkmartin pushed a commit to ericmarkmartin/mypy that referenced this pull requestFeb 19, 2025
Fixespython#18650Slightly annoying to add a test for since it would clutter up user homedirectory
ericmarkmartin pushed a commit to ericmarkmartin/mypy that referenced this pull requestFeb 19, 2025
Fixespython#18650Slightly annoying to add a test for since it would clutter up user homedirectory
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull requestFeb 24, 2025
Fixespython#18650Slightly annoying to add a test for since it would clutter up user homedirectory
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@sterliakovsterliakovsterliakov left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[1.15 regression] mypy does not use $HOME/.mypy.ini, if .git directory exists

2 participants

@hauntsaninja@sterliakov

[8]ページ先頭

©2009-2025 Movatter.jp