From 31a771c019adc24c06f862b3ebfeb164ca2df914 Mon Sep 17 00:00:00 2001 From: "Xuan (Sean) Hu" Date: Wed, 9 Nov 2022 23:20:19 +0800 Subject: [PATCH] Add more known modules --- src/flake8_requirements/checker.py | 2 +- src/flake8_requirements/modules.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/flake8_requirements/checker.py b/src/flake8_requirements/checker.py index 7b9fe35..95ed9a0 100644 --- a/src/flake8_requirements/checker.py +++ b/src/flake8_requirements/checker.py @@ -18,7 +18,7 @@ from .modules import STDLIB_PY3 # NOTE: Changing this number will alter package version as well. -__version__ = "1.7.3" +__version__ = "1.7.4" __license__ = "MIT" LOG = getLogger('flake8.plugin.requirements') diff --git a/src/flake8_requirements/modules.py b/src/flake8_requirements/modules.py index b833ead..0bd7aa2 100644 --- a/src/flake8_requirements/modules.py +++ b/src/flake8_requirements/modules.py @@ -608,6 +608,7 @@ "mysql-python": ["MySQLdb"], "mysqlclient": ["_mysql", "MySQLdb"], "opencv-python": ["cv2"], + "opencv-python-headless": ["cv2"], "opensearch-py": ["opensearchpy"], "opentelemetry-api": ["opentelemetry"], "opentelemetry-exporter-otlp-proto-grpc": [ @@ -650,6 +651,7 @@ "opentelemetry-test-utils": ["opentelemetry.test"], "paho-mqtt": ["paho"], "pillow": ["PIL"], + "pillow-simd": ["PIL"], "pip-tools": ["piptools"], "progressbar2": ["progressbar"], "protobuf": ["google.protobuf"], @@ -681,6 +683,7 @@ "python-magic": ["magic"], "python-pptx": ["pptx"], "python-socketio": ["socketio"], + "pyturbojpeg": ["turbojpeg"], "pyyaml": ["yaml"], "scikit-fda": ["skfda"], "scikit-image": ["skimage"],