Ian Cordasco
15043a4ab7
Update our linecache test to correct it
2016-05-30 16:48:30 -05:00
Ian Cordasco
467672fc5c
Refactor Error formatting and handling
...
This allows us to handle --show-source in our formatters by default.
This also adds the physical line information to the Error class instead
of passing it to is_inline_ignored. This allows us to avoid using
linecache in our formatters.
2016-05-30 16:43:11 -05:00
Ian Cordasco
de9f56addf
Fix import ordering in test files
2016-02-25 14:41:37 -06:00
Ian Cordasco
58b2ca69e4
Remove arguments from StyleGuide
...
- StyleGuides do not need the arguments passed in
- Add a test for is_inline_ignored obeying disable_noqa
2016-02-19 16:10:38 -06:00
Ian Cordasco
fbd5944f15
Add specific tests for is_inline_ignored
...
Update the logic so someone can use a class in their ``# noqa`` ignore
list
2016-02-19 11:02:22 -06:00
Ian Cordasco
f4b18229a0
Add checking for inline #noqa comments
...
This also supports ignoring only specified codes
2016-02-19 09:08:24 -06:00
Ian Cordasco
a9a939cbbc
Update StyleGuide tests and add new tests for handle_error
2016-02-15 22:31:56 -06:00
Ian Cordasco
eafc91ae6a
Add handling and decision making for select and ignore
2016-02-02 20:48:26 -06:00