mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Replace spaces with tabs and add to pre-commit linting
This commit is contained in:
parent
a9cd55bc39
commit
94c7af7596
|
@ -30,3 +30,9 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
|
|
||||||
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||||
|
rev: v1.1.7
|
||||||
|
hooks:
|
||||||
|
- id: remove-tabs
|
||||||
|
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.opt$)
|
||||||
|
|
20
CHANGES.rst
20
CHANGES.rst
|
@ -5310,22 +5310,22 @@ Pre-fork
|
||||||
+ Added keyword options to the "save" method. The following options
|
+ Added keyword options to the "save" method. The following options
|
||||||
are currently supported:
|
are currently supported:
|
||||||
|
|
||||||
format option description
|
Format Option Description
|
||||||
--------------------------------------------------------
|
--------------------------------------------------------
|
||||||
JPEG optimize minimize output file at the
|
JPEG optimize Minimize output file at the
|
||||||
expense of compression speed.
|
expense of compression speed.
|
||||||
|
|
||||||
JPEG progressive enable progressive output. the
|
JPEG progressive Enable progressive output.
|
||||||
option value is ignored.
|
The option value is ignored.
|
||||||
|
|
||||||
JPEG quality set compression quality (1-100).
|
JPEG quality Set compression quality (1-100).
|
||||||
the default value is 75.
|
The default value is 75.
|
||||||
|
|
||||||
JPEG smooth smooth dithered images. value
|
JPEG smooth Smooth dithered images.
|
||||||
is strength (1-100). default is
|
Value is strength (1-100).
|
||||||
off (0).
|
Default is off (0).
|
||||||
|
|
||||||
PNG optimize minimize output file at the
|
PNG optimize Minimize output file at the
|
||||||
expense of compression speed.
|
expense of compression speed.
|
||||||
|
|
||||||
Expect more options in future releases. Also note that
|
Expect more options in future releases. Also note that
|
||||||
|
|
Loading…
Reference in New Issue
Block a user