fix: Refrains from using np.ndarray for nested objects #528
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-commit | |
on: | |
# Trigger manually | |
workflow_dispatch: | |
# Trigger on any push to the master | |
push: | |
branches: | |
- main | |
- development | |
# Trigger on any push to a PR that targets master | |
pull_request: | |
branches: | |
- main | |
- development | |
jobs: | |
run-all-files: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install pre-commit | |
run: | | |
pip install pre-commit | |
pre-commit install | |
- name: Run pre-commit | |
run: | | |
pre-commit run --all-files |