Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5a4dc0c

Browse files
committed
https-ify links
- A lot of http links loaded fine on https - pre-commit.com is now loadable on https via cloudflare
1 parent c8fd92e commit 5a4dc0c

8 files changed

Lines changed: 11 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159
1.0.0
160160
=====
161-
pre-commit will now be following [semver](http://semver.org/). Thanks to all
161+
pre-commit will now be following [semver](https://semver.org/). Thanks to all
162162
of the [contributors](https://github.com/pre-commit/pre-commit/graphs/contributors)
163163
that have helped us get this far!
164164

@@ -561,7 +561,7 @@ that have helped us get this far!
561561

562562
0.3.5
563563
=====
564-
- Support running during `pre-push`. See http://pre-commit.com/#advanced 'pre-commit during push'.
564+
- Support running during `pre-push`. See https://pre-commit.com/#advanced 'pre-commit during push'.
565565

566566
0.3.4
567567
=====

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ With the environment activated simply run `pre-commit install`.
4444

4545
## Documentation
4646

47-
Documentation is hosted at http://pre-commit.com
47+
Documentation is hosted at https://pre-commit.com
4848

4949
This website is controlled through
5050
https://github.com/pre-commit/pre-commit.github.io

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
A framework for managing and maintaining multi-language pre-commit hooks.
88

9-
For more information see: http://pre-commit.com/
9+
For more information see: https://pre-commit.com/

pre_commit/commands/sample_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# significantly faster than https:// or http://). For now, periodically
99
# manually updating the revision is fine.
1010
SAMPLE_CONFIG = '''\
11-
# See http://pre-commit.com for more information
12-
# See http://pre-commit.com/hooks.html for more hooks
11+
# See https://pre-commit.com for more information
12+
# See https://pre-commit.com/hooks.html for more hooks
1313
repos:
1414
- repo: https://github.com/pre-commit/pre-commit-hooks
1515
sha: v0.9.2

pre_commit/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def main(argv=None):
9494
argv = [five.to_text(arg) for arg in argv]
9595
parser = argparse.ArgumentParser()
9696

97-
# http://stackoverflow.com/a/8521644/812183
97+
# https://stackoverflow.com/a/8521644/812183
9898
parser.add_argument(
9999
'-V', '--version',
100100
action='version',

pre_commit/parse_shebang.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def normexe(orig_exe):
5656

5757
def normalize_cmd(cmd):
5858
"""Fixes for the following issues on windows
59-
- http://bugs.python.org/issue8557
59+
- https://bugs.python.org/issue8557
6060
- windows does not parse shebangs
6161
6262
This function also makes deep-path shebangs work just fine

pre_commit/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def _write_sqlite_db(self):
6868
os.close(fd)
6969
# sqlite doesn't close its fd with its contextmanager >.<
7070
# contextlib.closing fixes this.
71-
# See: http://stackoverflow.com/a/28032829/812183
71+
# See: https://stackoverflow.com/a/28032829/812183
7272
with contextlib.closing(sqlite3.connect(tmpfile)) as db:
7373
db.executescript(
7474
'CREATE TABLE repos ('

tests/commands/sample_config_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def test_sample_config(capsys):
99
assert ret == 0
1010
out, _ = capsys.readouterr()
1111
assert out == '''\
12-
# See http://pre-commit.com for more information
13-
# See http://pre-commit.com/hooks.html for more hooks
12+
# See https://pre-commit.com for more information
13+
# See https://pre-commit.com/hooks.html for more hooks
1414
repos:
1515
- repo: https://github.com/pre-commit/pre-commit-hooks
1616
sha: v0.9.2

0 commit comments

Comments
 (0)