Skip to content

Commit

Permalink
Implementing pre-commit.ci (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue authored Jan 11, 2023
1 parent fac3493 commit 6489a2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ concurrency:

jobs:

code-style:
name: Code style
runs-on: ubuntu-latest
steps:
- name: "Run PyAnsys code style checks"
uses: pyansys/actions/code-style@v2
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-python-cache: 'pip'

doc-style:
name: "Running documentation style checks"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -81,7 +71,6 @@ jobs:

build-library:
name: "Smoke test and building"
needs: code-style
runs-on: ubuntu-latest
steps:
- name: "Build library source and wheel artifacts"
Expand Down Expand Up @@ -152,4 +141,4 @@ jobs:
uses: pyansys/actions/doc-deploy-stable@v2
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PyTwin
======
|pyansys| |python| |pypi| |codecov| |GH-CI| |MIT| |black|
|pyansys| |python| |pypi| |codecov| |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/
Expand Down Expand Up @@ -30,6 +30,10 @@ PyTwin
:target: https://github.com/psf/black
:alt: Black

.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/pyansys/pytwin/main.svg
:target: https://results.pre-commit.ci/latest/github/pyansys/pytwin/main
:alt: pre-commit.ci status

Overview
--------
PyTwin is a Python package that eases `Ansys Digital Twins`_ consumption workflows.
Expand Down

0 comments on commit 6489a2b

Please sign in to comment.