From 93954d20310a7b77322211fd7c1eb8bd34217612 Mon Sep 17 00:00:00 2001 From: Yobmod Date: Wed, 23 Jun 2021 02:22:34 +0100 Subject: Update typing-extensions version in requirements.txt --- doc/source/tutorial.rst | 2 +- requirements.txt | 2 +- test-requirements.txt | 2 +- tox.ini | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index d548f882..303e89cf 100644 --- a/doc/source/tutorial.rst +++ b/doc/source/tutorial.rst @@ -10,7 +10,7 @@ GitPython Tutorial GitPython provides object model access to your git repository. This tutorial is composed of multiple sections, most of which explains a real-life usecase. -All code presented here originated from `test_docs.py `_ to assure correctness. Knowing this should also allow you to more easily run the code for your own testing purposes, all you need is a developer installation of git-python. +All code presented here originated from `test_docs.py `_ to assure correctness. Knowing this should also allow you to more easily run the code for your own testing purposes, all you need is a developer installation of git-python. Meet the Repo type ****************** diff --git a/requirements.txt b/requirements.txt index d980f668..7159416a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ gitdb>=4.0.1,<5 -typing-extensions>=3.7.4.0;python_version<"3.8" +typing-extensions>=3.7.4.3;python_version<"3.8" diff --git a/test-requirements.txt b/test-requirements.txt index e06d2be1..16dc0d2c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,4 +5,4 @@ tox virtualenv nose gitdb>=4.0.1,<5 -typing-extensions>=3.7.4.0;python_version<"3.8" +typing-extensions>=3.7.4.3;python_version<"3.8" diff --git a/tox.ini b/tox.ini index a0cb1c9f..e3dd84b6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py35,py36,py37,py38,py39,flake8 +envlist = py36,py37,py38,py39,flake8 [testenv] commands = python -m unittest --buffer {posargs} -- cgit v1.2.1 From 8bbf6520460dc4d2bfd7943cda666436f860cf71 Mon Sep 17 00:00:00 2001 From: Max Fan Date: Wed, 23 Jun 2021 14:20:11 -0400 Subject: Fix exsit typo --- git/objects/submodule/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index b03fa22a..49d6aae1 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -390,7 +390,7 @@ class Submodule(IndexObject, Iterable, Traversable): mrepo = None if url is None: if not has_module: - raise ValueError("A URL was not given and existing repository did not exsit at %s" % path) + raise ValueError("A URL was not given and existing repository did not exist at %s" % path) # END check url mrepo = sm.module() urls = [r.url for r in mrepo.remotes] -- cgit v1.2.1 From 091ac2960fe30fa5477fcb5bae203eb317090b3f Mon Sep 17 00:00:00 2001 From: Max Fan Date: Wed, 23 Jun 2021 14:21:39 -0400 Subject: Add missing article to error message --- git/objects/submodule/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index 49d6aae1..cac9618d 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -390,7 +390,7 @@ class Submodule(IndexObject, Iterable, Traversable): mrepo = None if url is None: if not has_module: - raise ValueError("A URL was not given and existing repository did not exist at %s" % path) + raise ValueError("A URL was not given and an existing repository did not exist at %s" % path) # END check url mrepo = sm.module() urls = [r.url for r in mrepo.remotes] -- cgit v1.2.1 From 703280b8c3df6f9b1a5cbe0997b717edbcaa8979 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 24 Jun 2021 08:00:18 +0800 Subject: remove duplication --- git/objects/submodule/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index cac9618d..8cf4dd1e 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -390,7 +390,7 @@ class Submodule(IndexObject, Iterable, Traversable): mrepo = None if url is None: if not has_module: - raise ValueError("A URL was not given and an existing repository did not exist at %s" % path) + raise ValueError("A URL was not given and a repository did not exist at %s" % path) # END check url mrepo = sm.module() urls = [r.url for r in mrepo.remotes] -- cgit v1.2.1