This commit is contained in:
emdee 2024-02-13 22:48:08 +00:00
parent 38d82dfc82
commit a23eb74aa8
3 changed files with 4 additions and 4 deletions

View file

@ -28,8 +28,9 @@ MOD=qweechat
all: check all: check
check: lint test check::
sh ${PYTHON_EXE_MSYS} -c "import ${MOD}" sh ${PYTHON_EXE_MSYS} -c "import ${MOD}"
sh ${PYTHON_EXE_MSYS} -c "from ${MOD} import config"
lint:: flake8 pylint bandit lint:: flake8 pylint bandit

View file

@ -2,7 +2,7 @@
name = 'qweechat' name = 'qweechat'
requires-python = ">= 3.7" requires-python = ">= 3.7"
description = "qtpy channel for qweechat" description = "qtpy channel for qweechat"
keywords = ["qt", "console"] keywords = ["qt", "console", "weechat"]
classifiers = [ classifiers = [
# How mature is this project? Common values are # How mature is this project? Common values are
# 3 - Alpha # 3 - Alpha
@ -48,5 +48,5 @@ readme = {file = ["README.md"]}
dependencies = {file = ["requirements.txt"]} dependencies = {file = ["requirements.txt"]}
[tool.setuptools] [tool.setuptools]
packages = ["qweechat"] packages = ["qweechat", "qweechat.weechat"]

View file

@ -31,7 +31,6 @@ from qweechat.chat import ChatTextEdit
from qweechat.input import InputLineEdit from qweechat.input import InputLineEdit
from qweechat.weechat import color from qweechat.weechat import color
class GenericListWidget(QtWidgets.QListWidget): class GenericListWidget(QtWidgets.QListWidget):
"""Generic QListWidget with dynamic size.""" """Generic QListWidget with dynamic size."""