summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2018-04-18 10:14:31 +0200
committerGitHub <noreply@github.com>2018-04-18 10:14:31 +0200
commit09a08915b27e1bd9497279b801639c8bc54c101d (patch)
tree98f51b123d17d93d4bd05fdead79a0aaec5464d9
parentf75f586472e01bbdabcc92dac835a5f8637163d6 (diff)
parent2321a6be794d3364c7ec8cf9a7e055c7d86c5e6d (diff)
downloadsqlparse-09a08915b27e1bd9497279b801639c8bc54c101d.tar.gz
Merge pull request #400 from jdufresne/https
Use https:// for URLs where available
-rw-r--r--README.rst6
-rw-r--r--docs/source/intro.rst6
-rw-r--r--docs/source/ui.rst4
-rw-r--r--examples/extract_table_names.py2
-rw-r--r--tests/conftest.py8
5 files changed, 13 insertions, 13 deletions
diff --git a/README.rst b/README.rst
index 06b9e03..3bc9670 100644
--- a/README.rst
+++ b/README.rst
@@ -47,13 +47,13 @@ Documentation
https://sqlparse.readthedocs.io/en/latest/
Discussions
- http://groups.google.com/group/sqlparse
+ https://groups.google.com/forum/#!forum/sqlparse
Issues/Bugs
https://github.com/andialbrecht/sqlparse/issues
Online Demo
- http://sqlformat.org
+ https://sqlformat.org/
python-sqlparse is licensed under the BSD license.
@@ -62,6 +62,6 @@ Parts of the code are based on pygments written by Georg Brandl and others.
pygments-Homepage: http://pygments.org/
.. |buildstatus| image:: https://secure.travis-ci.org/andialbrecht/sqlparse.png?branch=master
-.. _buildstatus: http://travis-ci.org/#!/andialbrecht/sqlparse
+.. _buildstatus: https://travis-ci.org/#!/andialbrecht/sqlparse
.. |coverage| image:: https://coveralls.io/repos/andialbrecht/sqlparse/badge.svg?branch=master&service=github
.. _coverage: https://coveralls.io/github/andialbrecht/sqlparse?branch=master
diff --git a/docs/source/intro.rst b/docs/source/intro.rst
index 9c45a2d..9794b6c 100644
--- a/docs/source/intro.rst
+++ b/docs/source/intro.rst
@@ -6,7 +6,7 @@ Download & Installation
-----------------------
The latest released version can be obtained from the `Python Package
-Index (PyPI) <http://pypi.python.org/pypi/sqlparse/>`_. To extract the
+Index (PyPI) <https://pypi.python.org/pypi/sqlparse/>`_. To extract the
install the module system-wide run
.. code-block:: bash
@@ -136,8 +136,8 @@ locally.
Please file bug reports and feature requests on the project site at
https://github.com/andialbrecht/sqlparse/issues/new or if you have
-code to contribute upload it to http://codereview.appspot.com and
+code to contribute upload it to https://codereview.appspot.com/ and
add albrecht.andi@googlemail.com as reviewer.
For more information about the review tool and how to use it visit
-it's project page: http://code.google.com/p/rietveld.
+it's project page: https://github.com/rietveld-codereview/rietveld
diff --git a/docs/source/ui.rst b/docs/source/ui.rst
index 264916e..dcaeba1 100644
--- a/docs/source/ui.rst
+++ b/docs/source/ui.rst
@@ -7,9 +7,9 @@ User Interfaces
hints.
``sqlformat.appspot.com``
- An example `Google App Engine <http://code.google.com/appengine/>`_
+ An example `Google App Engine <https://cloud.google.com/appengine/>`_
application that exposes the formatting features using a web front-end.
- See http://sqlformat.appspot.com for details.
+ See https://sqlformat.org/ for details.
The source for this application is available from a source code check out
of the :mod:`sqlparse` module (see :file:`extras/appengine`).
diff --git a/examples/extract_table_names.py b/examples/extract_table_names.py
index daf853a..31d78fb 100644
--- a/examples/extract_table_names.py
+++ b/examples/extract_table_names.py
@@ -10,7 +10,7 @@
# SELECT statements.
#
# See:
-# http://groups.google.com/group/sqlparse/browse_thread/thread/b0bd9a022e9d4895
+# https://groups.google.com/forum/#!forum/sqlparse/browse_thread/thread/b0bd9a022e9d4895
import sqlparse
from sqlparse.sql import IdentifierList, Identifier
diff --git a/tests/conftest.py b/tests/conftest.py
index f2eb28e..f2473a4 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -16,9 +16,9 @@ def filepath():
"""Returns full file path for test files."""
def make_filepath(filename):
- # http://stackoverflow.com/questions/18011902/parameter-to-a-fixture
+ # https://stackoverflow.com/questions/18011902/py-test-pass-a-parameter-to-a-fixture-function
# Alternate solution is to use parametrization `indirect=True`
- # http://stackoverflow.com/a/33879151
+ # https://stackoverflow.com/questions/18011902/py-test-pass-a-parameter-to-a-fixture-function/33879151#33879151
# Syntax is noisy and requires specific variable names
return os.path.join(FILES_DIR, filename)
@@ -30,9 +30,9 @@ def load_file(filepath):
"""Opens filename with encoding and return its contents."""
def make_load_file(filename, encoding='utf-8'):
- # http://stackoverflow.com/questions/18011902/parameter-to-a-fixture
+ # https://stackoverflow.com/questions/18011902/py-test-pass-a-parameter-to-a-fixture-function
# Alternate solution is to use parametrization `indirect=True`
- # http://stackoverflow.com/a/33879151
+ # https://stackoverflow.com/questions/18011902/py-test-pass-a-parameter-to-a-fixture-function/33879151#33879151
# Syntax is noisy and requires specific variable names
# And seems to be limited to only 1 argument.
with io.open(filepath(filename), encoding=encoding) as f: