Skip to content

Commit af22469

Browse files
pre-commit-ci[bot]Lulalaby
authored andcommitted
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent a45fdea commit af22469

File tree

5 files changed

+50
-50
lines changed

5 files changed

+50
-50
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Checks
22
on:
33
push:
44
pull_request:
5-
branches: [ master ]
5+
branches: [master]
66
workflow_dispatch:
77

88
concurrency:

.github/workflows/docs.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
name: Docs Tests
22

33
on:
4-
push:
5-
paths:
6-
- "docs/**"
7-
- "discord/**"
8-
- "test/**"
9-
- "requirements/**"
10-
pull_request:
11-
paths:
12-
- "docs/**"
13-
- "discord/**"
14-
- "test/**"
15-
- "requirements/**"
16-
schedule:
17-
- cron: "0 0 * * *"
18-
workflow_dispatch:
4+
push:
5+
paths:
6+
- "docs/**"
7+
- "discord/**"
8+
- "test/**"
9+
- "requirements/**"
10+
pull_request:
11+
paths:
12+
- "docs/**"
13+
- "discord/**"
14+
- "test/**"
15+
- "requirements/**"
16+
schedule:
17+
- cron: "0 0 * * *"
18+
workflow_dispatch:
1919

2020
jobs:
21-
docs:
22-
name: "Build Docs"
23-
runs-on: ubuntu-latest
24-
steps:
25-
- uses: actions/[email protected]
26-
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v4
28-
with:
29-
python-version: "3.8"
30-
cache: "pip"
31-
cache-dependency-path: "requirements/docs.txt"
32-
check-latest: true
33-
- name: Install dependencies
34-
run: |
35-
python -m pip install -U pip
36-
pip install ".[docs]"
37-
- name: Check Links
38-
if: github.event_name == 'schedule'
39-
run: |
40-
cd docs
41-
make linkcheck
42-
- name: Compile to html
43-
run: |
44-
cd docs
45-
make html
21+
docs:
22+
name: "Build Docs"
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/[email protected]
26+
- name: Set up Python ${{ matrix.python-version }}
27+
uses: actions/setup-python@v4
28+
with:
29+
python-version: "3.8"
30+
cache: "pip"
31+
cache-dependency-path: "requirements/docs.txt"
32+
check-latest: true
33+
- name: Install dependencies
34+
run: |
35+
python -m pip install -U pip
36+
pip install ".[docs]"
37+
- name: Check Links
38+
if: github.event_name == 'schedule'
39+
run: |
40+
cd docs
41+
make linkcheck
42+
- name: Compile to html
43+
run: |
44+
cd docs
45+
make html

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- "test/**"
99
- "requirements/**"
1010
pull_request:
11-
branches: [ master ]
11+
branches: [master]
1212
paths:
1313
- "docs/**"
1414
- "discord/**"

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ name: Unit Tests
33
on:
44
push:
55
paths:
6-
- "discord/**"
7-
- "test/**"
8-
- "requirements/**"
6+
- "discord/**"
7+
- "test/**"
8+
- "requirements/**"
99
pull_request:
10-
branches: [ master ]
10+
branches: [master]
1111
paths:
12-
- "discord/**"
13-
- "test/**"
14-
- "requirements/**"
12+
- "discord/**"
13+
- "test/**"
14+
- "requirements/**"
1515
schedule:
1616
- cron: "0 0 * * *"
1717
workflow_dispatch:

.github/workflows/todo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check TODO
33
on:
44
push:
55
pull_request:
6-
branches: [ master ]
6+
branches: [master]
77
workflow_dispatch:
88

99
jobs:

0 commit comments

Comments
 (0)