Skip to content

Commit 4273316

Browse files
[CI] Code style is checked with black (#15)
* Reformatting (black) * [CI] Check code style with black
1 parent 7774e0a commit 4273316

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/package-verification.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,16 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
python -m pip install flake8 flake8-pyproject ruff
30+
python -m pip install flake8 flake8-pyproject ruff black
3131
- name: Lint with flake8
3232
run: |
3333
flake8 .
3434
- name: Lint with ruff
3535
run: |
3636
ruff check .
37+
- name: Check with black
38+
run: |
39+
black --check .
3740
3841
test:
3942
runs-on: ubuntu-latest

tests/units/exceptions/Exception/test_set001__research.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
class TestSet002__usage:
42
def test_000__research(self):
53
e = Exception("a\n1")

0 commit comments

Comments
 (0)