setup: add [dev] for pylint
continuous-integration/drone Build is passing Details
continuous-integration/drone/push Build is passing Details

master
pictuga 2021-12-04 14:26:40 +01:00
parent b600bbc256
commit 11bc9f643e
2 changed files with 5 additions and 2 deletions

View File

@ -11,5 +11,5 @@ steps:
image: alpine image: alpine
commands: commands:
- apk add --no-cache python3 py3-lxml py3-pip py3-wheel py3-enchant hunspell-en - 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 - pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8

View File

@ -14,7 +14,10 @@ setup(
license = 'AGPL v3', license = 'AGPL v3',
packages = [package_name], packages = [package_name],
install_requires = ['lxml', 'bs4', 'python-dateutil', 'chardet'], 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']}, package_data = {package_name: ['feedify.ini']},
data_files = [ data_files = [
('share/' + package_name, ['README.md', 'LICENSE']), ('share/' + package_name, ['README.md', 'LICENSE']),