summaryrefslogtreecommitdiff
path: root/tests/fixtures/example-code
Commit message (Collapse)AuthorAgeFilesLines
* automatic: pyupgrade --py36-plusAnthony Sottile2021-03-301-1/+2
|
* Handle SyntaxErrors after new-lines speciallyIan Cordasco2016-10-231-0/+1
| | | | | | | | | | | In some cases, when we handle SyntaxErrors we need to ensure that the column number is correct for a 1-indexed report. In some cases, we also need to account for the fact that the SyntaxError has happened "after" a new-line. To extract and alter the row and column numbers, we've moved the logic to a private static method on the FileChecker object to avoid an overly complex method. Closes #237
* Add empty file as a test fixtureIan Cordasco2016-07-091-0/+0
|
* Add test fixture that mirrors documented usageIan Cordasco2016-06-071-0/+1
|
* Start adding test fixture filesIan Cordasco2016-06-071-0/+3
This adds E501 which is actually a poor test. Currently, pep8.maximum_line_length does its own check for noqa instead of relying on the Checker. See also: https://github.com/PyCQA/pycodestyle/pull/539