summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-12-12 13:37:07 +0100
committerFlorian Bruhin <me@the-compiler.org>2022-12-12 13:37:07 +0100
commitbbdc83f638ed1a8e263a3efac0da8a901c1a1420 (patch)
tree40b97b98177f3a06c9f6480524fce9f82c6ffa45
parentaf176f749fd7f5521d3978e268a1fad169ac2bd4 (diff)
downloadqutebrowser-bbdc83f638ed1a8e263a3efac0da8a901c1a1420.tar.gz
qutebrowser-bbdc83f638ed1a8e263a3efac0da8a901c1a1420.zip
Fix lint/ci
-rwxr-xr-xscripts/asciidoc2html.py2
-rw-r--r--scripts/dev/changelog_urls.json3
-rwxr-xr-xscripts/mkvenv.py2
-rw-r--r--tox.ini1
4 files changed, 5 insertions, 3 deletions
diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py
index 560faa0cd..6f3b170af 100755
--- a/scripts/asciidoc2html.py
+++ b/scripts/asciidoc2html.py
@@ -20,7 +20,7 @@
"""Generate the html documentation based on the asciidoc files."""
-from typing import List, Optional
+from typing import Optional
import re
import os
import sys
diff --git a/scripts/dev/changelog_urls.json b/scripts/dev/changelog_urls.json
index 53d8d4845..7ad9328d9 100644
--- a/scripts/dev/changelog_urls.json
+++ b/scripts/dev/changelog_urls.json
@@ -155,5 +155,6 @@
"ply": "https://github.com/dabeaz/ply/blob/master/CHANGES",
"pyobjc-core": "https://pyobjc.readthedocs.io/en/latest/changelog.html",
"pyobjc-framework-Cocoa": "https://pyobjc.readthedocs.io/en/latest/changelog.html",
- "trove-classifiers": "https://github.com/pypa/trove-classifiers/commits/main"
+ "trove-classifiers": "https://github.com/pypa/trove-classifiers/commits/main",
+ "asciidoc": "https://asciidoc-py.github.io/CHANGELOG.html"
}
diff --git a/scripts/mkvenv.py b/scripts/mkvenv.py
index 6b37bc9cb..08174abc4 100755
--- a/scripts/mkvenv.py
+++ b/scripts/mkvenv.py
@@ -31,7 +31,7 @@ import shutil
import venv as pyvenv
import subprocess
import platform
-from typing import List, Optional, Tuple, Dict, Union
+from typing import List, Tuple, Dict, Union
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
from scripts import utils, link_pyqt
diff --git a/tox.ini b/tox.ini
index f9c7aab45..14ad03caa 100644
--- a/tox.ini
+++ b/tox.ini
@@ -159,6 +159,7 @@ whitelist_externals = git
passenv = CI GITHUB_REF
deps =
-r{toxinidir}/requirements.txt
+ -r{toxinidir}/misc/requirements/requirements-docs.txt
-r{toxinidir}/misc/requirements/requirements-pyqt.txt
commands =
{envpython} scripts/dev/src2asciidoc.py {posargs}