diff options
author | Yobmod <yobmod@gmail.com> | 2021-08-02 14:00:33 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-08-02 14:00:33 +0100 |
commit | 2163322ef62fa97573ac94298261161fd9721993 (patch) | |
tree | 2eb3a713664a8d5e37a962141fcfdf1ecbca75f0 /git/cmd.py | |
parent | c878771e3a31c983a0c3468396ed33a532f87e98 (diff) | |
download | gitpython-2163322ef62fa97573ac94298261161fd9721993.tar.gz |
increase mypy strictness (warn unused ignored)
Diffstat (limited to 'git/cmd.py')
-rw-r--r-- | git/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |