[2.5.0] - 2023-04-27
Bug fixes
- Fixed bug in possibly-undefined checker where a comprehension variable is falsely flagged as possibly undefined.
- Fixed bug where
check_errors
andcheck_all
opens a webpage when a nonexistent or unreadable path is passed as an argument. - Fixed the CFG implementation to resolve a bug in the possibly-undefined checker where variables were falsely flagged as possibly undefined when the code conditionally raises an exception and the variable was referenced afterwards.
- Fixed bug where the generated CFGs will highlight the except block as unreachable if the same exception it is handling was raised in the body of the tryexcept.
New checkers
Custom checkers:
forbidden-python-syntax
: Flag code that is not permitted to be used on an assessment.
Other
- Pin dependency versions