From d65edf5f30275de52d5d5967292010b845b2378d Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Sat, 6 Jan 2024 20:13:07 -0500 Subject: [PATCH] fix(linter): fix new flake8 errors --- CHANGELOG.md | 1 + src/diffuse/utils.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b961c68..57e0b92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fix compatibility with Python 3.12: remove use of `distutils` (@MightyCreak) +- Fix new errors raised by Flake8 (@MightyCreak) ## 0.8.2 - 2023-04-16 diff --git a/src/diffuse/utils.py b/src/diffuse/utils.py index b4fdc11..fae8192 100644 --- a/src/diffuse/utils.py +++ b/src/diffuse/utils.py @@ -185,7 +185,7 @@ def popenRead( prefs.convertToNativePath('/bin/bash.exe'), '-l', '-c', - f"cd {_bash_escape(cwd)}; {' '.join([ _bash_escape(arg) for arg in cmd ])}" + f"cd {_bash_escape(cwd)}; {' '.join([_bash_escape(arg) for arg in cmd])}" ] opt_cwd = None