Skip to content

Commit 232ddeb

Browse files
committed
Added rust to the pre-commit file
1 parent 5f8d06d commit 232ddeb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ repos:
4242
- id: debug-statements
4343
# Removes trailing whitespace.
4444
- id: trailing-whitespace
45-
types_or: [python, c, c++, batch, markdown, toml, yaml]
45+
types_or: [python, batch, markdown, toml, yaml, rust]
4646
# Ensures all files end in 1 (and only 1) newline.
4747
- id: end-of-file-fixer
48-
types_or: [python, c, c++, batch, markdown, toml, yaml]
48+
types_or: [python, batch, markdown, toml, yaml, rust]
4949
# Removes the UTF-8 BOM from files that have it.
5050
# See https://github.com/nvaccess/nvda/blob/master/projectDocs/dev/codingStandards.md#encoding
5151
- id: fix-byte-order-marker
52-
types_or: [python, c, c++, batch, markdown, toml, yaml]
52+
types_or: [python, batch, markdown, toml, yaml, rust]
5353
# Validates TOML files.
5454
- id: check-toml
5555
# Validates YAML files.

0 commit comments

Comments
 (0)