equal
deleted
inserted
replaced
171 raise-format.py:1: |
171 raise-format.py:1: |
172 > raise SomeException, message |
172 > raise SomeException, message |
173 don't use old-style two-argument raise, use Exception(message) |
173 don't use old-style two-argument raise, use Exception(message) |
174 [1] |
174 [1] |
175 |
175 |
|
176 $ cat <<EOF > tab.t |
|
177 > indent |
|
178 > > heredoc |
|
179 > EOF |
|
180 $ "$check_code" tab.t |
|
181 tab.t:1: |
|
182 > indent |
|
183 don't use tabs to indent |
|
184 [1] |
|
185 $ rm tab.t |
|
186 |
176 $ cat > rst.py <<EOF |
187 $ cat > rst.py <<EOF |
177 > """problematic rst text |
188 > """problematic rst text |
178 > |
189 > |
179 > .. note:: |
190 > .. note:: |
180 > wrong |
191 > wrong |