diff options
author | PaaEl <88253337+PaaEl@users.noreply.github.com> | 2021-08-11 20:25:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 22:25:24 +0200 |
commit | d53a01f1fe51678da8e2cf7a09cf3aa6607ebc2f (patch) | |
tree | c50a96475bad67d0434c1866eb6131aa51c31af3 /CONTRIBUTORS.txt | |
parent | 0df828e32e6bacbb4d76ab4f19d90ab3847557e6 (diff) | |
download | pylint-git-d53a01f1fe51678da8e2cf7a09cf3aa6607ebc2f.tar.gz |
Update option_manager_mixin.py - issue 3839 (#4812)
* Update option_manager_mixin.py
I added user 'JoshMayberry' 's solution for issue 3839.
https://github.com/PyCQA/pylint/issues/3839
I added a test to see if pylint handles environment variables in config file locations.
Added it to test_config because it also deals with config files.
To test I added an environment variable containing tmp_path and then unpacked it with os.path.expandvars.
Tmp_path gets converted to an environment variable which is fed to the read_config_file function to be tested.
Read_config_file succesfully reads the environment variable, if the variable is changed, the function raises an OSError.
Diffstat (limited to 'CONTRIBUTORS.txt')
-rw-r--r-- | CONTRIBUTORS.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 91d92a77c..030bb0efc 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -531,3 +531,5 @@ contributors: * Michal Vasilek: contributor * Kai Mueller (kasium): contributor + +* Sam Vermeiren (PaaEl): contributor |