Merge pull request #201 from radarhere/editorconfig

Added .editorconfig file
This commit is contained in:
Hugo van Kemenade 2021-05-16 09:44:11 +03:00 committed by GitHub
commit 6773a6af35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 3 deletions

19
.editorconfig Normal file
View File

@ -0,0 +1,19 @@
# Top-most EditorConfig file
root = true
[*]
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
charset = utf-8
# Four-space indentation
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
[*.yml]
# Two-space indentation
indent_size = 2
indent_style = space

View File

@ -31,4 +31,4 @@ if [[ $MACOSX_DEPLOYMENT_TARGET != "11.0" ]]; then
echo "::group::Test wheel"
install_run $PLAT
echo "::endgroup::"
fi
fi

View File

@ -63,7 +63,7 @@ function pre_build {
BUILD_PREFIX=$ORIGINAL_BUILD_PREFIX
PKG_CONFIG_PATH=$ORIGINAL_PKG_CONFIG_PATH
fi
# Custom flags to include both multibuild and jpeg defaults
ORIGINAL_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -g -O2"

View File

@ -15,4 +15,4 @@ git checkout $1
cd ..
git commit -m "Pillow -> $1" Pillow
git tag $1
git push origin $1
git push origin $1