Commit graph

15 commits

Author SHA1 Message Date
Anthony Sottile
aa002ee4ed require python 3.8.1+ 2022-11-18 11:33:52 -05:00
Anthony Sottile
e94fb10940 require python>=3.7 2022-08-05 19:51:08 -04:00
Anthony Sottile
d2333c4471 include the file path in the plugin execution error 2022-01-23 20:41:32 -05:00
Anthony Sottile
50d69150c1 rework plugin loading 2021-12-31 15:09:54 -08:00
Anthony Sottile
456e98486e short circuit on ast error before tokenization error 2021-04-18 10:08:11 -07:00
Anthony Sottile
af1668bf04 extend black formatting to tests as well 2021-04-18 09:23:48 -07:00
Anthony Sottile
3b57778160 fix links in code 2021-04-03 18:21:02 -07:00
Anthony Sottile
358ae85120 automatic: pyupgrade --py36-plus 2021-03-30 17:37:13 -07:00
Tomer Keren
92a037684f Fix python2 unicode test error
I guess that if you don't have something python2 compliant to say. might as well say nothing at all
Also fix linter errors
2019-01-30 08:55:57 -08:00
Tomer Keren
bdf3ce9135 Fix dogfood 2019-01-30 08:55:57 -08:00
Tomer Keren
b64421c5e8 Write a test checking plugin failure exception handling 2019-01-30 08:55:57 -08:00
Avraham Shukron
59218ca323 Report error when non-exiting path is passed to flake8 2018-02-21 18:19:59 +02:00
Ian Stapleton Cordasco
c60546e896
Add pep8-naming to flake8 linting 2017-11-26 11:25:09 -06:00
Ian Cordasco
feec0754bd
Add debugging utility for FileChecker 2017-06-01 20:06:34 -05:00
Ian Cordasco
7998734fe6
Handle SyntaxErrors after new-lines specially
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
2016-10-23 07:37:08 -05:00