From 00590a5ab4ae20ba183c0bb707ed6b1724626c05 Mon Sep 17 00:00:00 2001 From: zhanglei Date: Thu, 4 Apr 2024 18:11:00 +0800 Subject: [PATCH] Improve CI --- .github/workflows/publish.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 243556d..f759558 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: python-version: "3.11" - name: Code Linting run: | - pip install poetry + pip install poetry make lint - name: Login to Docker Hub uses: docker/login-action@v1 diff --git a/Makefile b/Makefile index b8b144a..063dbd1 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ install: @poetry install lint: - @poetry install + @poetry install --with lint @poetry run black src @poetry run isort --profile black src @poetry run flake8 src