Skip to content

Commit 4fe8988

Browse files
committed
Use https:// URLs in docs and comments where available
1 parent f79e008 commit 4fe8988

22 files changed

+37
-34
lines changed

CONTRIBUTING.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ If it is done on work time, or you have a particularly onerous contract, make su
7070
you've checked with your employer.
7171

7272
All work in Hypothesis is licensed under the terms of the
73-
`Mozilla Public License, version 2.0 <http://mozilla.org/MPL/2.0/>`_. By
73+
`Mozilla Public License, version 2.0 <https://mozilla.org/MPL/2.0/>`_. By
7474
submitting a contribution you are agreeing to licence your work under those
7575
terms.
7676

@@ -235,15 +235,15 @@ their individual contributions.
235235
* `Luke Barone-Adesi <https://github.com/baluke>`_
236236
* `marekventur <https://www.github.com/marekventur>`_
237237
* `Marius Gedminas <https://www.github.com/mgedmin>`_ (marius@gedmin.as)
238-
* `Markus Unterwaditzer <http://github.com/untitaker/>`_ (markus@unterwaditzer.net)
239-
* `Mathieu Paturel <http://github.com/math2001>`_ (mathieu.paturel@gmail.com)
238+
* `Markus Unterwaditzer <https://github.com/untitaker>`_ (markus@unterwaditzer.net)
239+
* `Mathieu Paturel <https://github.com/math2001>`_ (mathieu.paturel@gmail.com)
240240
* `Matt Bachmann <https://www.github.com/bachmann1234>`_ (bachmann.matt@gmail.com)
241241
* `Max Nordlund <https://www.github.com/maxnordlund>`_ (max.nordlund@gmail.com)
242242
* `Maxim Kulkin <https://www.github.com/maximkulkin>`_ (maxim.kulkin@gmail.com)
243243
* `mulkieran <https://www.github.com/mulkieran>`_
244244
* `Nicholas Chammas <https://www.github.com/nchammas>`_
245245
* `Paul Lorett Amazona <https://github.com/whatevergeek>`_
246-
* `Peadar Coyle <http://www.github.com/springcoil>`_ (peadarcoyle@gmail.com)
246+
* `Peadar Coyle <https://github.com/springcoil>`_ (peadarcoyle@gmail.com)
247247
* `Richard Boulton <https://www.github.com/rboulton>`_ (richard@tartarus.org)
248248
* `Sam Hames <https://www.github.com/SamHames>`_
249249
* `Sanyam Khurana <https://github.com/CuriousLearner>`_

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Copyright (c) 2013, David R. MacIver
22

33
All code in this repository except where explicitly noted otherwise is released
4-
under the Mozilla Public License v 2.0. You can obtain a copy at http://mozilla.org/MPL/2.0/.
4+
under the Mozilla Public License v 2.0. You can obtain a copy at https://mozilla.org/MPL/2.0/.
55

66
Some code in this repository comes from other projects. Where applicable, the
77
original copyright and license are noted and any modifications made are released

appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ environment:
22
global:
33
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
44
# /E:ON and /V:ON options are not enabled in the batch script interpreter
5-
# See: http://stackoverflow.com/a/13751649/163740
5+
# See: https://stackoverflow.com/a/13751649/163740
66
CMD_IN_ENV: "cmd /E:ON /V:ON /C ..\\scripts\\run_with_env.cmd"
77

88
TWINE_USERNAME: DRMacIver
@@ -57,7 +57,7 @@ install:
5757
- ECHO "Installed SDKs:"
5858
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
5959

60-
# Install Python (from the official .msi of http://python.org) and pip when
60+
# Install Python (from the official .msi of https://www.python.org/) and pip when
6161
# not already installed.
6262
- "powershell ./scripts/install.ps1"
6363

guides/documentation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ which is the only other such project at the moment).
6666

6767
The first line of the file specifies the component
6868
of the version number that will be updated, according to our
69-
`semantic versioning <http://semver.org/>`_ policy.
69+
`semantic versioning <https://semver.org/>`_ policy.
7070

7171
- ``RELEASE_TYPE: major`` is for breaking changes, and will only be used by the
7272
core team after extensive discussion.

hypothesis-python/LICENSE.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Copyright (c) 2013, David R. MacIver
22

33
All code in this repository except where explicitly noted otherwise is released
4-
under the Mozilla Public License v 2.0. You can obtain a copy at http://mozilla.org/MPL/2.0/.
4+
under the Mozilla Public License v 2.0. You can obtain a copy at https://mozilla.org/MPL/2.0/.
55

66
Some code in this repository comes from other projects. Where applicable, the
77
original copyright and license are noted and any modifications made are released
@@ -366,7 +366,7 @@ Exhibit A - Source Code Form License Notice
366366

367367
This Source Code Form is subject to the terms of the Mozilla Public
368368
License, v. 2.0. If a copy of the MPL was not distributed with this
369-
file, You can obtain one at http://mozilla.org/MPL/2.0/.
369+
file, You can obtain one at https://mozilla.org/MPL/2.0/.
370370

371371
If it is not possible or desirable to put the notice in a particular
372372
file, then You may include the notice in a location (such as a LICENSE

hypothesis-python/README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you just want to get started:
4040
Links of interest
4141
-----------------
4242

43-
The main Hypothesis site is at `hypothesis.works <http://hypothesis.works>`_, and contains a lot
43+
The main Hypothesis site is at `hypothesis.works <https://hypothesis.works/>`_, and contains a lot
4444
of good introductory and explanatory material.
4545

4646
Extensive documentation and examples of usage are `available at readthedocs <https://hypothesis.readthedocs.io/en/master/>`_.
@@ -49,7 +49,7 @@ If you want to talk to people about using Hypothesis, `we have both an IRC chann
4949
and a mailing list <https://hypothesis.readthedocs.io/en/latest/community.html>`_.
5050

5151
If you want to receive occasional updates about Hypothesis, including useful tips and tricks, there's a
52-
`TinyLetter mailing list to sign up for them <http://tinyletter.com/DRMacIver/>`_.
52+
`TinyLetter mailing list to sign up for them <https://tinyletter.com/DRMacIver/>`_.
5353

5454
If you want to contribute to Hypothesis, `instructions are here <https://github.com/HypothesisWorks/hypothesis-python/blob/master/CONTRIBUTING.rst>`_.
5555

hypothesis-python/RELEASE.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
RELEASE_TYPE: patch
2+
3+
This release has no user visible changes but updates our URLs to use HTTPS.

hypothesis-python/docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
7171
"pytest": ("https://docs.pytest.org/en/stable/", None),
7272
"django": ("https://django.readthedocs.io/en/stable/", None),
73-
"attrs": ("http://www.attrs.org/en/stable/", None),
73+
"attrs": ("https://www.attrs.org/en/stable/", None),
7474
}
7575

7676
autodoc_mock_imports = ["pandas"]

hypothesis-python/docs/endorsements.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ support Unicode input, which I never would have had the stomach for without such
4848
thorough testing capabilities. Thanks!
4949

5050
-------------------------------------------
51-
`Sixty North <http://sixty-north.com>`_
51+
`Sixty North <https://sixty-north.com/>`_
5252
-------------------------------------------
5353

5454
At Sixty North we use Hypothesis for testing

hypothesis-python/docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ the :doc:`Quick start guide <quickstart>`, which will give you a worked
4949
example of how to use Hypothesis and a detailed outline
5050
of the things you need to know to begin testing your code with it, or
5151
check out some of the
52-
`introductory articles <http://hypothesis.works/articles/intro/>`_.
52+
`introductory articles <https://hypothesis.works/articles/intro/>`_.
5353

5454

5555
.. toctree::

hypothesis-python/docs/numpy.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Hypothesis for the Scientific Stack
88
numpy
99
-----
1010

11-
Hypothesis offers a number of strategies for `NumPy <http://www.numpy.org/>`_ testing,
11+
Hypothesis offers a number of strategies for `NumPy <https://www.numpy.org/>`_ testing,
1212
available in the ``hypothesis[numpy]`` :doc:`extra </extras>`.
1313
It lives in the ``hypothesis.extra.numpy`` package.
1414

hypothesis-python/docs/quickstart.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Suppose we've written a `run length encoding
1414
it out.
1515

1616
We have the following code which I took straight from the
17-
`Rosetta Code <http://rosettacode.org/wiki/Run-length_encoding>`_ wiki (OK, I
17+
`Rosetta Code <https://rosettacode.org/wiki/Run-length_encoding>`_ wiki (OK, I
1818
removed some commented out code and fixed the formatting, but there are no
1919
functional modifications):
2020

hypothesis-python/docs/stateful.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ use HTTP instead of HTTPS.
354354
355355
for l in self.result.html.absolute_links:
356356
# All links should be HTTPS
357-
assert "http://hypothesis.works" not in l
357+
assert "https://hypothesis.works/" not in l
358358
359359
360360
TestLinks = LinkChecker.TestCase
@@ -364,10 +364,10 @@ output:
364364

365365
::
366366

367-
AssertionError: assert 'http://hypothesis.works' not in 'http://hypoth...test-fixtures/'
368-
'http://hypothesis.works' is contained here:
369-
http://hypothesis.works/articles/hypothesis-pytest-fixtures/
370-
? +++++++++++++++++++++++
367+
AssertionError: assert 'https://hypothesis.works/' not in 'http://hypoth...test-fixtures/'
368+
'https://hypothesis.works/' is contained here:
369+
https://hypothesis.works/articles/hypothesis-pytest-fixtures/
370+
? +++++++++++++++++++++++++
371371

372372
------------ Hypothesis ------------
373373

hypothesis-python/docs/strategies.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Some packages provide strategies directly:
2525
* :pypi:`hs-dbus-signature` - strategy to generate arbitrary
2626
`D-Bus signatures <https://dbus.freedesktop.org>`_.
2727
* :pypi:`hypothesis_sqlalchemy` - strategies to generate :pypi:`SQLAlchemy` objects.
28-
* :pypi:`hypothesis-ros` - strategies to generate messages and parameters for the `Robot Operating System <http://www.ros.org/>`_.
28+
* :pypi:`hypothesis-ros` - strategies to generate messages and parameters for the `Robot Operating System <https://www.ros.org/>`_.
2929
* :pypi:`hypothesis-csv` - strategy to generate CSV files.
3030

3131
Others provide a function to infer a strategy from some other schema:

hypothesis-python/docs/usage.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can find hundreds more from `the Hypothesis page at libraries.io
3838
* `pretext <https://github.com/moreati/b-prefix-all-the-doctests>`_
3939
* `priority <https://github.com/python-hyper/priority>`_
4040
* `PyCEbox <https://github.com/AustinRochford/PyCEbox>`_
41-
* `PyPy <http://pypy.org>`_
41+
* `PyPy <https://pypy.org/>`_
4242
* `pyrsistent <https://github.com/tobgu/pyrsistent>`_
4343
* `python-humble-utils <https://github.com/webyneter/python-humble-utils>`_
4444
* `pyudev <https://github.com/pyudev/pyudev>`_

hypothesis-python/src/hypothesis/internal/conjecture/engine.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
from hypothesis.reporting import debug_report
4747

4848
# Tell pytest to omit the body of this module from tracebacks
49-
# http://doc.pytest.org/en/latest/example/simple.html#writing-well-integrated-assertion-helpers
49+
# https://docs.pytest.org/en/latest/example/simple.html#writing-well-integrated-assertion-helpers
5050
__tracebackhide__ = True
5151

5252

hypothesis-python/src/hypothesis/internal/healthcheck.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
def fail_health_check(settings, message, label):
2424
# Tell pytest to omit the body of this function from tracebacks
25-
# http://doc.pytest.org/en/latest/example/simple.html#writing-well-integrated-assertion-helpers
25+
# https://docs.pytest.org/en/latest/example/simple.html#writing-well-integrated-assertion-helpers
2626
__tracebackhide__ = True
2727

2828
if label in settings.suppress_health_check:

hypothesis-ruby/LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Copyright (c) 2018, David R. MacIver
22

33
All code in this repository except where explicitly noted otherwise is released
4-
under the Mozilla Public License v 2.0. You can obtain a copy at http://mozilla.org/MPL/2.0/.
4+
under the Mozilla Public License v 2.0. You can obtain a copy at https://mozilla.org/MPL/2.0/.
55

66
Some code in this repository may come from other projects. Where applicable, the
77
original copyright and license are noted and any modifications made are released

hypothesis-ruby/docs/design.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The current goals of the Hypothesis for Ruby project are:
44

55
* To provide a useful but not wholly feature complete version of
6-
[Hypothesis](http://hypothesis.works) for Ruby, that works with
6+
[Hypothesis](https://hypothesis.works/) for Ruby, that works with
77
RSpec (and ideally minitest, but if that at any point proves to
88
be a lot of work this may be dropped. It's not an explicit
99
requirement, but supporting it now makes it much easier to find

scripts/install.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Sample script to install Python and pip under Windows
22
# Authors: Olivier Grisel, Jonathan Helmus and Kyle Kastner
3-
# License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
3+
# License: CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/
44

5-
$MINICONDA_URL = "http://repo.continuum.io/miniconda/"
5+
$MINICONDA_URL = "https://repo.continuum.io/miniconda/"
66
$BASE_URL = "https://www.python.org/ftp/python/"
77
$GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
88
$GET_PIP_PATH = "C:\get-pip.py"

scripts/run_with_env.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
::
1414
:: More details at:
1515
:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
16-
:: http://stackoverflow.com/a/13751649/163740
16+
:: https://stackoverflow.com/a/13751649/163740
1717
::
1818
:: Author: Olivier Grisel
19-
:: License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
19+
:: License: CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/
2020
@ECHO OFF
2121

2222
SET COMMAND_TO_RUN=%*

tooling/src/hypothesistooling/__main__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def deploy():
153153
#
154154
# This Source Code Form is subject to the terms of the Mozilla Public License,
155155
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
156-
# obtain one at http://mozilla.org/MPL/2.0/.
156+
# obtain one at https://mozilla.org/MPL/2.0/.
157157
#
158158
# END HEADER""".strip() % {
159159
"year": CURRENT_YEAR
@@ -324,7 +324,7 @@ def documentation():
324324
if hp.has_release():
325325
hp.update_changelog_and_version()
326326
pip_tool(
327-
# See http://www.sphinx-doc.org/en/stable/man/sphinx-build.html
327+
# See https://www.sphinx-doc.org/en/stable/man/sphinx-build.html
328328
"sphinx-build",
329329
"-n",
330330
"-W",

0 commit comments

Comments
 (0)