forked from mirrors/bookwyrm
Don't double-run black and pylint
This commit is contained in:
parent
0a7afdb1c0
commit
9e5536c7d5
2 changed files with 10 additions and 2 deletions
6
.github/workflows/black.yml
vendored
6
.github/workflows/black.yml
vendored
|
@ -1,6 +1,10 @@
|
||||||
name: Python Formatting (run ./bw-dev black to fix)
|
name: Python Formatting (run ./bw-dev black to fix)
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
6
.github/workflows/pylint.yml
vendored
6
.github/workflows/pylint.yml
vendored
|
@ -1,6 +1,10 @@
|
||||||
name: Pylint
|
name: Pylint
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Reference in a new issue