Drop support for Python < 3.10 and add additional Ruff rules #313
71.63% of diff hit (target 83.31%)
View this Pull Request on Codecov
71.63% of diff hit (target 83.31%)
Annotations
Check warning on line 186 in prosemirror/model/content.py
codecov / codecov/patch
prosemirror/model/content.py#L185-L186
Added lines #L185 - L186 were not covered by tests
Check warning on line 248 in prosemirror/model/content.py
codecov / codecov/patch
prosemirror/model/content.py#L247-L248
Added lines #L247 - L248 were not covered by tests
Check warning on line 238 in prosemirror/model/fragment.py
codecov / codecov/patch
prosemirror/model/fragment.py#L237-L238
Added lines #L237 - L238 were not covered by tests
Check warning on line 268 in prosemirror/model/fragment.py
codecov / codecov/patch
prosemirror/model/fragment.py#L267-L268
Added lines #L267 - L268 were not covered by tests
Check warning on line 305 in prosemirror/model/fragment.py
codecov / codecov/patch
prosemirror/model/fragment.py#L304-L305
Added lines #L304 - L305 were not covered by tests
Check warning on line 669 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L668-L669
Added lines #L668 - L669 were not covered by tests
Check warning on line 672 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L672
Added line #L672 was not covered by tests
Check warning on line 982 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L982
Added line #L982 was not covered by tests
Check warning on line 1025 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1024-L1025
Added lines #L1024 - L1025 were not covered by tests
Check warning on line 1065 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1065
Added line #L1065 was not covered by tests
Check warning on line 1089 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1089
Added line #L1089 was not covered by tests
Check warning on line 1101 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1101
Added line #L1101 was not covered by tests
Check warning on line 1105 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1105
Added line #L1105 was not covered by tests
Check warning on line 1108 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1108
Added line #L1108 was not covered by tests
Check warning on line 1117 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1117
Added line #L1117 was not covered by tests
Check warning on line 1138 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1138
Added line #L1138 was not covered by tests
Check warning on line 1147 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1146-L1147
Added lines #L1146 - L1147 were not covered by tests
Check warning on line 1179 in prosemirror/model/from_dom.py
codecov / codecov/patch
prosemirror/model/from_dom.py#L1178-L1179
Added lines #L1178 - L1179 were not covered by tests
Check warning on line 65 in prosemirror/model/mark.py
codecov / codecov/patch
prosemirror/model/mark.py#L64-L65
Added lines #L64 - L65 were not covered by tests
Check warning on line 70 in prosemirror/model/mark.py
codecov / codecov/patch
prosemirror/model/mark.py#L69-L70
Added lines #L69 - L70 were not covered by tests
Check warning on line 256 in prosemirror/model/node.py
codecov / codecov/patch
prosemirror/model/node.py#L255-L256
Added lines #L255 - L256 were not covered by tests
Check warning on line 304 in prosemirror/model/node.py
codecov / codecov/patch
prosemirror/model/node.py#L303-L304
Added lines #L303 - L304 were not covered by tests
Check warning on line 309 in prosemirror/model/node.py
codecov / codecov/patch
prosemirror/model/node.py#L309
Added line #L309 was not covered by tests
Check warning on line 313 in prosemirror/model/node.py
codecov / codecov/patch
prosemirror/model/node.py#L313
Added line #L313 was not covered by tests
Check warning on line 348 in prosemirror/model/node.py
codecov / codecov/patch
prosemirror/model/node.py#L347-L348
Added lines #L347 - L348 were not covered by tests