Fix lint/ci

This commit is contained in:
Florian Bruhin 2022-12-12 13:37:07 +01:00
parent af176f749f
commit bbdc83f638
4 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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"
}

View File

@ -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

View File

@ -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}