qweechat/Makefile

35 lines
1014 B
Makefile
Raw Normal View History

2021-11-13 15:50:21 +00:00
#
2022-01-12 22:52:09 +00:00
# Copyright (C) 2021-2022 Sébastien Helleu <flashcode@flashtux.org>
2021-11-13 15:50:21 +00:00
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
# QWeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# QWeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
all: check
check: lint test
lint: flake8 pylint bandit
flake8:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --statistics
pylint:
pylint qweechat
bandit:
bandit -r qweechat