mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
Added .editorconfig file
This commit is contained in:
parent
70fb68c093
commit
6a81c1879c
19
.editorconfig
Normal file
19
.editorconfig
Normal 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
|
2
.github/workflows/build.sh
vendored
2
.github/workflows/build.sh
vendored
|
@ -31,4 +31,4 @@ if [[ $MACOSX_DEPLOYMENT_TARGET != "11.0" ]]; then
|
||||||
echo "::group::Test wheel"
|
echo "::group::Test wheel"
|
||||||
install_run $PLAT
|
install_run $PLAT
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -63,7 +63,7 @@ function pre_build {
|
||||||
BUILD_PREFIX=$ORIGINAL_BUILD_PREFIX
|
BUILD_PREFIX=$ORIGINAL_BUILD_PREFIX
|
||||||
PKG_CONFIG_PATH=$ORIGINAL_PKG_CONFIG_PATH
|
PKG_CONFIG_PATH=$ORIGINAL_PKG_CONFIG_PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Custom flags to include both multibuild and jpeg defaults
|
# Custom flags to include both multibuild and jpeg defaults
|
||||||
ORIGINAL_CFLAGS=$CFLAGS
|
ORIGINAL_CFLAGS=$CFLAGS
|
||||||
CFLAGS="$CFLAGS -g -O2"
|
CFLAGS="$CFLAGS -g -O2"
|
||||||
|
|
|
@ -15,4 +15,4 @@ git checkout $1
|
||||||
cd ..
|
cd ..
|
||||||
git commit -m "Pillow -> $1" Pillow
|
git commit -m "Pillow -> $1" Pillow
|
||||||
git tag $1
|
git tag $1
|
||||||
git push origin $1
|
git push origin $1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user