mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
Add check for unicode replacement characters
This commit is contained in:
parent
a18c5af5d4
commit
9e417077fc
5 changed files with 55 additions and 0 deletions
|
|
@ -22,6 +22,12 @@
|
|||
entry: check-byte-order-marker
|
||||
language: python
|
||||
types: [text]
|
||||
- id: check-unicode-replacement-char
|
||||
name: Check for Unicode replacement character
|
||||
description: Forbid files which have a UTF-8 Unicode replacement character
|
||||
entry: check-unicode-replacement-char
|
||||
language: python
|
||||
types: [text]
|
||||
- id: check-builtin-literals
|
||||
name: Check builtin type constructor use
|
||||
description: Require literal syntax when initializing empty or zero Python builtin types.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue