mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
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 |
||
|---|---|---|
| .. | ||
| test_base_formatter.py | ||
| test_checker_manager.py | ||
| test_config_file_finder.py | ||
| test_debug.py | ||
| test_file_checker.py | ||
| test_file_processor.py | ||
| test_legacy_api.py | ||
| test_merged_config_parser.py | ||
| test_notifier.py | ||
| test_option.py | ||
| test_option_manager.py | ||
| test_plugin.py | ||
| test_plugin_manager.py | ||
| test_plugin_type_manager.py | ||
| test_statistics.py | ||
| test_style_guide.py | ||
| test_trie.py | ||
| test_utils.py | ||