Skip to content

fix ignoring pyproject.toml config #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading