summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/pythonpackage.yml2
-rw-r--r--git/cmd.py3
-rw-r--r--git/config.py4
3 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml
index 8581c0bf..dd94ab9d 100644
--- a/.github/workflows/pythonpackage.yml
+++ b/.github/workflows/pythonpackage.yml
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: [3.6, 3.7, 3.8, 3.9, "3.10.0-beta.4"]
+ python-version: [3.7, 3.8, 3.9, "3.10.0-beta.4"]
steps:
- uses: actions/checkout@v2
diff --git a/git/cmd.py b/git/cmd.py
index e690dc12..78fa3c9d 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -164,8 +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
- if is_win else 0)
+PROC_CREATIONFLAGS = (CREATE_NO_WINDOW | subprocess.CREATE_NEW_PROCESS_GROUP if is_win else 0)
class Git(LazyMixin):
diff --git a/git/config.py b/git/config.py
index 2a5aa142..293281d2 100644
--- a/git/config.py
+++ b/git/config.py
@@ -301,9 +301,9 @@ class GitConfigParser(cp.RawConfigParser, metaclass=MetaParserBuilder):
"""
cp.RawConfigParser.__init__(self, dict_type=_OMD)
- self._dict: Callable[..., _OMD] # type: ignore[assignment] # mypy/typeshed bug
+ self._dict: Callable[..., _OMD] # type: ignore # mypy/typeshed bug?
self._defaults: _OMD
- self._sections: _OMD # type: ignore[assignment] # mypy/typeshed bug
+ self._sections: _OMD # type: ignore # mypy/typeshed bug?
# Used in python 3, needs to stay in sync with sections for underlying implementation to work
if not hasattr(self, '_proxies'):