Merge pull request #4601 from hugovk/keep-out-the-tabs

Replace spaces with tabs and add to pre-commit linting
This commit is contained in:
Andrew Murray 2020-05-02 10:19:06 +10:00 committed by GitHub
commit db009dd04a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 50 additions and 44 deletions

View File

@ -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$)

View File

@ -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