Skip to content

Commit

Permalink
Switch to black CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
PapyChacal committed Apr 23, 2023
1 parent c1d91c7 commit f2eb839
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: yapf formatting
name: black formatting

on:
# Trigger the workflow on push or pull request,
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements-optional.txt
- name: Check format with yapf
- name: Check format with black
run: |
# Returns en error code if the files are not formatted
yapf --diff -r .
black --diff --color --check .
2 changes: 1 addition & 1 deletion requirements-optional.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
yapf<0.34
black
toml<0.11
pytest-cov
coverage<8.0.0
Expand Down

0 comments on commit f2eb839

Please sign in to comment.