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

…lines 1–80 unchanged (80 lines)
81 -i "pandas.tseries.offsets.CustomBusinessHour PR02,SA01" \
82 -i "pandas.tseries.offsets.CustomBusinessMonthBegin PR02" \
83 -i "pandas.tseries.offsets.CustomBusinessMonthEnd PR02" \
84 -i "pandas.tseries.offsets.Day.is_on_offset GL08" \
85 -i "pandas.tseries.offsets.Easter.is_on_offset GL08" \
86 -i "pandas.tseries.offsets.FY5253.is_on_offset GL08" \
87 -i "pandas.tseries.offsets.FY5253.rule_code GL08" \
88 -i "pandas.tseries.offsets.FY5253.startingMonth GL08" \
89 -i "pandas.tseries.offsets.FY5253Quarter.get_weeks GL08" \
90 -i "pandas.tseries.offsets.FY5253Quarter.is_on_offset GL08" \
91 -i "pandas.tseries.offsets.FY5253Quarter.rule_code GL08" \
92 -i "pandas.tseries.offsets.FY5253Quarter.startingMonth GL08" \
93 -i "pandas.tseries.offsets.LastWeekOfMonth.is_on_offset GL08" \
…lines 94–125 unchanged (32 lines)

After

…lines 1–79 unchanged (79 lines)
80 -i "pandas.tseries.offsets.CustomBusinessDay PR02,SA01" \
81 -i "pandas.tseries.offsets.CustomBusinessHour PR02,SA01" \
82 -i "pandas.tseries.offsets.CustomBusinessMonthBegin PR02" \
83 -i "pandas.tseries.offsets.CustomBusinessMonthEnd PR02" \
84 -i "pandas.tseries.offsets.Day.is_on_offset GL08" \
85 -i "pandas.tseries.offsets.Easter.is_on_offset GL08" \
86 -i "pandas.tseries.offsets.FY5253.is_on_offset GL08" \
87 -i "pandas.tseries.offsets.FY5253.startingMonth GL08" \
88 -i "pandas.tseries.offsets.FY5253Quarter.get_weeks GL08" \
89 -i "pandas.tseries.offsets.FY5253Quarter.is_on_offset GL08" \
90 -i "pandas.tseries.offsets.FY5253Quarter.rule_code GL08" \
91 -i "pandas.tseries.offsets.FY5253Quarter.startingMonth GL08" \
92 -i "pandas.tseries.offsets.LastWeekOfMonth.is_on_offset GL08" \
…lines 93–124 unchanged (32 lines)

Before

program
comment "#!/bin/bash"
comment "#"
comment "# Run checks related to code quality."
comment "#"
comment "# This script is intended for both the CI and to check local"...
comment "# respected. We run doctests here (currently some files only"...
comment "# validate formatting error in docstrings."
comment "#"
comment "# Usage:"
comment "# $ ./ci/code_checks.sh # run all checks"
comment "# $ ./ci/code_checks.sh code # checks on imported"...
comment "# $ ./ci/code_checks.sh doctests # run doctests"
comment "# $ ./ci/code_checks.sh docstrings # validate docstring"...
comment "# $ ./ci/code_checks.sh single-docs # check single-page "...
comment "# $ ./ci/code_checks.sh notebooks # check execution of"...
ERROR
command
command_name
word "set"
word "-uo"
word "pipefail"
if_statement (+26 nodes collapsed)
list (+107 nodes collapsed)
variable_assignment
variable_name "BASE_DIR"
= "="
string
" "\""
command_substitution
$( "$("
command
command_name
word "dirname"
string
" "\""
simple_expansion
$ "$"
variable_name "0"
" "\""
) ")"
string_content "/.."
" "\""
variable_assignment
variable_name "RET"
= "="
number "0"
comment "### CODE ###"
if_statement (+93 nodes collapsed)
comment "### DOCTESTS ###"
if_statement (+85 nodes collapsed)
comment "### DOCSTRINGS ###"
if "if"
test_command (+25 nodes collapsed)
; ";"
then "then"
variable_assignment
variable_name "MSG"
= "="
raw_string "'Validate Docstrings'"
; ";"
command
command_name
word "echo"
string
" "\""
simple_expansion
$ "$"
variable_name "MSG"
" "\""
command_name
concatenation
string
" "\""
simple_expansion
$ "$"
variable_name "BASE_DIR"
" "\""
word "/scripts/validate_docstrings.py"
word "--format=actions"
word "-i"
word "ES01"
concatenation
command_substitution
` "`"
comment "# For now it is ok if docstrings are missing the extended su"...
command
command_name
word "-i"
string
" "\""
string_content "pandas.Series.dt PR01"
" "\""
` "`"
word "#"
word "Accessors"
word "are"
word "implemented"
word "as"
word "classes,"
word "but"
word "we"
word "do"
word "not"
word "document"
word "the"
word "Parameters"
word "section"
` "`"
command
command_name
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.BDay PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.BusinessDay PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.BusinessHour PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CBMonthBegin PR02"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CBMonthEnd PR02"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CDay PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CustomBusinessDay PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CustomBusinessHour PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CustomBusinessMonthBegin PR02"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CustomBusinessMonthEnd PR02"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.Day.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.Easter.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253.rule_code GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253.startingMonth GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253Quarter.get_weeks GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253Quarter.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253Quarter.rule_code GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253Quarter.startingMonth GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.LastWeekOfMonth.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.LastWeekOfMonth.week GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.LastWeekOfMonth.weekday GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.SemiMonthBegin.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.SemiMonthBegin.rule_code GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.SemiMonthEnd.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.SemiMonthEnd.rule_code GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.Week.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.WeekOfMonth.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.WeekOfMonth.week GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.WeekOfMonth.weekday GL08"
" "\""
comment "# There should be no backslash in the final line, please kee"...
variable_assignment
variable_name "RET"
= "="
arithmetic_expansion
$(( "$(("
binary_expression
simple_expansion
$ "$"
variable_name "RET"
+ "+"
simple_expansion
$ "$"
special_variable_name "?"
)) "))"
; ";"
command
command_name
word "echo"
simple_expansion
$ "$"
variable_name "MSG"
string
" "\""
string_content "DONE"
" "\""
command
command_name
word "fi"
comment "### DOCUMENTATION NOTEBOOKS ###"
if_statement (+85 nodes collapsed)
comment "### SINGLE-PAGE DOCS ###"
if_statement (+46 nodes collapsed)
command
command_name
word "exit"
simple_expansion
$ "$"
variable_name "RET"

After

program
comment "#!/bin/bash"
comment "#"
comment "# Run checks related to code quality."
comment "#"
comment "# This script is intended for both the CI and to check local"...
comment "# respected. We run doctests here (currently some files only"...
comment "# validate formatting error in docstrings."
comment "#"
comment "# Usage:"
comment "# $ ./ci/code_checks.sh # run all checks"
comment "# $ ./ci/code_checks.sh code # checks on imported"...
comment "# $ ./ci/code_checks.sh doctests # run doctests"
comment "# $ ./ci/code_checks.sh docstrings # validate docstring"...
comment "# $ ./ci/code_checks.sh single-docs # check single-page "...
comment "# $ ./ci/code_checks.sh notebooks # check execution of"...
ERROR
command
command_name
word "set"
word "-uo"
word "pipefail"
if_statement (+26 nodes collapsed)
list (+107 nodes collapsed)
variable_assignment
variable_name "BASE_DIR"
= "="
string
" "\""
command_substitution
$( "$("
command
command_name
word "dirname"
string
" "\""
simple_expansion
$ "$"
variable_name "0"
" "\""
) ")"
string_content "/.."
" "\""
variable_assignment
variable_name "RET"
= "="
number "0"
comment "### CODE ###"
if_statement (+93 nodes collapsed)
comment "### DOCTESTS ###"
if_statement (+85 nodes collapsed)
comment "### DOCSTRINGS ###"
if "if"
test_command (+25 nodes collapsed)
; ";"
then "then"
variable_assignment
variable_name "MSG"
= "="
raw_string "'Validate Docstrings'"
; ";"
command
command_name
word "echo"
string
" "\""
simple_expansion
$ "$"
variable_name "MSG"
" "\""
command_name
concatenation
string
" "\""
simple_expansion
$ "$"
variable_name "BASE_DIR"
" "\""
word "/scripts/validate_docstrings.py"
word "--format=actions"
word "-i"
word "ES01"
concatenation
command_substitution
` "`"
comment "# For now it is ok if docstrings are missing the extended su"...
command
command_name
word "-i"
string
" "\""
string_content "pandas.Series.dt PR01"
" "\""
` "`"
word "#"
word "Accessors"
word "are"
word "implemented"
word "as"
word "classes,"
word "but"
word "we"
word "do"
word "not"
word "document"
word "the"
word "Parameters"
word "section"
` "`"
command
command_name
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.BDay PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.BusinessDay PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.BusinessHour PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CBMonthBegin PR02"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CBMonthEnd PR02"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CDay PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CustomBusinessDay PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CustomBusinessHour PR02,SA01"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CustomBusinessMonthBegin PR02"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.CustomBusinessMonthEnd PR02"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.Day.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.Easter.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253.startingMonth GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253Quarter.get_weeks GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253Quarter.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253Quarter.rule_code GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.FY5253Quarter.startingMonth GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.LastWeekOfMonth.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.LastWeekOfMonth.week GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.LastWeekOfMonth.weekday GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.SemiMonthBegin.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.SemiMonthBegin.rule_code GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.SemiMonthEnd.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.SemiMonthEnd.rule_code GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.Week.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.WeekOfMonth.is_on_offset GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.WeekOfMonth.week GL08"
" "\""
word "-i"
string
" "\""
string_content "pandas.tseries.offsets.WeekOfMonth.weekday GL08"
" "\""
comment "# There should be no backslash in the final line, please kee"...
variable_assignment
variable_name "RET"
= "="
arithmetic_expansion
$(( "$(("
binary_expression
simple_expansion
$ "$"
variable_name "RET"
+ "+"
simple_expansion
$ "$"
special_variable_name "?"
)) "))"
; ";"
command
command_name
word "echo"
simple_expansion
$ "$"
variable_name "MSG"
string
" "\""
string_content "DONE"
" "\""
command
command_name
word "fi"
comment "### DOCUMENTATION NOTEBOOKS ###"
if_statement (+85 nodes collapsed)
comment "### SINGLE-PAGE DOCS ###"
if_statement (+46 nodes collapsed)
command
command_name
word "exit"
simple_expansion
$ "$"
variable_name "RET"