Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1#!/usr/bin/env bash
2
3set -eu -o pipefail
4source virtualenv.sh
5set +x
6
7# deps are already installed, using --no-deps to avoid re-installing them
8# Install PyYAML without libyaml to validate ansible can run
9PYYAML_FORCE_LIBYAML=0 pip install --no-binary PyYAML --ignore-installed --no-cache-dir --no-deps PyYAML
10
11ansible --version | tee /dev/stderr | grep 'without libyaml'
12

After

1#!/usr/bin/env bash
2
3set -eu -o pipefail
4source virtualenv.sh
5set +x
6
7# Verify libyaml is in use.
8ansible --version | tee /dev/stderr | grep 'with libyaml'
9
10# Run tests with libyaml.
11ansible-playbook runme.yml "${@}"
12
13# deps are already installed, using --no-deps to avoid re-installing them
14# Install PyYAML without libyaml to validate ansible can run
15PYYAML_FORCE_LIBYAML=0 pip install --no-binary PyYAML --ignore-installed --no-cache-dir --no-deps PyYAML
16
17# Verify libyaml is not in use.
18ansible --version | tee /dev/stderr | grep 'without libyaml'
19
20# Run tests without libyaml.
21ansible-playbook runme.yml "${@}"
22

Before

program
comment "#!/usr/bin/env bash"
command
command_name
word "set"
word "-eu"
word "-o"
word "pipefail"
command
command_name
word "source"
word "virtualenv.sh"
command
command_name
word "set"
word "+x"
comment "# deps are already installed, using --no-deps to avoid re-in"...
comment "# Install PyYAML without libyaml to validate ansible can run"
command
variable_assignment
variable_name "PYYAML_FORCE_LIBYAML"
= "="
number "0"
command_name
word "pip"
word "install"
word "--no-binary"
word "PyYAML"
word "--ignore-installed"
word "--no-cache-dir"
word "--no-deps"
word "PyYAML"
pipeline
command
command_name
word "ansible"
word "--version"
| "|"
command
command_name
word "tee"
word "/dev/stderr"
| "|"
command
command_name
word "grep"
raw_string "'without libyaml'"

After

program
comment "#!/usr/bin/env bash"
command
command_name
word "set"
word "-eu"
word "-o"
word "pipefail"
command
command_name
word "source"
word "virtualenv.sh"
command
command_name
word "set"
word "+x"
comment "# Verify libyaml is in use."
pipeline
command
command_name
word "ansible"
word "--version"
| "|"
command
command_name
word "tee"
word "/dev/stderr"
| "|"
command
command_name
word "grep"
raw_string "'with libyaml'"
comment "# Run tests with libyaml."
command
command_name
word "ansible-playbook"
word "runme.yml"
string
" "\""
expansion
${ "${"
special_variable_name "@"
} "}"
" "\""
comment "# deps are already installed, using --no-deps to avoid re-in"...
comment "# Install PyYAML without libyaml to validate ansible can run"
command
variable_assignment
variable_name "PYYAML_FORCE_LIBYAML"
= "="
number "0"
command_name
word "pip"
word "install"
word "--no-binary"
word "PyYAML"
word "--ignore-installed"
word "--no-cache-dir"
word "--no-deps"
word "PyYAML"
comment "# Verify libyaml is not in use."
pipeline
command
command_name
word "ansible"
word "--version"
| "|"
command
command_name
word "tee"
word "/dev/stderr"
| "|"
command
command_name
word "grep"
raw_string "'without libyaml'"
comment "# Run tests without libyaml."
command
command_name
word "ansible-playbook"
word "runme.yml"
string
" "\""
expansion
${ "${"
special_variable_name "@"
} "}"
" "\""