Skip to content

Commit

Permalink
Merge pull request #227 from pyiron/black
Browse files Browse the repository at this point in the history
Update black action
  • Loading branch information
jan-janssen authored Nov 24, 2023
2 parents 6dff02b + a03dffd commit 2e6af66
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
# This workflow is used to check the differences and find conflict markers or whitespace errors

name: Black

Expand All @@ -14,19 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/[email protected]
- uses: psf/black@stable
with:
python-version: '3.11'
mamba-version: "*"
channels: conda-forge
miniforge-variant: Mambaforge
channel-priority: strict
auto-update-conda: true
environment-file: .ci_support/environment-openmpi.yml
- name: Setup
shell: bash -l {0}
run: |
conda install -c conda-forge black
- name: Test
shell: bash -l {0}
run: black --check pympipool
options: "--check --diff"
src: ./${{ github.event.repository.name }}

0 comments on commit 2e6af66

Please sign in to comment.