summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-08-02 14:00:33 +0100
committerYobmod <yobmod@gmail.com>2021-08-02 14:00:33 +0100
commit2163322ef62fa97573ac94298261161fd9721993 (patch)
tree2eb3a713664a8d5e37a962141fcfdf1ecbca75f0 /git/cmd.py
parentc878771e3a31c983a0c3468396ed33a532f87e98 (diff)
downloadgitpython-2163322ef62fa97573ac94298261161fd9721993.tar.gz
increase mypy strictness (warn unused ignored)
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 85a5fbe9..9d070367 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -164,7 +164,7 @@ CREATE_NO_WINDOW = 0x08000000
## CREATE_NEW_PROCESS_GROUP is needed to allow killing it afterwards,
# see https://docs.python.org/3/library/subprocess.html#subprocess.Popen.send_signal
-PROC_CREATIONFLAGS = (CREATE_NO_WINDOW | subprocess.CREATE_NEW_PROCESS_GROUP # type: ignore[attr-defined]
+PROC_CREATIONFLAGS = (CREATE_NO_WINDOW | subprocess.CREATE_NEW_PROCESS_GROUP
if is_win else 0)