-
Notifications
You must be signed in to change notification settings - Fork 2
Add support for warnings #28
Copy link
Copy link
Open
Description
Currently the tool is only able to report errors however there are situations where we may want to provide warnings to users instead.
A very basic warning system could be added by:
- Adding a
warningattribute (list[str]) toUnitChecker. - Printing any warnings that have been collected after the checker has run (see
unit_static_analyser/__init__.py). - Add a warning to the code, the only candidate so far is a NotImplementedError in the
UnitCheckerclass. - Update the test
test_overloaded_function_definition_not_implementedto reflect the new behaviour.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels