Skip to content

Add support for user-specific config file #4939

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

Merged
merged 1 commit into from
Apr 21, 2018

Conversation

OmeGak
Copy link
Contributor

@OmeGak OmeGak commented Apr 19, 2018

Closes #4815.

This PR makes mypy fallback to reading the configuration from ~/.mypy.ini if neither mypy.ini nor setup.cfg are found when invoked without --config-file. Also, --help will now mention all default config files under --config-file CONFIG_FILE, instead of mentioning only mypy.ini.

Missing:

  • Update docs.
  • Tests?

@OmeGak OmeGak force-pushed the wip/user-config-file branch 3 times, most recently from 36f5a51 to dd677fd Compare April 20, 2018 06:57
@OmeGak OmeGak force-pushed the wip/user-config-file branch from dd677fd to ce64350 Compare April 20, 2018 07:13
@OmeGak OmeGak changed the title WIP: Add support user-specific config file Add support user-specific config file Apr 20, 2018
@OmeGak OmeGak changed the title Add support user-specific config file Add support for user-specific config file Apr 20, 2018
@gvanrossum gvanrossum merged commit 0949de3 into python:master Apr 21, 2018
@gvanrossum
Copy link
Member

Thanks! Especially thank you for also updating the docs.

@OmeGak OmeGak deleted the wip/user-config-file branch April 22, 2018 11:15
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