master
emdee 3 months ago
parent 38d82dfc82
commit a23eb74aa8

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

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

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

Loading…
Cancel
Save