Add documentation #106
Workflow file for this run
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
# | |
# Distributed Linear Algebra with Future (DLAF) | |
# | |
# Copyright (c) 2018-2024, ETH Zurich | |
# All rights reserved. | |
# | |
# Please, refer to the LICENSE file in the root directory. | |
# SPDX-License-Identifier: BSD-3-Clause | |
# | |
name: format | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install fprettify | |
- name: Run fprettify | |
run: | | |
fprettify -d -r . | |
[[ -z $(fprettify -d -r .) ]] && exit 0 || exit 1 |