From 60728ac84e59418ebe571f5b069d44b83e6ec206 Mon Sep 17 00:00:00 2001 From: symonk Date: Tue, 29 Aug 2023 21:16:12 +0100 Subject: [PATCH] [py]: Rename linting recipe to `linting-ci` for GHA --- .github/workflows/ci-python.yml | 4 +++- py/tox.ini | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 10f58695eee70..613d4aa4a8192 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -51,7 +51,9 @@ jobs: - name: Test with tox run: tox -c py/tox.ini env: - TOXENV: linting-check + # If this fails, it will exit. Local work should be using `tox -e linting` prior to committing. + # the linting-ci recipe exists solely for CI and will not attempt to rewrite any files in-place etc. + TOXENV: linting-ci mypy: name: Mypy diff --git a/py/tox.ini b/py/tox.ini index 12bb6319b8ff7..1c1671a100399 100644 --- a/py/tox.ini +++ b/py/tox.ini @@ -31,7 +31,7 @@ py_version=38 force_single_line = True -[testenv:linting-check] +[testenv:linting-ci] ; checks linting for CI with stricter exiting when failing. skip_install = true deps =