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

Implemeting pre-commit.ci #198

Merged
merged 2 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
16 changes: 1 addition & 15 deletions .github/workflows/testing-and-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@ concurrency:
cancel-in-progress: true

jobs:
stylecheck:
name: Style Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )

doc_build:
name: Build Documentation
runs-on: ubuntu-latest
Expand Down Expand Up @@ -262,7 +248,7 @@ jobs:

Release:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
needs: [stylecheck, doc_build, build, mac_build]
needs: [doc_build, build, mac_build]
runs-on: ubuntu-latest
steps:
- name: Set up Python
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
======================================================
PyMAPDL Reader - Legacy Binary and Archive File Reader
======================================================
|pyansys| |pypi| |PyPIact| |GH-CI| |codecov| |MIT| |black|
|pyansys| |pypi| |PyPIact| |GH-CI| |codecov| |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 All @@ -26,6 +26,9 @@ PyMAPDL Reader - Legacy Binary and Archive File Reader
:target: https://github.com/psf/black
:alt: black

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

This is the legacy module for reading in binary and ASCII files
generated from MAPDL.
Expand Down