summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-rw-r--r--git/cmd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index a4faefe2..1b24a626 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -220,7 +220,8 @@ class Git(LazyMixin):
# - a GitCommandNotFound error is spawned by ourselves
# - a PermissionError is spawned if the git executable provided
# cannot be executed for whatever reason
- exceptions = (GitCommandNotFound, PermissionError)
+ exceptions = (GitCommandNotFound, PermissionError) # noqa
+ # (silence erroneous flake8 F821)
has_git = False
try: