Skip to content

Commit 4bb9925

Browse files
committed
Add a pre-commit hook configuration to check YAML and whitespace.
These are minor, but avoids those coming up during reviews at all.
1 parent 7366962 commit 4bb9925

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ repos:
1111
rev: latest
1212
hooks:
1313
- id: reuse
14+
- repo: https://github.com/pre-commit/pre-commit-hooks
15+
rev: v2.3.0
16+
hooks:
17+
- id: check-yaml
18+
- id: end-of-file-fixer
19+
- id: trailing-whitespace

CODE_OF_CONDUCT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Examples of unacceptable behavior by participants include:
4949

5050
The goal of the standards and moderation guidelines outlined here is to build
5151
and maintain a respectful community. We ask that you don’t just aim to be
52-
"technically unimpeachable", but rather try to be your best self.
52+
"technically unimpeachable", but rather try to be your best self.
5353

5454
We value many things beyond technical expertise, including collaboration and
5555
supporting others within our community. Providing a positive experience for
@@ -80,9 +80,9 @@ You may report in the following ways:
8080
In any situation, you may send an email to <[email protected]>.
8181

8282
On the Adafruit Discord, you may send an open message from any channel
83-
to all Community Moderators by tagging @community moderators. You may
84-
also send an open message from any channel, or a direct message to
85-
@kattni#1507, @tannewt#4653, @Dan Halbert#1614, @cater#2442,
83+
to all Community Moderators by tagging @community moderators. You may
84+
also send an open message from any channel, or a direct message to
85+
@kattni#1507, @tannewt#4653, @Dan Halbert#1614, @cater#2442,
8686
@sommersoft#0222, @Mr. Certainly#0472 or @Andon#8175.
8787

8888
Email and direct message reports will be kept confidential.

0 commit comments

Comments
 (0)