diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 0000000..118e975 --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,24 @@ +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