diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..31013be3b --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index ec8d89dde..84d041082 100755 --- a/.github/workflows/build.sh +++ b/.github/workflows/build.sh @@ -31,4 +31,4 @@ if [[ $MACOSX_DEPLOYMENT_TARGET != "11.0" ]]; then echo "::group::Test wheel" install_run $PLAT echo "::endgroup::" -fi \ No newline at end of file +fi diff --git a/config.sh b/config.sh index 31505fab8..2e2a35d23 100644 --- a/config.sh +++ b/config.sh @@ -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" diff --git a/update-pillow-tag.sh b/update-pillow-tag.sh index 31ee10094..e5cd00c67 100755 --- a/update-pillow-tag.sh +++ b/update-pillow-tag.sh @@ -15,4 +15,4 @@ git checkout $1 cd .. git commit -m "Pillow -> $1" Pillow git tag $1 -git push origin $1 \ No newline at end of file +git push origin $1