Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing pre-commit.ci #57

Merged
merged 3 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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