Skip to content

Commit fd30e5f

Browse files
committed
Add and update hooks
1 parent 8316487 commit fd30e5f

8 files changed

Lines changed: 34 additions & 6 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ updates:
1010
pip:
1111
patterns:
1212
- "*"
13+
cooldown:
14+
default-days: 7
1315

1416
- package-ecosystem: "github-actions"
1517
directory: "/"
@@ -21,3 +23,5 @@ updates:
2123
actions:
2224
patterns:
2325
- "*"
26+
cooldown:
27+
default-days: 7

.github/zizmor.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# https://docs.zizmor.sh/configuration/
2+
rules:
3+
unpinned-uses:
4+
config:
5+
policies:
6+
"*": ref-pin

.pre-commit-config.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,33 @@ repos:
55
- id: python-check-blanket-noqa
66

77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.5.0
8+
rev: v6.0.0
99
hooks:
1010
- id: check-added-large-files
1111
- id: check-case-conflict
1212
- id: check-merge-conflict
1313
- id: check-json
1414
- id: check-yaml
1515
- id: debug-statements
16+
- id: end-of-file-fixer
1617
- id: forbid-submodules
18+
- id: trailing-whitespace
19+
20+
- repo: https://github.com/python-jsonschema/check-jsonschema
21+
rev: 0.36.0
22+
hooks:
23+
- id: check-dependabot
24+
- id: check-github-workflows
25+
26+
- repo: https://github.com/rhysd/actionlint
27+
rev: v1.7.10
28+
hooks:
29+
- id: actionlint
30+
31+
- repo: https://github.com/woodruffw/zizmor-pre-commit
32+
rev: v1.19.0
33+
hooks:
34+
- id: zizmor
1735

1836
- repo: meta
1937
hooks:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,4 @@
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201201
limitations under the License.
202-
202+

static/fonts/fontawesome-webfont.svg

Lines changed: 1 addition & 1 deletion
Loading

templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ <h5 class="my-0 mr-md-auto font-weight-normal"><a href="/howto">How do I use Blu
5353
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
5454
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
5555
</body>
56-
</html>
56+
</html>

templates/error.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
<h1>{{ status }}</h1>
66
<h1> {{ error_message }}</h1>
7-
{% endblock %}
7+
{% endblock %}

templates/howto.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
</ol>
1919
</div>
2020

21-
{% endblock %}
21+
{% endblock %}

0 commit comments

Comments
 (0)