From 273a9e43b11fd451e3dde17cb3f42aa7330a7f1a Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno Date: Thu, 26 Sep 2024 11:21:50 +0200 Subject: [PATCH] CI: exclude test/files from pyupgrade --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 908c57881..8967a5b66 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -115,7 +115,7 @@ jobs: - run: pytest - run: flake8 - run: /github/home/.local/bin/ruff check . - - run: find . -name '*.py' | xargs /github/home/.local/bin/pyupgrade --py38-plus + - run: find . -not -path "test/files/*" -name '*.py' | xargs /github/home/.local/bin/pyupgrade --py38-plus - run: python3 -m cProfile -o profile.stats lint.py -V test/source/* test/binary/* > /dev/null - run: python3 test/dump_stats.py profile.stats - name: Collect the coveralls report