summaryrefslogtreecommitdiff
path: root/docs/source/user
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-11-20 01:29:46 +0000
committerIan Cordasco <graffatcolmingov@gmail.com>2016-11-20 01:29:46 +0000
commitae9e832cc1280f3d9d7357baf939bc7e4fa5d9c7 (patch)
tree7719c7472be31f628c7002b1ca34649a1cc1cbc2 /docs/source/user
parenta7fb806175d0825616d0ea3b9f309f40a69beec7 (diff)
parent07c187b8d3e5881ccf85f93a065bf9c2467dcbd1 (diff)
downloadflake8-ae9e832cc1280f3d9d7357baf939bc7e4fa5d9c7.tar.gz
Merge branch 'bug/259' into 'master'
Handle SyntaxErrors in a slightly smarter way SyntaxErrors are strange and mystical beasts. On top of the problems we encountered previously in GitLab#237, it's now apparent that SyntaxErrors can also occur across multiple lines (in fact, across the rest of a file). In the event of a "multi-line" SyntaxError, we need to determine what row to report and what the column number is. For now, we're going to use the row number of the first line and limit the column number to be less than the end of the line. It may not be perfect, but it is slightly better. Related-to #237 Closes #259 cc @arcanemagus See merge request !151
Diffstat (limited to 'docs/source/user')
0 files changed, 0 insertions, 0 deletions