From bbdc83f638ed1a8e263a3efac0da8a901c1a1420 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 12 Dec 2022 13:37:07 +0100 Subject: Fix lint/ci --- scripts/asciidoc2html.py | 2 +- scripts/dev/changelog_urls.json | 3 ++- scripts/mkvenv.py | 2 +- tox.ini | 1 + 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} -- cgit v1.2.3-54-g00ecf