Commit 6cdee45
Type the form argument rule with the classes that have an element
FormArgument itself declares neither ufl_function_space nor ufl_element, so
annotating the handler with it fails mypy. Its subclasses Argument and
Coefficient are what actually reach the rule, and both carry them.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent e3c2bbf commit 6cdee45
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments