24 lines
583 B
YAML
24 lines
583 B
YAML
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
|