Skip to content

Refactor: Add the _prepare_yml method to AbstractCode #9694

Refactor: Add the _prepare_yml method to AbstractCode

Refactor: Add the _prepare_yml method to AbstractCode #9694

Workflow file for this run

name: ci-style
on:
push:
branches-ignore: [gh-pages]
pull_request:
branches-ignore: [gh-pages]
env:
FORCE_COLOR: 1
jobs:
pre-commit:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install python dependencies
uses: ./.github/actions/install-aiida-core
with:
python-version: '3.11'
extras: '[pre-commit]'
from-requirements: 'false'
- name: Run pre-commit
run: pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )