Commit d4b658f
committed
Do not set flag_value as None in click Option
From click 8.3.0 flag_value is set as a sentinel
value UNSET instead of None, and since we maintain
a PluggableCommanLineOption subclass, we need to
maintain the same default values for an Option to
avoid issues.
Reference: https://github.com/pallets/click/releases/tag/8.3.0
Reference: aboutcode-org/scancode-toolkit#4572
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>1 parent 30869cb commit d4b658f
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
25 | 38 | | |
26 | 39 | | |
27 | 40 | | |
| |||
429 | 442 | | |
430 | 443 | | |
431 | 444 | | |
432 | | - | |
| 445 | + | |
433 | 446 | | |
434 | 447 | | |
435 | 448 | | |
| |||
0 commit comments