mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 04:34:25 +08:00
Fix 3865 - Disable scriptencoding vint error. (#3866)
- Add .vintrc.yaml configuration that disables the scriptencoding check (ProhibitMissingScriptEncoding) that is raised randomly. - Upgrade vint to 0.3.21. Project seems to have stopped here and 0.4.0 was never released. - Ensure the run-test scripts use the correct docker image (e.g. add tag) . Co-authored-by: Horacio Sanson <horacio@allm.inc>
This commit is contained in:
5
.vintrc.yaml
Normal file
5
.vintrc.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
policies:
|
||||||
|
# Disable a violation that is thrown randomly for reasons I still
|
||||||
|
# do not understand.
|
||||||
|
ProhibitMissingScriptEncoding:
|
||||||
|
enabled: false
|
||||||
@@ -18,7 +18,7 @@ ENV PACKAGES="\
|
|||||||
RUN apk --update add $PACKAGES && \
|
RUN apk --update add $PACKAGES && \
|
||||||
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
|
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
RUN pip install vim-vint==0.3.15
|
RUN pip install vim-vint==0.3.21
|
||||||
|
|
||||||
RUN git clone https://github.com/junegunn/vader.vim vader && \
|
RUN git clone https://github.com/junegunn/vader.vim vader && \
|
||||||
cd vader && git checkout c6243dd81c98350df4dec608fa972df98fa2a3af
|
cd vader && git checkout c6243dd81c98350df4dec608fa972df98fa2a3af
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ fi
|
|||||||
git_version=$(git describe --always --tags)
|
git_version=$(git describe --always --tags)
|
||||||
|
|
||||||
# Used in all test scripts for running the selected Docker image.
|
# Used in all test scripts for running the selected Docker image.
|
||||||
DOCKER_RUN_IMAGE="$image"
|
DOCKER_RUN_IMAGE="$image:$image_tag"
|
||||||
export DOCKER_RUN_IMAGE
|
export DOCKER_RUN_IMAGE
|
||||||
|
|
||||||
tests='test/*.vader test/*/*.vader test/*/*/*.vader test/*/*/*.vader'
|
tests='test/*.vader test/*/*.vader test/*/*/*.vader test/*/*/*.vader'
|
||||||
|
|||||||
Reference in New Issue
Block a user