This repository has been archived on 2024-06-02. You can view files and clone it, but cannot push or open issues or pull requests.
spud-py/Taskfile.yml

25 lines
583 B
YAML
Raw Permalink Normal View History

version: '3'
tasks:
lock-deps:
desc: 'Generates dependency lockfiles.'
cmd: . script/lock-deps.sh
lint:
desc: 'Checks all Python source files for linting problems.'
cmd: pylint **/*.py
isort:
desc: 'Checks imports for sorting problems.'
cmd: isort . --check
isort-fix:
desc: 'Sorts imports'
cmd: isort .
format:
desc: 'Checks all Python source files for formatting problems.'
cmd: black . --check
format-fix:
desc: 'Resolves formatting problems.'
cmd: black .
test:
desc: 'Runs test suites.'
cmd: pytest . -s -v