Do not use True or False as default values in assignments (#7060)

This commit is contained in:
Alex Waygood
2022-01-27 21:51:36 +00:00
committed by GitHub
parent d43639d289
commit dbb5488b31
3 changed files with 6 additions and 6 deletions

View File

@@ -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,