mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
Do not use True or False as default values in assignments (#7060)
This commit is contained in:
1 parent
d43639d289
commit
dbb5488b31
3 files changed
+6
-6
No files matched your search
@@ -100,11 +100,11 @@ class Flag:
|
||||
value: Any
|
||||
help: str
|
||||
short_name: str
|
||||
boolean = False
|
||||
present = False
|
||||
boolean: bool
|
||||
present: bool
|
||||
parser: ArgumentParser
|
||||
serializer: ArgumentSerializer
|
||||
allow_override = False
|
||||
allow_override: bool
|
||||
def __init__(
|
||||
self,
|
||||
parser: ArgumentParser,
|
||||
|
||||
Reference in new issue
Block a user