diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e741aed..911cc6d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,10 +67,10 @@ jobs: node-version: 16 - name: Check with ruff if: always() - run: hatch run style:lint + run: hatch run style:fix - name: Check with black + isort if: always() - run: hatch run style:format && git diff --exit-code + run: hatch run style:format && git diff --color --exit-code - name: Check with mypy if: always() run: hatch run types:check diff --git a/pyproject.toml b/pyproject.toml index 07a4a70d..008ff1e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,7 +104,7 @@ dependencies = [ [tool.hatch.envs.default.scripts] all = [ - "hatch run style:check", + "hatch run style:fix", "hatch run types:check", "hatch run test:test", "hatch run lint:check",