Skip to content

Commit 00f0a8b

Browse files
Update pre-commit (#55)
1 parent 20b2282 commit 00f0a8b

File tree

3 files changed

+28
-26
lines changed

3 files changed

+28
-26
lines changed

.pre-commit-config.yaml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,40 @@
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.3.0
6+
rev: v4.4.0
77
hooks:
8-
- id: trailing-whitespace
9-
- id: end-of-file-fixer
10-
- id: debug-statements
8+
- id: check-added-large-files
119
- id: check-ast
12-
- id: mixed-line-ending
13-
- id: check-yaml
14-
args: [--allow-multiple-documents]
10+
- id: check-builtin-literals
11+
- id: check-case-conflict
1512
- id: check-json
1613
- id: check-toml
17-
- id: check-added-large-files
14+
- id: check-yaml
15+
args: [--allow-multiple-documents]
16+
- id: debug-statements
17+
- id: end-of-file-fixer
18+
- id: mixed-line-ending
19+
- id: trailing-whitespace
1820

1921
- repo: https://github.com/psf/black
20-
rev: 22.6.0
22+
rev: 23.1.0
2123
hooks:
2224
- id: black
2325

26+
- repo: https://github.com/asottile/blacken-docs
27+
rev: v1.12.1
28+
hooks:
29+
- id: blacken-docs
30+
2431
- repo: https://github.com/pre-commit/mirrors-prettier
2532
rev: v2.7.1
2633
hooks:
2734
- id: prettier
28-
files: \.(md|yml|yaml)
35+
files: \.(css|md|yml|yaml)
2936
args: [--prose-wrap=preserve]
3037

31-
- repo: https://github.com/asottile/blacken-docs
32-
rev: v1.12.1
33-
hooks:
34-
- id: blacken-docs
35-
3638
- repo: https://github.com/asottile/pyupgrade
37-
rev: v2.37.1
39+
rev: v3.3.1
3840
hooks:
3941
- id: pyupgrade
4042
args: [--py38-plus]

assets/css/custom.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.hero-title-content {
2-
display: flex;
3-
flex-direction: row;
4-
width: 100%;
5-
max-width: 1200px;
6-
margin: 2vh auto;
7-
justify-content: space-around;
2+
display: flex;
3+
flex-direction: row;
4+
width: 100%;
5+
max-width: 1200px;
6+
margin: 2vh auto;
7+
justify-content: space-around;
88
}
99

10-
img[alt*=socials]{
11-
height: 25px;
12-
margin-right: 5px;
10+
img[alt*="socials"] {
11+
height: 25px;
12+
margin-right: 5px;
1313
}

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pre-commit>=2.20
1+
pre-commit>=3.3.2

0 commit comments

Comments
 (0)