Skip to content

Commit 2f7f8ad

Browse files
authored
chore: address feedback
Rename the GitHub action file to be more clear on its intention. Change the order of the linter checks to align with the order used in the pre commit config file.
1 parent ac3b45a commit 2f7f8ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pythonapp.yml renamed to .github/workflows/python-ci-checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
python -m pip install --upgrade pip
1919
# Install all necessary packages, including dev dependencies.
2020
pip install -e ."[dev]"
21+
- name: Check format with black
22+
run: |
23+
# Check all python files to see if black would format them.
24+
# If black would format them, then the check fails.
25+
black --check **/*.py
2126
- name: Lint with flake8
2227
run: |
2328
# exit-zero treats all errors as warnings.
2429
flake8 .
2530
- name: Test with unittest
2631
run: |
2732
python -m unittest discover -s tests/
28-
- name: Check format with black
29-
run: |
30-
# Check all python files to see if black would format them.
31-
# If black would format them, then the check fails.
32-
black --check **/*.py

0 commit comments

Comments
 (0)