diff --git a/Makefile b/Makefile deleted file mode 100644 index 5ddcb65..0000000 --- a/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -.venv: - python3 -m pip install poetry - python3 -m poetry install --with github - -lint: .venv - python3 -m poetry run ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py37 . - python3 -m poetry run ruff check --output-format=github --target-version=py37 . diff --git a/Taskfile.yaml b/Taskfile.yaml new file mode 100644 index 0000000..2d8b76a --- /dev/null +++ b/Taskfile.yaml @@ -0,0 +1,12 @@ +version: 3 +tasks: + python:lint: + desc: Lint Python files + cmds: + - poetry run ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py39 . + - poetry run ruff check --output-format=github --target-version=py39 . + + docker:build: + desc: Build the container using Docker + cmds: + - docker build . -t smsbot:latest \ No newline at end of file