Commit 9414d89
committed
Fix lint: black formatting and mypy assignment override
- black: long compilation_bindtemplate property line wrapped onto 3 lines.
- mypy: parent SQLCompiler annotates bindtemplate and compilation_bindtemplate
as str, and a property is a different type for static analysis (runtime
behavior unchanged — descriptor returns str on access). Add
# type: ignore[assignment], consistent with the # type: ignore pattern
already used in base.py:52 for preparer override.
Co-authored-by: Isaac
Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>1 parent 010803e commit 9414d89
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
| |||
0 commit comments