From a23eb74aa83e6fe60ea8f3dc890a54ed2ca8fa6b Mon Sep 17 00:00:00 2001 From: emdee Date: Tue, 13 Feb 2024 22:48:08 +0000 Subject: [PATCH] fixes --- Makefile | 3 ++- pyproject.toml | 4 ++-- qweechat/buffer.py | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d1283e7..14b99a1 100644 --- a/Makefile +++ b/Makefile @@ -28,8 +28,9 @@ MOD=qweechat all: check -check: lint test +check:: sh ${PYTHON_EXE_MSYS} -c "import ${MOD}" + sh ${PYTHON_EXE_MSYS} -c "from ${MOD} import config" lint:: flake8 pylint bandit diff --git a/pyproject.toml b/pyproject.toml index 9e84cb7..18210c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = 'qweechat' requires-python = ">= 3.7" description = "qtpy channel for qweechat" -keywords = ["qt", "console"] +keywords = ["qt", "console", "weechat"] classifiers = [ # How mature is this project? Common values are # 3 - Alpha @@ -48,5 +48,5 @@ readme = {file = ["README.md"]} dependencies = {file = ["requirements.txt"]} [tool.setuptools] -packages = ["qweechat"] +packages = ["qweechat", "qweechat.weechat"] diff --git a/qweechat/buffer.py b/qweechat/buffer.py index 9cca40e..7f918b8 100644 --- a/qweechat/buffer.py +++ b/qweechat/buffer.py @@ -31,7 +31,6 @@ from qweechat.chat import ChatTextEdit from qweechat.input import InputLineEdit from qweechat.weechat import color - class GenericListWidget(QtWidgets.QListWidget): """Generic QListWidget with dynamic size."""