feat: support for similar function #23
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
name: guts-ci | |
on: | |
# This should run on a push to any branch except main, gh-pages, and binoc | |
push: | |
branches-ignore: | |
- main | |
- gh-pages | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup black linter | |
run: conda create --quiet --name black pyflakes | |
- name: Check Spelling | |
uses: crate-ci/typos@592b36d23c62cb378f6097a292bc902ee73f93ef # version 1.0.4 | |
with: | |
files: ./docs/getting_started/ ./docs/index.rst | |
- name: Lint and format Python code | |
run: | | |
export PATH="/usr/share/miniconda/bin:$PATH" | |
source activate black | |
pip install -r .github/dev-requirements.txt | |
pre-commit run --all-files |