-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[FIX]] Limit "Too many Errors" (E043) to errors only (#3562)
* [[FIX]] Ignore warnings when testing for maxerr Makes the E043 condition trigger only for errors and not warnings Closes #3444 * [[DOCS]] update maxerr description This updates maxerr doc to reflect that only errors are considered * [[TEST]] update tests to reflect maxerr ignoring warnings Update testRawOnError, insideEval in core and restOperatorWithoutIdentifier in parser tests to reflect maxerr no longer counting in warnings. * add braces to maintain coding style * [[TEST]] add test to check maxerr triggering on warnings This modifies testRawOnError to make sure maxerr constrain is applied on errors. This adds testRawOnWarning to make sure maxerr constrain does not count warnings.
- Loading branch information
Showing
4 changed files
with
21 additions
and
11 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