Skip to content

Delete tests directory #938

Delete tests directory

Delete tests directory #938

Workflow file for this run

name: "SENATOROV"

Check failure on line 1 in .github/workflows/blacken-docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/blacken-docs.yml

Invalid workflow file

you may only define one of `branches` and `branches-ignore` for a single event
permissions:
contents: write # Grant write access to the repository contents
on:
push:
branches:
- '**'
branches-ignore:
- 'refs/pull/**' # Игнорируем пуши, связанные с PR
schedule:
- cron: "0 0 * * *" # Run every day
workflow_dispatch:
create:
delete:
release:
issues:
jobs:
blacken-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install blacken-docs nbqa
- name: Blacken-docs
run: |
nbqa blacken-docs --nbqa-md --nbqa-diff $(git ls-files '*.py' '*.ipynb')