File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ check_untyped_defs = True
99warn_unreachable = True
1010strict_equality = True
1111ignore_missing_imports = True
12- exclude = env/.*|venv/.*
12+ exclude = env/.*|venv/.*|build/.*
1313
1414[mypy-django.*]
1515ignore_missing_imports = True
Original file line number Diff line number Diff line change @@ -612,8 +612,8 @@ def exceptions_from_error(
612612 exception_id += 1
613613
614614 should_supress_context = (
615- hasattr (exc_value , "__suppress_context__" ) and exc_value .__suppress_context__
616- ) # type: ignore
615+ hasattr (exc_value , "__suppress_context__" ) and exc_value .__suppress_context__ # type: ignore
616+ )
617617 if should_supress_context :
618618 # Add direct cause.
619619 # The field `__cause__` is set when raised with the exception (using the `from` keyword).
You can’t perform that action at this time.
0 commit comments