From c5345a0c7bc868c86b45ece580d04851c3481a59 Mon Sep 17 00:00:00 2001 From: Markus Hofbauer Date: Thu, 17 Nov 2022 18:35:06 +0100 Subject: [PATCH] Add opencv-python, hydra, ffmpeg to known modules https://pypi.org/project/opencv-contrib-python/ is a pre-built CPU-only OpenCV packages for Python https://hydra.cc/ is a framework for elegantly configuring complex applications --- src/flake8_requirements/checker.py | 2 +- src/flake8_requirements/modules.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/flake8_requirements/checker.py b/src/flake8_requirements/checker.py index 95ed9a0..d16aa93 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.4" +__version__ = "1.7.5" __license__ = "MIT" LOG = getLogger('flake8.plugin.requirements') diff --git a/src/flake8_requirements/modules.py b/src/flake8_requirements/modules.py index 0bd7aa2..902f8a0 100644 --- a/src/flake8_requirements/modules.py +++ b/src/flake8_requirements/modules.py @@ -571,6 +571,7 @@ "djangorestframework": ["rest_framework"], "enum34": ["enum"], "factory-boy": ["factory"], + "ffmpeg-python": ["ffmpeg"], "fluent-logger": ["fluent"], "gitpython": ["git"], "google-api-python-client": ["apiclient", "googleapiclient"], @@ -601,12 +602,15 @@ "grpcio-status": ["grpc_status"], "grpcio-testing": ["grpc_testing"], "grpcio-tools": ["grpc_tools"], + "hydra-core": ["hydra"], "ipython": ["IPython"], "jack-client": ["jack"], "kafka-python": ["kafka"], "lark-parser": ["lark"], "mysql-python": ["MySQLdb"], "mysqlclient": ["_mysql", "MySQLdb"], + "opencv-contrib-python": ["cv2"], + "opencv-contrib-python-headless": ["cv2"], "opencv-python": ["cv2"], "opencv-python-headless": ["cv2"], "opensearch-py": ["opensearchpy"],