Skip to content

Commit 34721c4

Browse files
committed
style(workflows): update name values, formatting, comments
1 parent 80a56c9 commit 34721c4

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

Diff for: .github/workflows/codeql-analysis.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
name: "CodeQL"
1+
name: Code scanning with CodeQL
72

83
on:
94
push:
@@ -18,7 +13,6 @@ jobs:
1813
analyze:
1914
name: Analyze
2015
runs-on: ubuntu-latest
21-
2216
strategy:
2317
fail-fast: false
2418
matrix:

Diff for: .github/workflows/format_check.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Code Format Check
1+
name: Code format and style check
22

33
on:
44
push:
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
black:
1212
runs-on: ubuntu-latest
13-
name: Black
13+
name: Black code formatter
1414
steps:
1515
- uses: actions/[email protected]
1616
with:
@@ -19,12 +19,12 @@ jobs:
1919
uses: actions/[email protected]
2020
with:
2121
python-version: '3.9'
22-
- name: Black
22+
- name: Check code format
2323
uses: psf/[email protected] # already includes args "--check --diff"
2424

2525
flake8:
2626
runs-on: ubuntu-latest
27-
name: Flake8
27+
name: Flake8 linter
2828
steps:
2929
- uses: actions/[email protected]
3030
with:
@@ -45,9 +45,10 @@ jobs:
4545
run: flake8 tests --show-source
4646
- name: Lint moviepy
4747
run: flake8 moviepy --show-source
48+
4849
isort:
4950
runs-on: ubuntu-latest
50-
name: isort
51+
name: isort import sorter
5152
steps:
5253
- uses: actions/[email protected]
5354
with:
@@ -60,5 +61,5 @@ jobs:
6061
run: |
6162
python -m pip install --upgrade pip
6263
pip install isort
63-
- name: Check imports
64+
- name: Check import order
6465
run: isort --check-only moviepy tests examples docs/conf.py scripts

Diff for: .github/workflows/test_suite.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
1+
# This workflow installs Python dependencies, runs tests and lints
2+
# using a variety of Python versions.
3+
# For more information see:
4+
# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
35

46
name: Run Test Suite
57

@@ -10,7 +12,7 @@ on:
1012
pull_request:
1113

1214
jobs:
13-
# Uses Python Framework build because on macos matplotlib requires it
15+
# Uses Python Framework build because on macOS matplotlib requires it
1416
macos:
1517
runs-on: macos-latest
1618
strategy:
@@ -21,15 +23,18 @@ jobs:
2123
- uses: s-weigand/setup-conda@v1
2224
with:
2325
activate-conda: true
26+
2427
- name: Install pythonw
2528
run: conda install python.app
29+
2630
- name: Python Version Info
2731
run: |
2832
pythonw --version
2933
which python
3034
pythonw -m site --user-site
3135
echo $PYTHONPATH
3236
echo $PYTHONHOME
37+
3338
- name: Install dependencies
3439
run: |
3540
brew install imagemagick
@@ -122,6 +127,7 @@ jobs:
122127
fail-fast: false
123128
steps:
124129
- uses: actions/[email protected]
130+
125131
- name: Set up Python ${{ matrix.python-version }}
126132
uses: actions/[email protected]
127133
with:

0 commit comments

Comments
 (0)