2018-08-18 18:42:42 +00:00
|
|
|
# Copyright (C) 2018 Luke Shumaker
|
2023-10-25 07:14:54 +00:00
|
|
|
# Copyright (C) 2023 Umorpha Systems
|
2018-08-18 18:42:42 +00:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2023-10-25 18:22:37 +00:00
|
|
|
shell_programs = osi-mk
|
|
|
|
shell_programs += osi-shell
|
|
|
|
shell_programs += osi-mount
|
|
|
|
shell_programs += osi-extract
|
|
|
|
|
|
|
|
python_programs = pacman-choices
|
|
|
|
|
2018-08-16 05:32:59 +00:00
|
|
|
lint:
|
2023-10-25 18:22:37 +00:00
|
|
|
git ls-files ':*.sh' $(shell_programs) |xargs shellcheck --exclude=SC2064 --
|
|
|
|
MYPYPATH=$$PWD/mypy-stubs mypy --strict $(python_programs)
|
|
|
|
black --check $(python_programs) mypy-stubs
|
|
|
|
isort --check $(python_programs) mypy-stubs
|
2023-10-25 07:14:54 +00:00
|
|
|
.PHONY: lint
|