From dc9741fe0dbc2b92c09465218cbd5cbd7bdec838 Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela Date: Wed, 11 Jan 2023 11:29:36 +0100 Subject: [PATCH 1/3] Removing pre-commit from CI/CD workflow --- .github/workflows/ci_cd.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 2bd7c77d..83968ac6 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -23,18 +23,6 @@ env: jobs: - style: - name: Code style - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: 3.7 - - name: Run code style - run: make style - docs-style: name: Documentation Style Check runs-on: ubuntu-latest From d77edc2194720a2ddd6604813c5b8e8e841b8daa Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela Date: Wed, 11 Jan 2023 11:30:25 +0100 Subject: [PATCH 2/3] Including badge in main README --- README.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 8b998464..23ffa1fe 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,6 @@ PyFluent Visualization ====================== -|pyansys| |pypi| |GH-CI| |MIT| |black| +|pyansys| |pypi| |GH-CI| |MIT| |black| |pre-commit| .. |pyansys| image:: https://img.shields.io/badge/Py-Ansys-ffc107.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABDklEQVQ4jWNgoDfg5mD8vE7q/3bpVyskbW0sMRUwofHD7Dh5OBkZGBgW7/3W2tZpa2tLQEOyOzeEsfumlK2tbVpaGj4N6jIs1lpsDAwMJ278sveMY2BgCA0NFRISwqkhyQ1q/Nyd3zg4OBgYGNjZ2ePi4rB5loGBhZnhxTLJ/9ulv26Q4uVk1NXV/f///////69du4Zdg78lx//t0v+3S88rFISInD59GqIH2esIJ8G9O2/XVwhjzpw5EAam1xkkBJn/bJX+v1365hxxuCAfH9+3b9/+////48cPuNehNsS7cDEzMTAwMMzb+Q2u4dOnT2vWrMHu9ZtzxP9vl/69RVpCkBlZ3N7enoDXBwEAAA+YYitOilMVAAAAAElFTkSuQmCC :target: https://docs.pyansys.com/ @@ -22,6 +22,10 @@ PyFluent Visualization :target: https://github.com/psf/black :alt: Black +.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/pyansys/pyfluent-visualization/main.svg + :target: https://results.pre-commit.ci/latest/github/pyansys/pyfluent-visualization/main + :alt: pre-commit.ci status + Overview -------- PyFluent-Visualization provides postprocessing and visualization From 8267399976246949e74c52ab0db41cfd51d0bda2 Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela Date: Wed, 11 Jan 2023 11:39:06 +0100 Subject: [PATCH 3/3] Typo - missing stage to be adapted --- .github/workflows/ci_cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 83968ac6..3c8172bb 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -162,7 +162,7 @@ jobs: build: name: Build library - needs: [style, tests, docs] + needs: [tests, docs] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3