mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 12:06:53 +00:00
Add deprecation messaging for fix-encoding-pragma
This commit is contained in:
parent
c8715b78af
commit
cef973f323
3 changed files with 12 additions and 1 deletions
|
|
@ -127,6 +127,9 @@ The following arguments are available:
|
|||
removes UTF-8 byte order marker
|
||||
|
||||
#### `fix-encoding-pragma`
|
||||
|
||||
_Deprecated since py2 is EOL - use [pyupgrade](https://github.com/asottile/pyupgrade) instead._
|
||||
|
||||
Add `# -*- coding: utf-8 -*-` to the top of python files.
|
||||
- To remove the coding pragma pass `--remove` (useful in a python3-only codebase)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue