From 11bc9f643e2a295a9381356bd4312833f91c4fa9 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 4 Dec 2021 14:26:40 +0100 Subject: [PATCH] setup: add [dev] for pylint --- .drone.yml | 2 +- setup.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0293338..6eec5ea 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,5 +11,5 @@ steps: image: alpine commands: - apk add --no-cache python3 py3-lxml py3-pip py3-wheel py3-enchant hunspell-en - - pip3 install --no-cache-dir .[full] + - pip3 install --no-cache-dir .[full] .[dev] - pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8 diff --git a/setup.py b/setup.py index 78aa2c8..7490459 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,10 @@ setup( license = 'AGPL v3', packages = [package_name], install_requires = ['lxml', 'bs4', 'python-dateutil', 'chardet'], - extras_require = {'full': ['pymysql', 'redis', 'diskcache', 'gunicorn']}, + extras_require = { + 'full': ['pymysql', 'redis', 'diskcache', 'gunicorn'], + 'dev': ['pylint'] + }, package_data = {package_name: ['feedify.ini']}, data_files = [ ('share/' + package_name, ['README.md', 'LICENSE']),