diff --git a/src/flake8/main/git.py b/src/flake8/main/git.py index bae0233..8603f67 100644 --- a/src/flake8/main/git.py +++ b/src/flake8/main/git.py @@ -181,7 +181,7 @@ def piped_process(command): def git_config_for(parameter): config = piped_process(['git', 'config', '--get', '--bool', parameter]) (stdout, _) = config.communicate() - return to_text(stdout) + return to_text(stdout).strip() def config_for(parameter):