Skip to content

Commit e2fb14f

Browse files
authored
Update lint.yaml
1 parent 8726d63 commit e2fb14f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/lint.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Run linter
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
48

59
jobs:
610
lint:
@@ -20,4 +24,4 @@ jobs:
2024
run: |
2125
python -m pip install pytest black
2226
- name: Lint
23-
run: black .
27+
run: black .

0 commit comments

Comments
 (0)