Skip to content

Commit

Permalink
Update option_manager_mixin.py
Browse files Browse the repository at this point in the history
I  added @JoshMayberry 's solution for issue 3839.
pylint-dev#3839
  • Loading branch information
PaaEl committed Aug 7, 2021
1 parent 865765c commit 617999a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint/config/option_manager_mixin.py
Expand Up @@ -258,7 +258,7 @@ def read_config_file(self, config_file=None, verbose=None):
if config_file is None:
config_file = self.config_file
if config_file is not None:
config_file = os.path.expanduser(config_file)
config_file = os.path.expandvars(os.path.expanduser(config_file))
if not os.path.exists(config_file):
raise OSError(f"The config file {config_file} doesn't exist!")

Expand Down

0 comments on commit 617999a

Please sign in to comment.