From cf08a393e98cd218a7e9c5591a26047a216721aa Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sun, 5 Apr 2020 08:28:33 -0700 Subject: [PATCH 01/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b0ac199e..e6ba3298 100644 --- a/tox.ini +++ b/tox.ini @@ -258,7 +258,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==2.4.4 + Sphinx==3.0.0 sphinx-rtd-theme==0.4.3 commands = From e882420ba63d1d97212af7af6357451229c0b105 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sun, 5 Apr 2020 20:30:46 -0700 Subject: [PATCH 02/62] [requires.io] dependency update --- tox.ini | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index e6ba3298..d2ed538a 100644 --- a/tox.ini +++ b/tox.ini @@ -2,10 +2,10 @@ envlist = flake8, mypy - test-py{26,27,34,35,36,37,38,py,py3} + test-py{26,27,34,35,36,37,38,py2,py3} coverage_report - packaging docs + packaging skip_missing_interpreters = {tty:True:False} @@ -182,12 +182,12 @@ description = generate coverage report depends = test-py{26,27,34,35,36,37,38,py,py3} -basepython = python +basepython = {[default]basepython} skip_install = True deps = - coverage==4.5.4 # rq.filter: <5 + coverage==5.0.4 setenv = {[default]setenv} @@ -265,7 +265,7 @@ commands = sphinx-build \ -b html -d "{envtmpdir}/doctrees" \ "{toxinidir}/docs" \ - "{toxworkdir}/docs/html" + "{toxworkdir}/htmldocs" [testenv:docs-auto] @@ -283,7 +283,7 @@ commands = -b html -d "{envtmpdir}/doctrees" \ --host=localhost \ "{toxinidir}/docs" \ - "{toxworkdir}/docs/html" + "{toxworkdir}/htmldocs" ## From 81514f7ec99f1b557f6b0e38b37a3ac7c3f3f4c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilfredo=20Sa=CC=81nchez?= Date: Mon, 6 Apr 2020 13:06:30 -0700 Subject: [PATCH 03/62] Remove newly-redundant type info in API description text, as Sphinx adds type info to the signature now. --- src/hyperlink/_url.py | 214 ++++++++++++++++++++---------------------- 1 file changed, 104 insertions(+), 110 deletions(-) diff --git a/src/hyperlink/_url.py b/src/hyperlink/_url.py index 244406f2..d95fc824 100644 --- a/src/hyperlink/_url.py +++ b/src/hyperlink/_url.py @@ -369,12 +369,12 @@ def register_scheme(text, uses_netloc=True, default_port=None): `file an issue`_! Args: - text (Text): A string representation of the scheme. + text: A string representation of the scheme. (the 'http' in 'http://hatnote.com') - uses_netloc (bool): Does the scheme support specifying a + uses_netloc: Does the scheme support specifying a network host? For instance, "http" does, "mailto" does not. Defaults to True. - default_port (Optional[int]): The default port, if any, for + default_port: The default port, if any, for netloc-using schemes. .. _file an issue: https://github.com/mahmoud/hyperlink/issues @@ -798,38 +798,36 @@ class URL(object): constructor arguments is below. Args: - scheme (Optional[Text]): The text name of the scheme. - host (Optional[Text]): The host portion of the network location - port (Optional[int]): The port part of the network location. If - ``None`` or no port is passed, the port will default to - the default port of the scheme, if it is known. See the - ``SCHEME_PORT_MAP`` and :func:`register_default_port` - for more info. - path (Iterable[Text]): A tuple of strings representing the - slash-separated parts of the path. - query (Sequence[Tuple[Text, Optional[Text]]]): The query parameters, as - a dictionary or as an sequence of key-value pairs. - fragment (Text): The fragment part of the URL. - rooted (bool): A rooted URL is one which indicates an absolute path. - This is True on any URL that includes a host, or any relative URL - that starts with a slash. - userinfo (Text): The username or colon-separated - username:password pair. - uses_netloc (Optional[bool]): Indicates whether ``://`` (the "netloc - separator") will appear to separate the scheme from the *path* in - cases where no host is present. Setting this to ``True`` is a - non-spec-compliant affordance for the common practice of having URIs - that are *not* URLs (cannot have a 'host' part) but nevertheless use - the common ``://`` idiom that most people associate with URLs; - e.g. ``message:`` URIs like ``message://message-id`` being - equivalent to ``message:message-id``. This may be inferred based on - the scheme depending on whether :func:`register_scheme` has been - used to register the scheme and should not be passed directly unless - you know the scheme works like this and you know it has not been - registered. - - All of these parts are also exposed as read-only attributes of - URL instances, along with several useful methods. + scheme: The text name of the scheme. + host: The host portion of the network location + port: The port part of the network location. If ``None`` or no port is + passed, the port will default to the default port of the scheme, if + it is known. See the ``SCHEME_PORT_MAP`` and + :func:`register_default_port` for more info. + path: A tuple of strings representing the slash-separated parts of the + path. + query: The query parameters, as a dictionary or as an sequence of + key-value pairs. + fragment: The fragment part of the URL. + rooted: A rooted URL is one which indicates an absolute path. + This is True on any URL that includes a host, or any relative URL + that starts with a slash. + userinfo: The username or colon-separated username:password pair. + uses_netloc: Indicates whether ``://`` (the "netloc separator") will + appear to separate the scheme from the *path* in cases where no + host is present. + Setting this to ``True`` is a non-spec-compliant affordance for the + common practice of having URIs that are *not* URLs (cannot have a + 'host' part) but nevertheless use the common ``://`` idiom that + most people associate with URLs; e.g. ``message:`` URIs like + ``message://message-id`` being equivalent to ``message:message-id``. + This may be inferred based on the scheme depending on whether + :func:`register_scheme` has been used to register the scheme and + should not be passed directly unless you know the scheme works like + this and you know it has not been registered. + + All of these parts are also exposed as read-only attributes of :class:`URL` + instances, along with several useful methods. .. _RFC 3986: https://tools.ietf.org/html/rfc3986 .. _RFC 3987: https://tools.ietf.org/html/rfc3987 @@ -1052,9 +1050,9 @@ def authority(self, with_password=False, **kw): u'user:pass@localhost:8080' Args: - with_password (bool): Whether the return value of this - method include the password in the URL, if it is - set. Defaults to False. + with_password: Whether the return value of this method include the + password in the URL, if it is set. + Defaults to False. Returns: Text: The authority (network location and user information) portion @@ -1145,32 +1143,29 @@ def replace( the value on the current URL. Args: - scheme (Optional[Text]): The text name of the scheme. - host (Optional[Text]): The host portion of the network location. - path (Iterable[Text]): A tuple of strings representing the - slash-separated parts of the path. - query (Sequence[Tuple[Text, Optional[Text]]]): The query - parameters, as a dictionary or as an sequence of key-value - pairs. - fragment (Text): The fragment part of the URL. - port (Optional[int]): The port part of the network location. - rooted (Optional[bool]): Whether or not the path begins with a - slash. - userinfo (Text): The username or colon-separated username:password - pair. - uses_netloc (bool): Indicates whether ``://`` (the "netloc - separator") will appear to separate the scheme from the *path* - in cases where no host is present. Setting this to ``True`` is - a non-spec-compliant affordance for the common practice of - having URIs that are *not* URLs (cannot have a 'host' part) but - nevertheless use the common ``://`` idiom that most people - associate with URLs; e.g. ``message:`` URIs like - ``message://message-id`` being equivalent to - ``message:message-id``. This may be inferred based on the - scheme depending on whether :func:`register_scheme` has been - used to register the scheme and should not be passed directly - unless you know the scheme works like this and you know it has - not been registered. + scheme: The text name of the scheme. + host: The host portion of the network location. + path: A tuple of strings representing the slash-separated parts of + the path. + query: The query parameters, as a dictionary or as an sequence of + key-value pairs. + fragment: The fragment part of the URL. + port: The port part of the network location. + rooted: Whether or not the path begins with a slash. + userinfo: The username or colon-separated username:password pair. + uses_netloc: Indicates whether ``://`` (the "netloc separator") + will appear to separate the scheme from the *path* in cases + where no host is present. + Setting this to ``True`` is a non-spec-compliant affordance for + the common practice of having URIs that are *not* URLs (cannot + have a 'host' part) but nevertheless use the common ``://`` + idiom that most people associate with URLs; e.g. ``message:`` + URIs like ``message://message-id`` being equivalent to + ``message:message-id``. + This may be inferred based on the scheme depending on whether + :func:`register_scheme` has been used to register the scheme + and should not be passed directly unless you know the scheme + works like this and you know it has not been registered. Returns: URL: A copy of the current :class:`URL`, with new values for @@ -1210,7 +1205,7 @@ def from_text(cls, text): sure to decode those bytestrings. Args: - text (Text): A valid URL string. + text: A valid URL string. Returns: URL: The structured object version of the parsed string. @@ -1301,15 +1296,14 @@ def normalize(self, scheme=True, host=True, path=True, query=True, name. Args: - scheme (bool): Convert the scheme to lowercase - host (bool): Convert the host to lowercase - path (bool): Normalize the path (see above for details) - query (bool): Normalize the query string - fragment (bool): Normalize the fragment - userinfo (bool): Normalize the userinfo - percents (bool): Encode isolated percent signs for any - percent-encoded fields which are being normalized - (defaults to True). + scheme: Convert the scheme to lowercase + host: Convert the host to lowercase + path: Normalize the path (see above for details) + query: Normalize the query string + fragment: Normalize the fragment + userinfo: Normalize the userinfo + percents: Encode isolated percent signs for any percent-encoded + fields which are being normalized (defaults to `True`). >>> url = URL.from_text(u'Http://example.COM/a/../b/./c%2f?%61%') >>> print(url.normalize().to_text()) @@ -1365,9 +1359,9 @@ def child(self, *segments): u'http://localhost/a/b/c/d?x=y' Args: - segments (Text): Additional parts to be joined and added to - the path, like :func:`os.path.join`. Special characters - in segments will be percent encoded. + segments: Additional parts to be joined and added to the path, like + :func:`os.path.join`. Special characters in segments will be + percent encoded. Returns: URL: A copy of the current URL with the extra path segments. @@ -1390,7 +1384,7 @@ def sibling(self, segment): sibling of this URL path. Args: - segment (Text): A single path segment. + segment: A single path segment. Returns: URL: A copy of the current URL with the last path segment @@ -1671,11 +1665,11 @@ def add(self, name, value=None): URL.from_text(u'https://example.com/?x=y&x=z') Args: - name (Text): The name of the query parameter to add. + name: The name of the query parameter to add. The part before the ``=``. - value (Optional[Text]): The value of the query parameter to add. - The part after the ``=``. Defaults to ``None``, meaning no - value. + value: The value of the query parameter to add. + The part after the ``=``. + Defaults to ``None``, meaning no value. Returns: URL: A new :class:`URL` instance with the parameter added. @@ -1694,11 +1688,11 @@ def set(self, name, value=None): URL.from_text(u'https://example.com/?x=z') Args: - name (Text): The name of the query parameter to set. + name: The name of the query parameter to set. The part before the ``=``. - value (Optional[Text]): The value of the query parameter to set. - The part after the ``=``. Defaults to ``None``, meaning no - value. + value: The value of the query parameter to set. + The part after the ``=``. + Defaults to ``None``, meaning no value. Returns: URL: A new :class:`URL` instance with the parameter set. @@ -1724,7 +1718,7 @@ def get(self, name): list is always returned, and this method raises no exceptions. Args: - name (Text): The name of the query parameter to get. + name: The name of the query parameter to get. Returns: List[Optional[Text]]: A list of all the values associated with the @@ -1745,12 +1739,11 @@ def remove( parameter is not already set. Args: - name (Text): The name of the query parameter to remove. - value (Text): Optional value to additionally filter on. + name: The name of the query parameter to remove. + value: Optional value to additionally filter on. Setting this removes query parameters which match both name and value. - limit (Optional[int]): Optional maximum number of parameters to - remove. + limit: Optional maximum number of parameters to remove. Returns: URL: A new :class:`URL` instance with the parameter removed. @@ -1797,9 +1790,10 @@ class DecodedURL(object): special characters encoded with codecs other than UTF-8. Args: - url (URL): A :class:`URL` object to wrap. - lazy (bool): Set to True to avoid pre-decode all parts of the URL to - check for validity. Defaults to False. + url: A :class:`URL` object to wrap. + lazy: Set to True to avoid pre-decode all parts of the URL to check for + validity. + Defaults to False. """ def __init__(self, url, lazy=False): @@ -1818,9 +1812,10 @@ def from_text(cls, text, lazy=False): Make a `DecodedURL` instance from any text string containing a URL. Args: - text (Text): Text containing the URL - lazy (bool): Whether to pre-decode all parts of the URL to check for - validity. Defaults to True. + text: Text containing the URL + lazy: Whether to pre-decode all parts of the URL to check for + validity. + Defaults to True. """ _url = URL.from_text(text) return cls(_url, lazy=lazy) @@ -2131,19 +2126,18 @@ def parse(url, decoded=True, lazy=False): """Automatically turn text into a structured URL object. Args: - url (Text): A string representation of a URL. - - decoded (bool): Whether or not to return a :class:`DecodedURL`, - which automatically handles all - encoding/decoding/quoting/unquoting for all the various - accessors of parts of the URL, or an :class:`EncodedURL`, - which has the same API, but requires handling of special - characters for different parts of the URL. - - lazy (bool): In the case of `decoded=True`, this controls - whether the URL is decoded immediately or as accessed. The - default, `lazy=False`, checks all encoded parts of the URL - for decodability. + url: A string representation of a URL. + + decoded: Whether or not to return a :class:`DecodedURL`, which + automatically handles all encoding/decoding/quoting/unquoting for + all the various accessors of parts of the URL, or an + :class:`EncodedURL`, which has the same API, but requires handling + of special characters for different parts of the URL. + + lazy: In the case of `decoded=True`, this controls whether the URL is + decoded immediately or as accessed. + The default, `lazy=False`, checks all encoded parts of the URL for + decodability. """ enc_url = EncodedURL.from_text(url) if not decoded: From e5fe8d41a15a178a982147686954a7f6b688dbdf Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Mon, 6 Apr 2020 15:23:58 -0700 Subject: [PATCH 04/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 704ac425..d2ed538a 100644 --- a/tox.ini +++ b/tox.ini @@ -187,7 +187,7 @@ basepython = {[default]basepython} skip_install = True deps = - coverage==4.5.4 # rq.filter: <5 # coverage 5.0 drops Python 3.4 support + coverage==5.0.4 setenv = {[default]setenv} From 478d9c6ceaf557ba54eccd6ecfba211cf973b3fb Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 10 Apr 2020 08:24:59 -0700 Subject: [PATCH 05/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d2ed538a..5222951f 100644 --- a/tox.ini +++ b/tox.ini @@ -258,7 +258,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==3.0.0 + Sphinx==3.0.1 sphinx-rtd-theme==0.4.3 commands = From d139aaee15a95a263125c645233d3c1e632061ac Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sun, 12 Apr 2020 15:31:54 -0700 Subject: [PATCH 06/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5222951f..8020cd3f 100644 --- a/tox.ini +++ b/tox.ini @@ -187,7 +187,7 @@ basepython = {[default]basepython} skip_install = True deps = - coverage==5.0.4 + coverage==5.1 setenv = {[default]setenv} From e93b263d6f0abd80334383eeeee276e38276ba26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilfredo=20Sa=CC=81nchez?= Date: Tue, 14 Apr 2020 16:28:24 -0700 Subject: [PATCH 07/62] Revert this change --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8020cd3f..8bb53241 100644 --- a/tox.ini +++ b/tox.ini @@ -187,7 +187,7 @@ basepython = {[default]basepython} skip_install = True deps = - coverage==5.1 + coverage==4.5.4 # rq.filter: <5 # coverage 5.0 drops Python 3.4 support setenv = {[default]setenv} From 8be9b27cbd8e2c547bd160d76d0a591110c70201 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Tue, 14 Apr 2020 16:46:09 -0700 Subject: [PATCH 08/62] [requires.io] dependency update --- tox.ini | 45 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 8bb53241..28440f10 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = - flake8, mypy + flake8, mypy, black test-py{26,27,34,35,36,37,38,py2,py3} coverage_report docs @@ -61,6 +61,37 @@ commands = test: pytest --cov={env:PY_MODULE} --cov-report=term-missing:skip-covered --doctest-modules {posargs:src/{env:PY_MODULE}} +## +# Black code formatting +## + +[testenv:black] + +description = run Black (linter) + +basepython = {[default]basepython} + +skip_install = True + +deps = + black==19.10b0 + +setenv = + BLACK_LINT_ARGS=--check + +commands = + black {env:BLACK_LINT_ARGS:} setup.py src + + +[testenv:black-reformat] + +description = {[testenv:black]description} and reformat +basepython = {[testenv:black]basepython} +skip_install = {[testenv:black]skip_install} +deps = {[testenv:black]deps} +commands = {[testenv:black]commands} + + ## # Flake8 linting ## @@ -95,6 +126,8 @@ select = A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z show-source = True doctests = True +max-line-length = 80 + # Codes: http://flake8.pycqa.org/en/latest/user/error-codes.html ignore = # syntax error in type comment @@ -115,8 +148,8 @@ ignore = # variable in global scope should not be mixedCase N816, - # line break after binary operator - W504, + # line break before binary operator + W503, # End of list (allows last item to end with trailing ',') EOL @@ -187,7 +220,7 @@ basepython = {[default]basepython} skip_install = True deps = - coverage==4.5.4 # rq.filter: <5 # coverage 5.0 drops Python 3.4 support + coverage==5.1 setenv = {[default]setenv} @@ -265,7 +298,7 @@ commands = sphinx-build \ -b html -d "{envtmpdir}/doctrees" \ "{toxinidir}/docs" \ - "{toxworkdir}/htmldocs" + "{toxinidir}/htmldocs" [testenv:docs-auto] @@ -283,7 +316,7 @@ commands = -b html -d "{envtmpdir}/doctrees" \ --host=localhost \ "{toxinidir}/docs" \ - "{toxworkdir}/htmldocs" + "{toxinidir}/htmldocs" ## From ca2226450a233be53644de7c01cc84831fc71163 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Tue, 14 Apr 2020 16:46:10 -0700 Subject: [PATCH 09/62] [requires.io] dependency update --- setup.py | 83 ++++++++++++++++++++++++++------------------------------ 1 file changed, 39 insertions(+), 44 deletions(-) diff --git a/setup.py b/setup.py index fceb4fac..2f09f9cd 100644 --- a/setup.py +++ b/setup.py @@ -10,52 +10,47 @@ from setuptools import find_packages, setup -__author__ = 'Mahmoud Hashemi and Glyph Lefkowitz' -__version__ = '19.0.1dev' -__contact__ = 'mahmoud@hatnote.com' -__url__ = 'https://github.com/python-hyper/hyperlink' -__license__ = 'MIT' +__author__ = "Mahmoud Hashemi and Glyph Lefkowitz" +__version__ = "19.0.1dev" +__contact__ = "mahmoud@hatnote.com" +__url__ = "https://github.com/python-hyper/hyperlink" +__license__ = "MIT" -setup(name='hyperlink', - version=__version__, - description="A featureful, immutable, and correct URL for Python.", - long_description=__doc__, - author=__author__, - author_email=__contact__, - url=__url__, - packages=find_packages(where="src"), - package_dir={"": "src"}, - package_data=dict( - hyperlink=[ - "py.typed", - ], - ), - zip_safe=False, - license=__license__, - platforms='any', - install_requires=[ - 'idna>=2.5', - 'typing ; python_version<"3.5"', - ], - python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', - classifiers=[ - 'Topic :: Utilities', - 'Intended Audience :: Developers', - 'Topic :: Software Development :: Libraries', - 'Development Status :: 5 - Production/Stable', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: Implementation :: PyPy', - 'License :: OSI Approved :: MIT License', ] - ) +setup( + name="hyperlink", + version=__version__, + description="A featureful, immutable, and correct URL for Python.", + long_description=__doc__, + author=__author__, + author_email=__contact__, + url=__url__, + packages=find_packages(where="src"), + package_dir={"": "src"}, + package_data=dict(hyperlink=["py.typed",],), + zip_safe=False, + license=__license__, + platforms="any", + install_requires=["idna>=2.5", 'typing ; python_version<"3.5"',], + python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", + classifiers=[ + "Topic :: Utilities", + "Intended Audience :: Developers", + "Topic :: Software Development :: Libraries", + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.6", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: Implementation :: PyPy", + "License :: OSI Approved :: MIT License", + ], +) """ A brief checklist for release: From 5bb308e1b46346d76241a6f3b8a90e947db7bb7a Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 17 Apr 2020 00:42:30 -0700 Subject: [PATCH 10/62] [requires.io] dependency update --- tox.ini | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/tox.ini b/tox.ini index 28440f10..68e45f71 100644 --- a/tox.ini +++ b/tox.ini @@ -17,12 +17,6 @@ basepython = python3.8 deps = idna==2.9 - test: typing==3.7.4.1 - test: {[testenv:coverage_report]deps} - test-{py26,py27,py34}: pytest==4.6.9 - test-{py35,py36,py37,py38}: pytest==5.2.4 - test: pytest-cov==2.8.1 - setenv = PY_MODULE=hyperlink @@ -50,15 +44,27 @@ basepython = pypy2: pypy pypy3: pypy3 -deps = {[default]deps} +deps = + {[default]deps} + + # In Python 2, we need to pull in typing + {py26,py27}: typing==3.7.4.1 + + # For pytest + {py26,py27,py34}: pytest==4.6.9 + {py35,py36,py37,py38}: pytest==5.2.4 + + # For code coverage + {[testenv:coverage_report]deps} + pytest-cov==2.8.1 setenv = {[default]setenv} - test: COVERAGE_FILE={toxworkdir}/coverage.{envname} + COVERAGE_FILE={toxworkdir}/coverage.{envname} commands = - test: pytest --cov={env:PY_MODULE} --cov-report=term-missing:skip-covered --doctest-modules {posargs:src/{env:PY_MODULE}} + pytest --cov={env:PY_MODULE} --cov-report=term-missing:skip-covered --doctest-modules {posargs:src/{env:PY_MODULE}} ## From 8c8f7781e0c0a187bd869bc42dd37d9a519929f0 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sun, 19 Apr 2020 07:58:11 -0700 Subject: [PATCH 11/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 68e45f71..c05fda1a 100644 --- a/tox.ini +++ b/tox.ini @@ -297,7 +297,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==3.0.1 + Sphinx==3.0.2 sphinx-rtd-theme==0.4.3 commands = From c5a0897f88fae39015a6c23bda9dfb57a7ff5da8 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Wed, 22 Apr 2020 20:26:44 -0700 Subject: [PATCH 12/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c05fda1a..9c00c89e 100644 --- a/tox.ini +++ b/tox.ini @@ -339,7 +339,7 @@ skip_install = True deps = check-manifest==0.41 - readme-renderer==25.0 + readme-renderer==26.0 twine==3.1.1 commands = From d9d0b016d240701fa44d58f4e3d3d3c47b7a060d Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sun, 26 Apr 2020 07:13:19 -0700 Subject: [PATCH 13/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9c00c89e..d011ad8e 100644 --- a/tox.ini +++ b/tox.ini @@ -297,7 +297,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==3.0.2 + Sphinx==3.0.3 sphinx-rtd-theme==0.4.3 commands = From 9bf0e088d4d7d2286c194c6682eba04b1fcf76f8 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sun, 3 May 2020 07:41:02 -0700 Subject: [PATCH 14/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d011ad8e..f57ebc87 100644 --- a/tox.ini +++ b/tox.ini @@ -338,7 +338,7 @@ basepython = {[default]basepython} skip_install = True deps = - check-manifest==0.41 + check-manifest==0.42 readme-renderer==26.0 twine==3.1.1 From e43a840a086c81855eceeda5279a65856eb15a52 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 8 May 2020 10:40:22 -0700 Subject: [PATCH 15/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f57ebc87..e080de6e 100644 --- a/tox.ini +++ b/tox.ini @@ -51,7 +51,7 @@ deps = {py26,py27}: typing==3.7.4.1 # For pytest - {py26,py27,py34}: pytest==4.6.9 + {py26,py27,py34}: pytest==4.6.10 {py35,py36,py37,py38}: pytest==5.2.4 # For code coverage From 65d85ef89fd5ac3c97885f1bcc9de1e49c8da43f Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Mon, 11 May 2020 15:14:20 -0700 Subject: [PATCH 16/62] [requires.io] dependency update --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index e080de6e..397f9af4 100644 --- a/tox.ini +++ b/tox.ini @@ -112,10 +112,10 @@ skip_install = True deps = flake8-bugbear==20.1.4 - flake8==3.7.9 + flake8==3.8.0 mccabe==0.6.1 pep8-naming==0.10.0 - pycodestyle==2.5.0 + pycodestyle==2.6.0 pydocstyle==5.0.2 # pin pyflakes pending a release with https://github.com/PyCQA/pyflakes/pull/455 git+git://github.com/PyCQA/pyflakes@ffe9386#egg=pyflakes From d04fe7507da8cfef17290b77fc26fb8f5ae8df01 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Mon, 11 May 2020 23:03:19 -0700 Subject: [PATCH 17/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 397f9af4..dc50f710 100644 --- a/tox.ini +++ b/tox.ini @@ -112,7 +112,7 @@ skip_install = True deps = flake8-bugbear==20.1.4 - flake8==3.8.0 + flake8==3.8.1 mccabe==0.6.1 pep8-naming==0.10.0 pycodestyle==2.6.0 From 51316fee97c53e7914f8a60872f36bea5c4a428d Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Mon, 18 May 2020 06:15:03 -0700 Subject: [PATCH 18/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index dc50f710..a212ee7f 100644 --- a/tox.ini +++ b/tox.ini @@ -255,7 +255,7 @@ skip_install = True deps = {[testenv:coverage_report]deps} - codecov==2.0.22 + codecov==2.1.0 passenv = # See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox From 62c76991b3e0dd8deb94bd1e556500f9eea86b5b Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Wed, 20 May 2020 08:22:08 -0700 Subject: [PATCH 19/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a212ee7f..9288591c 100644 --- a/tox.ini +++ b/tox.ini @@ -255,7 +255,7 @@ skip_install = True deps = {[testenv:coverage_report]deps} - codecov==2.1.0 + codecov==2.1.1 passenv = # See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox From cc2a45702d5fe29b6cb4c5e0c71c75fd40203ffe Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Thu, 21 May 2020 10:01:41 -0700 Subject: [PATCH 20/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9288591c..b11428a8 100644 --- a/tox.ini +++ b/tox.ini @@ -255,7 +255,7 @@ skip_install = True deps = {[testenv:coverage_report]deps} - codecov==2.1.1 + codecov==2.1.3 passenv = # See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox From dea3175a68ca4ac4a9fbdca63f51b5c1935509a5 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 22 May 2020 10:21:55 -0700 Subject: [PATCH 21/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b11428a8..d7901534 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ deps = # For code coverage {[testenv:coverage_report]deps} - pytest-cov==2.8.1 + pytest-cov==2.9.0 setenv = {[default]setenv} From 1f88ddb46c20604a5f29325bf56f9c888487998e Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 22 May 2020 16:05:48 -0700 Subject: [PATCH 22/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d7901534..f198ac76 100644 --- a/tox.ini +++ b/tox.ini @@ -112,7 +112,7 @@ skip_install = True deps = flake8-bugbear==20.1.4 - flake8==3.8.1 + flake8==3.8.2 mccabe==0.6.1 pep8-naming==0.10.0 pycodestyle==2.6.0 From d9fbf8a65787effd32c795ee5430b317a19025d3 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Tue, 26 May 2020 08:54:05 -0700 Subject: [PATCH 23/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f198ac76..c8184a46 100644 --- a/tox.ini +++ b/tox.ini @@ -297,7 +297,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==3.0.3 + Sphinx==3.0.4 sphinx-rtd-theme==0.4.3 commands = From 823ca7a9777bccb731e7f42930c1d475a9d16c48 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Wed, 3 Jun 2020 04:15:22 -0700 Subject: [PATCH 24/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c8184a46..d7f72777 100644 --- a/tox.ini +++ b/tox.ini @@ -175,7 +175,7 @@ description = run Mypy (static type checker) basepython = {[default]basepython} deps = - mypy==0.770 + mypy==0.780 {[default]deps} From 4f772165ef384abf7fa1ecfd4f7148ed3366c71e Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Wed, 3 Jun 2020 08:15:32 -0700 Subject: [PATCH 25/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d7f72777..7453633e 100644 --- a/tox.ini +++ b/tox.ini @@ -255,7 +255,7 @@ skip_install = True deps = {[testenv:coverage_report]deps} - codecov==2.1.3 + codecov==2.1.4 passenv = # See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox From 18ca93ebbb188e739954b45a19015bdebb8e899a Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 5 Jun 2020 06:01:32 -0700 Subject: [PATCH 26/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 7453633e..f79fd334 100644 --- a/tox.ini +++ b/tox.ini @@ -51,7 +51,7 @@ deps = {py26,py27}: typing==3.7.4.1 # For pytest - {py26,py27,py34}: pytest==4.6.10 + {py26,py27,py34}: pytest==4.6.11 {py35,py36,py37,py38}: pytest==5.2.4 # For code coverage From 2519202a9e3f6295683468d71bb289db14a521b9 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sun, 7 Jun 2020 14:32:51 -0700 Subject: [PATCH 27/62] [requires.io] dependency update --- tox.ini | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tox.ini b/tox.ini index f79fd334..55c71804 100644 --- a/tox.ini +++ b/tox.ini @@ -58,10 +58,18 @@ deps = {[testenv:coverage_report]deps} pytest-cov==2.9.0 + # For hypothesis. Note Python 3.4 isn't supported by hypothesis. + py27: hypothesis==4.43.9 + {py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.6 + py27: mock==4.0.2 + setenv = {[default]setenv} COVERAGE_FILE={toxworkdir}/coverage.{envname} + HYPOTHESIS_STORAGE_DIRECTORY={toxworkdir}/hypothesis + +passenv = CI commands = pytest --cov={env:PY_MODULE} --cov-report=term-missing:skip-covered --doctest-modules {posargs:src/{env:PY_MODULE}} @@ -205,8 +213,20 @@ warn_return_any = True warn_unreachable = True warn_unused_ignores = True +# DrawCallable is generic + +[mypy-hyperlink.hypothesis] +disallow_any_generics = False +[mypy-hyperlink.test.test_hypothesis] +disallow_any_generics = False + # Don't complain about dependencies known to lack type hints +[mypy-hypothesis] +ignore_missing_imports = True +[mypy-hypothesis.*] +ignore_missing_imports = True + [mypy-idna] ignore_missing_imports = True From f3c7609994aacb29c298955b90f4a21fceb06295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilfredo=20Sa=CC=81nchez?= Date: Sun, 7 Jun 2020 16:42:30 -0700 Subject: [PATCH 28/62] py27 mock is 3.0.5 try setting coverage back to 4.5.4 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 55c71804..623d20e7 100644 --- a/tox.ini +++ b/tox.ini @@ -61,7 +61,7 @@ deps = # For hypothesis. Note Python 3.4 isn't supported by hypothesis. py27: hypothesis==4.43.9 {py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.6 - py27: mock==4.0.2 + py27: mock==3.0.5 setenv = {[default]setenv} @@ -246,7 +246,7 @@ basepython = {[default]basepython} skip_install = True deps = - coverage==5.1 + coverage==4.5.4 # rq.filter: <5 # coverage 5.0 drops Python 3.4 support setenv = {[default]setenv} From 1472ccdae13bbfe7ad6a1d14ba60d27426e33d32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilfredo=20Sa=CC=81nchez?= Date: Sun, 7 Jun 2020 16:45:07 -0700 Subject: [PATCH 29/62] Remove duplicate section --- tox.ini | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 4cc39016..114d18b2 100644 --- a/tox.ini +++ b/tox.ini @@ -59,15 +59,10 @@ deps = pytest-cov==2.9.0 # For hypothesis. Note Python 3.4 isn't supported by hypothesis. - py27: hypothesis==4.43.9 + py27: hypothesis==4.43.9 # rq.filter: <4.44 {py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.6 py27: mock==3.0.5 - # For hypothesis. Note Python 3.4 isn't supported by hypothesis. - py27: hypothesis==4.43.3 # rq.filter: <4.44 - {py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.4 - py27: mock==3.0.5 - setenv = {[default]setenv} From c550d7048ca97b9ffb6dbf542b92bdec0996ce9d Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Mon, 8 Jun 2020 06:56:58 -0700 Subject: [PATCH 30/62] [requires.io] dependency update --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 114d18b2..5793b0fe 100644 --- a/tox.ini +++ b/tox.ini @@ -59,9 +59,9 @@ deps = pytest-cov==2.9.0 # For hypothesis. Note Python 3.4 isn't supported by hypothesis. - py27: hypothesis==4.43.9 # rq.filter: <4.44 + py27: hypothesis==4.43.9 {py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.6 - py27: mock==3.0.5 + py27: mock==4.0.2 setenv = {[default]setenv} @@ -246,7 +246,7 @@ basepython = {[default]basepython} skip_install = True deps = - coverage==4.5.4 # rq.filter: <5 # coverage 5.0 drops Python 3.4 support + coverage==5.1 setenv = {[default]setenv} @@ -317,7 +317,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==3.0.4 + Sphinx==3.1.0 sphinx-rtd-theme==0.4.3 commands = From 09aa8d14afcf5beb5f496b5a8a46362069678524 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Mon, 8 Jun 2020 15:38:36 -0700 Subject: [PATCH 31/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5793b0fe..28fd7c60 100644 --- a/tox.ini +++ b/tox.ini @@ -120,7 +120,7 @@ skip_install = True deps = flake8-bugbear==20.1.4 - flake8==3.8.2 + flake8==3.8.3 mccabe==0.6.1 pep8-naming==0.10.0 pycodestyle==2.6.0 From 2739beb77e9afff5e1df2fa6a98acbce688faa17 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 12 Jun 2020 07:02:09 -0700 Subject: [PATCH 32/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 28fd7c60..baac6142 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ deps = # For code coverage {[testenv:coverage_report]deps} - pytest-cov==2.9.0 + pytest-cov==2.10.0 # For hypothesis. Note Python 3.4 isn't supported by hypothesis. py27: hypothesis==4.43.9 From 25a0058a7331b0ee21700867febcd753c82bbba2 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 12 Jun 2020 09:44:47 -0700 Subject: [PATCH 33/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index baac6142..f33862d4 100644 --- a/tox.ini +++ b/tox.ini @@ -275,7 +275,7 @@ skip_install = True deps = {[testenv:coverage_report]deps} - codecov==2.1.4 + codecov==2.1.5 passenv = # See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox From 342d988e7e7573f81de53eabb5f2084323ff649f Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sat, 13 Jun 2020 16:51:38 -0700 Subject: [PATCH 34/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f33862d4..5e90c3e4 100644 --- a/tox.ini +++ b/tox.ini @@ -275,7 +275,7 @@ skip_install = True deps = {[testenv:coverage_report]deps} - codecov==2.1.5 + codecov==2.1.6 passenv = # See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox From 21804a330cdfe10ee7044354f3d49adc7800fa80 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sat, 13 Jun 2020 21:12:44 -0700 Subject: [PATCH 35/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5e90c3e4..6e3a2503 100644 --- a/tox.ini +++ b/tox.ini @@ -317,7 +317,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==3.1.0 + Sphinx==3.1.1 sphinx-rtd-theme==0.4.3 commands = From d66952cdec3e270dbd5842ab27f2c6cd4b6d7eba Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sun, 14 Jun 2020 11:24:05 -0700 Subject: [PATCH 36/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6e3a2503..4f68c4b8 100644 --- a/tox.ini +++ b/tox.ini @@ -275,7 +275,7 @@ skip_install = True deps = {[testenv:coverage_report]deps} - codecov==2.1.6 + codecov==2.1.7 passenv = # See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox From 2d0b290acc1289ecabbe40c776071a2f3dca6e2d Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Tue, 16 Jun 2020 16:24:13 -0700 Subject: [PATCH 37/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4f68c4b8..3872ab5b 100644 --- a/tox.ini +++ b/tox.ini @@ -122,7 +122,7 @@ deps = flake8-bugbear==20.1.4 flake8==3.8.3 mccabe==0.6.1 - pep8-naming==0.10.0 + pep8-naming==0.11.0 pycodestyle==2.6.0 pydocstyle==5.0.2 # pin pyflakes pending a release with https://github.com/PyCQA/pyflakes/pull/455 From 6132faeb1727722f52808c7a45c4ed45a7f66239 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Tue, 16 Jun 2020 16:50:08 -0700 Subject: [PATCH 38/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3872ab5b..01ad8a2c 100644 --- a/tox.ini +++ b/tox.ini @@ -122,7 +122,7 @@ deps = flake8-bugbear==20.1.4 flake8==3.8.3 mccabe==0.6.1 - pep8-naming==0.11.0 + pep8-naming==0.11.1 pycodestyle==2.6.0 pydocstyle==5.0.2 # pin pyflakes pending a release with https://github.com/PyCQA/pyflakes/pull/455 From 772a6b24efbf6662e6f2616e741ed2e1f6120ddb Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Wed, 17 Jun 2020 09:11:40 -0700 Subject: [PATCH 39/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 01ad8a2c..cfbe7f61 100644 --- a/tox.ini +++ b/tox.ini @@ -318,7 +318,7 @@ basepython = {[default]basepython} deps = Sphinx==3.1.1 - sphinx-rtd-theme==0.4.3 + sphinx-rtd-theme==0.5.0 commands = sphinx-build \ From 6054f13f4565402330cac8fe74d0e221ecccad2e Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 19 Jun 2020 09:27:04 -0700 Subject: [PATCH 40/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index cfbe7f61..e45dad45 100644 --- a/tox.ini +++ b/tox.ini @@ -183,7 +183,7 @@ description = run Mypy (static type checker) basepython = {[default]basepython} deps = - mypy==0.780 + mypy==0.781 {[default]deps} From 777b71f17acf697762c2711b602a369815ad1132 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Tue, 23 Jun 2020 01:47:56 -0700 Subject: [PATCH 41/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index e45dad45..de8d17cf 100644 --- a/tox.ini +++ b/tox.ini @@ -183,7 +183,7 @@ description = run Mypy (static type checker) basepython = {[default]basepython} deps = - mypy==0.781 + mypy==0.782 {[default]deps} From 385789549596944dc442a10f418c01116d0e0aee Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Wed, 24 Jun 2020 03:11:11 -0700 Subject: [PATCH 42/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index de8d17cf..5e817c08 100644 --- a/tox.ini +++ b/tox.ini @@ -360,7 +360,7 @@ skip_install = True deps = check-manifest==0.42 readme-renderer==26.0 - twine==3.1.1 + twine==3.2.0 commands = check-manifest From 8b610727b009478a9a8a5e78151ce81a63caa28c Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Thu, 25 Jun 2020 00:24:22 -0700 Subject: [PATCH 43/62] [requires.io] dependency update --- tox.ini | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/tox.ini b/tox.ini index 5e817c08..dae214e4 100644 --- a/tox.ini +++ b/tox.ini @@ -47,21 +47,22 @@ basepython = deps = {[default]deps} - # In Python 2, we need to pull in typing - {py26,py27}: typing==3.7.4.1 + # In Python 2, we need to pull in typing, mock + py{26,27,py2}: typing==3.7.4.1 + py{26,27,py2}: mock==3.0.5 # rq.filter: <4 # For pytest - {py26,py27,py34}: pytest==4.6.11 - {py35,py36,py37,py38}: pytest==5.2.4 + py{26,27,34,py2}: pytest==4.6.11 # rq.filter: <5 + py{35,36,37,38,39,py3}: pytest==5.2.4 # For code coverage {[testenv:coverage_report]deps} - pytest-cov==2.10.0 + py{26,27,34,py2}: pytest-cov==2.8.1 # rq.filter: <2.9 + py{35,36,37,38,39,py3}: pytest-cov==2.10.0 # For hypothesis. Note Python 3.4 isn't supported by hypothesis. - py27: hypothesis==4.43.9 - {py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.6 - py27: mock==4.0.2 + py{26,27,py2}: hypothesis==4.43.9 # rq.filter: <4.44 + py{35,36,37,38,39,py3}: hypothesis==5.8.6 setenv = {[default]setenv} @@ -94,7 +95,7 @@ setenv = BLACK_LINT_ARGS=--check commands = - black {env:BLACK_LINT_ARGS:} setup.py src + black {env:BLACK_LINT_ARGS:} {posargs:setup.py src} [testenv:black-reformat] @@ -129,7 +130,7 @@ deps = git+git://github.com/PyCQA/pyflakes@ffe9386#egg=pyflakes commands = - flake8 {posargs:src/{env:PY_MODULE}} + flake8 {posargs:setup.py src/{env:PY_MODULE}} [flake8] @@ -239,7 +240,7 @@ ignore_missing_imports = True description = generate coverage report -depends = test-py{26,27,34,35,36,37,38,py,py3} +depends = test-py{26,27,34,35,36,37,38,39,py2,py3} basepython = {[default]basepython} From 16addb50f6e25cc9f6ce9493e68b4b734a18acf1 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Thu, 25 Jun 2020 00:24:23 -0700 Subject: [PATCH 44/62] [requires.io] dependency update --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 2f09f9cd..2e771699 100644 --- a/setup.py +++ b/setup.py @@ -27,11 +27,11 @@ url=__url__, packages=find_packages(where="src"), package_dir={"": "src"}, - package_data=dict(hyperlink=["py.typed",],), + package_data=dict(hyperlink=["py.typed"]), zip_safe=False, license=__license__, platforms="any", - install_requires=["idna>=2.5", 'typing ; python_version<"3.5"',], + install_requires=["idna>=2.5", 'typing ; python_version<"3.5"'], python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", classifiers=[ "Topic :: Utilities", From 0cac45d2c81ad4a2a530c5e6555b0fe852fdea87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilfredo=20Sa=CC=81nchez?= Date: Thu, 25 Jun 2020 14:39:38 -0700 Subject: [PATCH 45/62] Revert docstring changes --- src/hyperlink/_url.py | 195 ++++++++++++++++++++++-------------------- 1 file changed, 100 insertions(+), 95 deletions(-) diff --git a/src/hyperlink/_url.py b/src/hyperlink/_url.py index 4fb84133..4867d58c 100644 --- a/src/hyperlink/_url.py +++ b/src/hyperlink/_url.py @@ -478,12 +478,12 @@ def register_scheme(text, uses_netloc=True, default_port=None): `file an issue`_! Args: - text: A string representation of the scheme. + text (Text): A string representation of the scheme. (the 'http' in 'http://hatnote.com') - uses_netloc: Does the scheme support specifying a + uses_netloc (bool): Does the scheme support specifying a network host? For instance, "http" does, "mailto" does not. Defaults to True. - default_port: The default port, if any, for + default_port (Optional[int]): The default port, if any, for netloc-using schemes. .. _file an issue: https://github.com/mahmoud/hyperlink/issues @@ -927,36 +927,38 @@ class URL(object): constructor arguments is below. Args: - scheme: The text name of the scheme. - host: The host portion of the network location - port: The port part of the network location. If ``None`` or no port is - passed, the port will default to the default port of the scheme, if - it is known. See the ``SCHEME_PORT_MAP`` and - :func:`register_default_port` for more info. - path: A tuple of strings representing the slash-separated parts of the - path. - query: The query parameters, as a dictionary or as an sequence of - key-value pairs. - fragment: The fragment part of the URL. - rooted: A rooted URL is one which indicates an absolute path. - This is True on any URL that includes a host, or any relative URL - that starts with a slash. - userinfo: The username or colon-separated username:password pair. - uses_netloc: Indicates whether ``://`` (the "netloc separator") will - appear to separate the scheme from the *path* in cases where no - host is present. - Setting this to ``True`` is a non-spec-compliant affordance for the - common practice of having URIs that are *not* URLs (cannot have a - 'host' part) but nevertheless use the common ``://`` idiom that - most people associate with URLs; e.g. ``message:`` URIs like - ``message://message-id`` being equivalent to ``message:message-id``. - This may be inferred based on the scheme depending on whether - :func:`register_scheme` has been used to register the scheme and - should not be passed directly unless you know the scheme works like - this and you know it has not been registered. - - All of these parts are also exposed as read-only attributes of :class:`URL` - instances, along with several useful methods. + scheme (Optional[Text]): The text name of the scheme. + host (Optional[Text]): The host portion of the network location + port (Optional[int]): The port part of the network location. If + ``None`` or no port is passed, the port will default to + the default port of the scheme, if it is known. See the + ``SCHEME_PORT_MAP`` and :func:`register_default_port` + for more info. + path (Iterable[Text]): A tuple of strings representing the + slash-separated parts of the path. + query (Sequence[Tuple[Text, Optional[Text]]]): The query parameters, as + a dictionary or as an sequence of key-value pairs. + fragment (Text): The fragment part of the URL. + rooted (bool): A rooted URL is one which indicates an absolute path. + This is True on any URL that includes a host, or any relative URL + that starts with a slash. + userinfo (Text): The username or colon-separated + username:password pair. + uses_netloc (Optional[bool]): Indicates whether ``://`` (the "netloc + separator") will appear to separate the scheme from the *path* in + cases where no host is present. Setting this to ``True`` is a + non-spec-compliant affordance for the common practice of having URIs + that are *not* URLs (cannot have a 'host' part) but nevertheless use + the common ``://`` idiom that most people associate with URLs; + e.g. ``message:`` URIs like ``message://message-id`` being + equivalent to ``message:message-id``. This may be inferred based on + the scheme depending on whether :func:`register_scheme` has been + used to register the scheme and should not be passed directly unless + you know the scheme works like this and you know it has not been + registered. + + All of these parts are also exposed as read-only attributes of + URL instances, along with several useful methods. .. _RFC 3986: https://tools.ietf.org/html/rfc3986 .. _RFC 3987: https://tools.ietf.org/html/rfc3987 @@ -1185,9 +1187,9 @@ def authority(self, with_password=False, **kw): u'user:pass@localhost:8080' Args: - with_password: Whether the return value of this method include the - password in the URL, if it is set. - Defaults to False. + with_password (bool): Whether the return value of this + method include the password in the URL, if it is + set. Defaults to False. Returns: Text: The authority (network location and user information) portion @@ -1296,29 +1298,32 @@ def replace( the value on the current URL. Args: - scheme: The text name of the scheme. - host: The host portion of the network location. - path: A tuple of strings representing the slash-separated parts of - the path. - query: The query parameters, as a dictionary or as an sequence of - key-value pairs. - fragment: The fragment part of the URL. - port: The port part of the network location. - rooted: Whether or not the path begins with a slash. - userinfo: The username or colon-separated username:password pair. - uses_netloc: Indicates whether ``://`` (the "netloc separator") - will appear to separate the scheme from the *path* in cases - where no host is present. - Setting this to ``True`` is a non-spec-compliant affordance for - the common practice of having URIs that are *not* URLs (cannot - have a 'host' part) but nevertheless use the common ``://`` - idiom that most people associate with URLs; e.g. ``message:`` - URIs like ``message://message-id`` being equivalent to - ``message:message-id``. - This may be inferred based on the scheme depending on whether - :func:`register_scheme` has been used to register the scheme - and should not be passed directly unless you know the scheme - works like this and you know it has not been registered. + scheme (Optional[Text]): The text name of the scheme. + host (Optional[Text]): The host portion of the network location. + path (Iterable[Text]): A tuple of strings representing the + slash-separated parts of the path. + query (Sequence[Tuple[Text, Optional[Text]]]): The query + parameters, as a dictionary or as an sequence of key-value + pairs. + fragment (Text): The fragment part of the URL. + port (Optional[int]): The port part of the network location. + rooted (Optional[bool]): Whether or not the path begins with a + slash. + userinfo (Text): The username or colon-separated username:password + pair. + uses_netloc (bool): Indicates whether ``://`` (the "netloc + separator") will appear to separate the scheme from the *path* + in cases where no host is present. Setting this to ``True`` is + a non-spec-compliant affordance for the common practice of + having URIs that are *not* URLs (cannot have a 'host' part) but + nevertheless use the common ``://`` idiom that most people + associate with URLs; e.g. ``message:`` URIs like + ``message://message-id`` being equivalent to + ``message:message-id``. This may be inferred based on the + scheme depending on whether :func:`register_scheme` has been + used to register the scheme and should not be passed directly + unless you know the scheme works like this and you know it has + not been registered. Returns: URL: A copy of the current :class:`URL`, with new values for @@ -1358,7 +1363,7 @@ def from_text(cls, text): sure to decode those bytestrings. Args: - text: A valid URL string. + text (Text): A valid URL string. Returns: URL: The structured object version of the parsed string. @@ -1464,14 +1469,15 @@ def normalize( name. Args: - scheme: Convert the scheme to lowercase - host: Convert the host to lowercase - path: Normalize the path (see above for details) - query: Normalize the query string - fragment: Normalize the fragment - userinfo: Normalize the userinfo - percents: Encode isolated percent signs for any percent-encoded - fields which are being normalized (defaults to `True`). + scheme (bool): Convert the scheme to lowercase + host (bool): Convert the host to lowercase + path (bool): Normalize the path (see above for details) + query (bool): Normalize the query string + fragment (bool): Normalize the fragment + userinfo (bool): Normalize the userinfo + percents (bool): Encode isolated percent signs for any + percent-encoded fields which are being normalized + (defaults to True). >>> url = URL.from_text(u'Http://example.COM/a/../b/./c%2f?%61%') >>> print(url.normalize().to_text()) @@ -1531,9 +1537,9 @@ def child(self, *segments): u'http://localhost/a/b/c/d?x=y' Args: - segments: Additional parts to be joined and added to the path, like - :func:`os.path.join`. Special characters in segments will be - percent encoded. + segments (Text): Additional parts to be joined and added to + the path, like :func:`os.path.join`. Special characters + in segments will be percent encoded. Returns: URL: A copy of the current URL with the extra path segments. @@ -1556,7 +1562,7 @@ def sibling(self, segment): sibling of this URL path. Args: - segment: A single path segment. + segment (Text): A single path segment. Returns: URL: A copy of the current URL with the last path segment @@ -1855,11 +1861,11 @@ def add(self, name, value=None): URL.from_text(u'https://example.com/?x=y&x=z') Args: - name: The name of the query parameter to add. + name (Text): The name of the query parameter to add. The part before the ``=``. - value: The value of the query parameter to add. - The part after the ``=``. - Defaults to ``None``, meaning no value. + value (Optional[Text]): The value of the query parameter to add. + The part after the ``=``. Defaults to ``None``, meaning no + value. Returns: URL: A new :class:`URL` instance with the parameter added. @@ -1878,11 +1884,11 @@ def set(self, name, value=None): URL.from_text(u'https://example.com/?x=z') Args: - name: The name of the query parameter to set. + name (Text): The name of the query parameter to set. The part before the ``=``. - value: The value of the query parameter to set. - The part after the ``=``. - Defaults to ``None``, meaning no value. + value (Optional[Text]): The value of the query parameter to set. + The part after the ``=``. Defaults to ``None``, meaning no + value. Returns: URL: A new :class:`URL` instance with the parameter set. @@ -1909,7 +1915,7 @@ def get(self, name): list is always returned, and this method raises no exceptions. Args: - name: The name of the query parameter to get. + name (Text): The name of the query parameter to get. Returns: List[Optional[Text]]: A list of all the values associated with the @@ -1930,11 +1936,12 @@ def remove( parameter is not already set. Args: - name: The name of the query parameter to remove. - value: Optional value to additionally filter on. + name (Text): The name of the query parameter to remove. + value (Text): Optional value to additionally filter on. Setting this removes query parameters which match both name and value. - limit: Optional maximum number of parameters to remove. + limit (Optional[int]): Optional maximum number of parameters to + remove. Returns: URL: A new :class:`URL` instance with the parameter removed. @@ -1994,10 +2001,9 @@ class DecodedURL(object): special characters encoded with codecs other than UTF-8. Args: - url: A :class:`URL` object to wrap. - lazy: Set to True to avoid pre-decode all parts of the URL to check for - validity. - Defaults to False. + url (URL): A :class:`URL` object to wrap. + lazy (bool): Set to True to avoid pre-decode all parts of the URL to + check for validity. Defaults to False. .. note:: @@ -2028,10 +2034,9 @@ def from_text(cls, text, lazy=False): Make a `DecodedURL` instance from any text string containing a URL. Args: - text: Text containing the URL - lazy: Whether to pre-decode all parts of the URL to check for - validity. - Defaults to True. + text (Text): Text containing the URL + lazy (bool): Whether to pre-decode all parts of the URL to check for + validity. Defaults to True. """ _url = URL.from_text(text) return cls(_url, lazy=lazy) @@ -2381,16 +2386,16 @@ def parse(url, decoded=True, lazy=False): https://github.com/python-hyper/hyperlink Args: - url: A text string representation of a URL. + url (str): A text string representation of a URL. - decoded: Whether or not to return a :class:`DecodedURL`, + decoded (bool): Whether or not to return a :class:`DecodedURL`, which automatically handles all encoding/decoding/quoting/unquoting for all the various accessors of parts of the URL, or a :class:`URL`, which has the same API, but requires handling of special characters for different parts of the URL. - lazy: In the case of `decoded=True`, this controls + lazy (bool): In the case of `decoded=True`, this controls whether the URL is decoded immediately or as accessed. The default, `lazy=False`, checks all encoded parts of the URL for decodability. From bbbdebe69f130d5831661d120cf384e61f9a3b4b Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sat, 27 Jun 2020 17:00:15 -0700 Subject: [PATCH 46/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8aeea44d..dae214e4 100644 --- a/tox.ini +++ b/tox.ini @@ -318,7 +318,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==2.4.4 + Sphinx==3.1.1 sphinx-rtd-theme==0.5.0 commands = From e253ff20ac1c952fde2d9f72be56b89d7d019f27 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sun, 5 Jul 2020 03:56:32 -0700 Subject: [PATCH 47/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index dae214e4..1f926087 100644 --- a/tox.ini +++ b/tox.ini @@ -318,7 +318,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==3.1.1 + Sphinx==3.1.2 sphinx-rtd-theme==0.5.0 commands = From 3c5277dd4e84addc5b342c62182716b09babb28a Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Mon, 6 Jul 2020 10:08:58 -0700 Subject: [PATCH 48/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 1f926087..162ea394 100644 --- a/tox.ini +++ b/tox.ini @@ -247,7 +247,7 @@ basepython = {[default]basepython} skip_install = True deps = - coverage==5.1 + coverage==5.2 setenv = {[default]setenv} From 50f946da8e43366d319b8f0f09b0ea531f704a7f Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Thu, 9 Jul 2020 17:24:32 -0700 Subject: [PATCH 49/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 162ea394..0b3f0175 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,7 @@ deps = {[default]deps} # In Python 2, we need to pull in typing, mock - py{26,27,py2}: typing==3.7.4.1 + py{26,27,py2}: typing==3.7.4.2 py{26,27,py2}: mock==3.0.5 # rq.filter: <4 # For pytest From 7404f2426964f0a951031f5c92e2bf3adebf07ff Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Mon, 13 Jul 2020 16:21:30 -0700 Subject: [PATCH 50/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 0b3f0175..3e955758 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,7 @@ deps = {[default]deps} # In Python 2, we need to pull in typing, mock - py{26,27,py2}: typing==3.7.4.2 + py{26,27,py2}: typing==3.7.4.3 py{26,27,py2}: mock==3.0.5 # rq.filter: <4 # For pytest From 7c4eeae844e9bb5b98bffa63424952cd83f06096 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Wed, 15 Jul 2020 19:15:53 -0700 Subject: [PATCH 51/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3e955758..2fc070f1 100644 --- a/tox.ini +++ b/tox.ini @@ -276,7 +276,7 @@ skip_install = True deps = {[testenv:coverage_report]deps} - codecov==2.1.7 + codecov==2.1.8 passenv = # See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox From dd4813aa493fa94ed0e8c9f3663dcb51b5139ec3 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 24 Jul 2020 05:08:15 -0700 Subject: [PATCH 52/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 2fc070f1..3b9ebba7 100644 --- a/tox.ini +++ b/tox.ini @@ -247,7 +247,7 @@ basepython = {[default]basepython} skip_install = True deps = - coverage==5.2 + coverage==5.2.1 setenv = {[default]setenv} From 4393561d71ecc11d579cdf741ff1c223bbc33ea6 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Mon, 3 Aug 2020 23:37:45 -0700 Subject: [PATCH 53/62] [requires.io] dependency update --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2e771699..7b57b830 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ __author__ = "Mahmoud Hashemi and Glyph Lefkowitz" -__version__ = "19.0.1dev" +__version__ = "20.0.1dev" __contact__ = "mahmoud@hatnote.com" __url__ = "https://github.com/python-hyper/hyperlink" __license__ = "MIT" From 58e4418599c95728ccd79d0e979d8d63b381c63b Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sat, 8 Aug 2020 02:30:58 -0700 Subject: [PATCH 54/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3b9ebba7..ec3cf899 100644 --- a/tox.ini +++ b/tox.ini @@ -318,7 +318,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==3.1.2 + Sphinx==3.2.0 sphinx-rtd-theme==0.5.0 commands = From 5a06bea720863d6e992b778240dba5c9f20d83d9 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sat, 8 Aug 2020 02:30:59 -0700 Subject: [PATCH 55/62] [requires.io] dependency update --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7b57b830..7e94a2ff 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ __author__ = "Mahmoud Hashemi and Glyph Lefkowitz" -__version__ = "20.0.1dev" +__version__ = "20.0.2dev" __contact__ = "mahmoud@hatnote.com" __url__ = "https://github.com/python-hyper/hyperlink" __license__ = "MIT" From 59489c462bcdcf5a8f78ff61dec7a7aeaff31ce3 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Tue, 11 Aug 2020 08:24:38 -0700 Subject: [PATCH 56/62] [requires.io] dependency update From c0e6977c36479d680c8dcf4de62bf897d4549cd1 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 14 Aug 2020 04:15:14 -0700 Subject: [PATCH 57/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ec3cf899..ecb7d430 100644 --- a/tox.ini +++ b/tox.ini @@ -318,7 +318,7 @@ description = build documentation basepython = {[default]basepython} deps = - Sphinx==3.2.0 + Sphinx==3.2.1 sphinx-rtd-theme==0.5.0 commands = From 59186f319901776fcc84e4c0b5cb4317931c03bd Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 14 Aug 2020 10:34:18 -0700 Subject: [PATCH 58/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ecb7d430..66b277de 100644 --- a/tox.ini +++ b/tox.ini @@ -58,7 +58,7 @@ deps = # For code coverage {[testenv:coverage_report]deps} py{26,27,34,py2}: pytest-cov==2.8.1 # rq.filter: <2.9 - py{35,36,37,38,39,py3}: pytest-cov==2.10.0 + py{35,36,37,38,39,py3}: pytest-cov==2.10.1 # For hypothesis. Note Python 3.4 isn't supported by hypothesis. py{26,27,py2}: hypothesis==4.43.9 # rq.filter: <4.44 From a0fa2d5dcc03c2ba286b4d17b567a666ffb0755d Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Fri, 21 Aug 2020 09:57:25 -0700 Subject: [PATCH 59/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 66b277de..9ae457fe 100644 --- a/tox.ini +++ b/tox.ini @@ -276,7 +276,7 @@ skip_install = True deps = {[testenv:coverage_report]deps} - codecov==2.1.8 + codecov==2.1.9 passenv = # See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox From 0a8b810009d37d3e58dc575dafe5f3bdf1e1c41f Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Sat, 22 Aug 2020 14:29:49 -0700 Subject: [PATCH 60/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9ae457fe..ca25c5a4 100644 --- a/tox.ini +++ b/tox.ini @@ -125,7 +125,7 @@ deps = mccabe==0.6.1 pep8-naming==0.11.1 pycodestyle==2.6.0 - pydocstyle==5.0.2 + pydocstyle==5.1.0 # pin pyflakes pending a release with https://github.com/PyCQA/pyflakes/pull/455 git+git://github.com/PyCQA/pyflakes@ffe9386#egg=pyflakes From ac896805ccc193f6e288f0cea737b0ee303946a2 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Wed, 26 Aug 2020 07:29:06 -0700 Subject: [PATCH 61/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ca25c5a4..860fc6f9 100644 --- a/tox.ini +++ b/tox.ini @@ -89,7 +89,7 @@ basepython = {[default]basepython} skip_install = True deps = - black==19.10b0 + black==20.8b0 setenv = BLACK_LINT_ARGS=--check From cfb4fc5c42ee137159e244ba9db3296c489a6f82 Mon Sep 17 00:00:00 2001 From: "requires.io" Date: Wed, 26 Aug 2020 08:54:05 -0700 Subject: [PATCH 62/62] [requires.io] dependency update --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 860fc6f9..901645a9 100644 --- a/tox.ini +++ b/tox.ini @@ -89,7 +89,7 @@ basepython = {[default]basepython} skip_install = True deps = - black==20.8b0 + black==20.8b1 setenv = BLACK_LINT_ARGS=--check