summaryrefslogtreecommitdiff
path: root/scripts/dev/misc_checks.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-26 15:16:36 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-26 15:19:01 +0100
commit1a4fff1a4216d4d2736621527e2ff6c744ab6656 (patch)
treee31c962c150353f37826c276f50c7d6530d022ed /scripts/dev/misc_checks.py
parenteeb26a6aa8e9ddc7b48d656ea93dea987ee88c79 (diff)
downloadqutebrowser-1a4fff1a4216d4d2736621527e2ff6c744ab6656.tar.gz
qutebrowser-1a4fff1a4216d4d2736621527e2ff6c744ab6656.zip
doc: Switch URLs to https
Diffstat (limited to 'scripts/dev/misc_checks.py')
-rw-r--r--scripts/dev/misc_checks.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/dev/misc_checks.py b/scripts/dev/misc_checks.py
index 4b137d93c..ae766c878 100644
--- a/scripts/dev/misc_checks.py
+++ b/scripts/dev/misc_checks.py
@@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
+# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>.
"""Various small code checkers."""
@@ -218,6 +218,10 @@ def check_spelling(args: argparse.Namespace) -> Optional[bool]:
re.compile(r'attr\.(s|ib)($|\()'),
"attrs have been replaced by dataclasses in qutebrowser.",
),
+ (
+ re.compile(r'http://www\.gnu\.org/licenses/'),
+ "use https:// URL.",
+ ),
]
# Files which should be ignored, e.g. because they come from another