Skip to content

Commit 1e65b89

Browse files
committed
📝 Add html_favicon
Update .pre-commit-config.yaml
1 parent d822945 commit 1e65b89

9 files changed

+34
-54
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: github-actions
5+
directory: /
6+
schedule:
7+
interval: monthly
8+
- package-ecosystem: gitsubmodule
9+
directory: /
10+
schedule:
11+
interval: monthly

.pre-commit-config.yaml

100755100644
Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env -S pre-commit run -ac
21
---
32
repos:
43
- repo: https://github.com/pre-commit/pre-commit-hooks
@@ -23,31 +22,31 @@ repos:
2322
- id: check-toml
2423
- id: check-json
2524
- repo: https://github.com/Lucas-C/pre-commit-hooks
26-
rev: v1.3.1
25+
rev: v1.4.2
2726
hooks:
2827
- id: remove-crlf
2928
- repo: https://github.com/codespell-project/codespell
30-
rev: v2.2.2
29+
rev: v2.2.4
3130
hooks:
3231
- id: codespell
3332
additional_dependencies:
3433
- tomli
3534
- repo: https://github.com/jorisroovers/gitlint
36-
rev: v0.18.0
35+
rev: v0.19.1
3736
hooks:
3837
- id: gitlint
3938
args:
4039
- --msg-filename
4140
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
42-
rev: 2.6.2
41+
rev: 2.7.1
4342
hooks:
4443
- id: editorconfig-checker
4544
- repo: https://github.com/jumanjihouse/pre-commit-hooks
4645
rev: 3.0.0
4746
hooks:
4847
- id: check-mailmap
4948
- repo: https://github.com/adrienverge/yamllint
50-
rev: v1.28.0
49+
rev: v1.29.0
5150
hooks:
5251
- id: yamllint
5352
- repo: https://github.com/executablebooks/mdformat
@@ -70,32 +69,41 @@ repos:
7069
- id: markdownlint-cli2
7170
additional_dependencies:
7271
72+
- repo: https://github.com/Freed-Wu/pre-commit-hooks
73+
rev: 0.0.10
74+
hooks:
75+
- id: update-CITATION.cff
76+
- id: update-pyproject.toml
77+
- repo: https://github.com/perltidy/perltidy
78+
rev: "20230309"
79+
hooks:
80+
- id: perltidy
7381
- repo: https://github.com/psf/black
74-
rev: 22.12.0
82+
rev: 23.1.0
7583
hooks:
7684
- id: black
7785
- repo: https://github.com/PyCQA/isort
78-
rev: 5.11.4
86+
rev: 5.12.0
7987
hooks:
8088
- id: isort
8189
- repo: https://github.com/pycqa/pydocstyle
82-
rev: 6.1.1
90+
rev: 6.3.0
8391
hooks:
8492
- id: pydocstyle
8593
additional_dependencies:
86-
- toml
94+
- tomli
8795
- repo: https://github.com/kumaraditya303/mirrors-pyright
88-
rev: v1.1.286
96+
rev: v1.1.298
8997
hooks:
9098
- id: pyright
9199
- repo: https://github.com/PyCQA/bandit
92-
rev: 1.7.4
100+
rev: 1.7.5
93101
hooks:
94102
- id: bandit
95103
args:
96104
- -cpyproject.toml
97105
additional_dependencies:
98-
- toml
106+
- tomli
99107
ci:
100108
skip:
101109
- pyright

CITATION.cff

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env -S scripts/generate-CITATION.cff.pl pyproject.toml
21
---
32
cff-version: 1.2.0
43
message: If you use this software, please cite it as below.

Makefile

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@
5151
# relative to this directory. They are copied after the builtin static files,
5252
# so a file named "default.css" will overwrite the builtin "default.css".
5353
# html_static_path = ["_static"]
54+
html_favicon = "https://wakatime.com/favicon.ico"

pyproject.toml

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env -S make -B
21
[build-system]
32
requires = ["setuptools >= 45", "setuptools_scm[toml] >= 6.2", "setuptools-generate"]
43
build-backend = "setuptools.build_meta"

scripts/generate-CITATION.cff.pl

Lines changed: 0 additions & 9 deletions
This file was deleted.

scripts/generate-api.md.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env -S perl -n
2-
$. = 1 unless $#ARGV == $oldargc;
2+
$. = 1 unless $#ARGV == $oldargc;
33
$oldargc = $#ARGV;
44
next unless $. == 1;
55
$_ = $ARGV;

scripts/generate-pyproject.toml.pl

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)