1
0
mirror of https://github.com/amix/vimrc synced 2025-08-08 06:45:00 +08:00
This is done by removing custom FileType indent options, and using
`vim-python-pep8-indent` plugin.
This commit is contained in:
Amir Salihefendic
2019-11-16 20:16:20 +01:00
parent 97e3db7fe9
commit 966965a156
22 changed files with 1857 additions and 4 deletions

View File

@ -0,0 +1,24 @@
#!/bin/sh
set -ex
rm -f .coverage_covimerage
export PYTHON_PEP8_INDENT_TEST_PROFILE_BASE=/tmp/vim-python-pep8-profile
Xvfb :99 2>/dev/null >&2 &
export DISPLAY=:99
export VIMRUNNER_REUSE_SERVER=1
ret=0
for file in ./spec/indent/*_spec.rb; do
# shellcheck disable=SC2086
bundle exec rspec "$file" $RSPEC_OPTIONS || ret=1
for p in "${PYTHON_PEP8_INDENT_TEST_PROFILE_BASE}".*; do
covimerage write_coverage --append "$p"
rm "$p"
covimerage report -m
done
done
exit $ret