Skip to content

Commit 64a06db

Browse files
committed
prettier -> pre-commit
1 parent fe0efae commit 64a06db

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
types: [published]
88
schedule:
99
# Daily at 8:33
10-
- cron: '33 8 * * *'
10+
- cron: "33 8 * * *"
1111

1212
jobs:
1313
pre-commit:

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
hooks:
1818
- id: isort
1919
- repo: https://github.com/pycqa/flake8
20-
rev: '5.0.4'
20+
rev: "5.0.4"
2121
hooks:
2222
- id: flake8
2323
- repo: https://github.com/asottile/pyupgrade
@@ -30,3 +30,7 @@ repos:
3030
- name: black
3131
id: black
3232
args: ["--line-length", "79"]
33+
- repo: https://github.com/pre-commit/mirrors-prettier
34+
rev: "v3.0.0-alpha.4"
35+
hooks:
36+
- id: prettier

0 commit comments

Comments
 (0)