-
-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Support excluding multiline regexes, O(N) algorithm by nedbat. * Fix test_parser.py. * Actually fix tests and mypy check. * Format multiline exclusion tests. * Apply suggestions from code review by @nedbat. Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> * Improve and add new tests to test_parser.py. * Skip test_multiline_exclusion_block2 if Python version < 3.10. * Add tests for exclusion of a whole module or from a marker until the end of the file. * tweak the regexes in the tests * test: add one more test for the specific #996 use * docs: explain multi-line exclusion regexes * build: the next version will be 7.6.0 * better: no whitespace in regexes --------- Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
- Loading branch information
Showing
5 changed files
with
317 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters