Skip to content

Commit

Permalink
fix ignoring pyproject.toml config
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Kitaev committed Oct 17, 2024
1 parent ebff54e commit e241459
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mypy_baseline/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,23 @@ def init_parser(self, parser: ArgumentParser) -> None:
)

add(
'--allow-unsynced', action='store_true',
'--allow-unsynced', action='store_const', const=True,
help='do not fail for resolved violations.'
)
add(
'--preserve-position', action='store_true',
'--preserve-position', action='store_const', const=True,
help='do not remove line number from the baseline.',
)
add(
'--sort-baseline', action='store_true',
'--sort-baseline', action='store_const', const=True,
help='sort the baseline file.',
)
add(
'--hide-stats', action='store_true',
'--hide-stats', action='store_const', const=True,
help='do not show stats at the end.',
)
add(
'--no-colors', action='store_true',
'--no-colors', action='store_const', const=True,
help='disable colored output. Has no effect on the output of mypy.',
)
add(
Expand Down

0 comments on commit e241459

Please sign in to comment.