Replace spaces with tabs and add to pre-commit linting

This commit is contained in:
Hugo 2020-05-01 21:23:39 +03:00
parent a9cd55bc39
commit 94c7af7596
6 changed files with 50 additions and 44 deletions

View File

@ -30,3 +30,9 @@ repos:
hooks:
- id: check-merge-conflict
- 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$)

View File

@ -5310,22 +5310,22 @@ Pre-fork
+ Added keyword options to the "save" method. The following options
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.
JPEG progressive enable progressive output. the
option value is ignored.
JPEG progressive Enable progressive output.
The option value is ignored.
JPEG quality set compression quality (1-100).
the default value is 75.
JPEG quality Set compression quality (1-100).
The default value is 75.
JPEG smooth smooth dithered images. value
is strength (1-100). default is
off (0).
JPEG smooth Smooth dithered images.
Value is strength (1-100).
Default is off (0).
PNG optimize minimize output file at the
PNG optimize Minimize output file at the
expense of compression speed.
Expect more options in future releases. Also note that