mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 12:36:54 +00:00
Merge branch 'no_show_source' into 'master'
Add option to disable show-source for calling tools See merge request pycqa/flake8!441
This commit is contained in:
commit
0efbb5dbcb
2 changed files with 32 additions and 0 deletions
|
|
@ -282,6 +282,13 @@ def register_default_options(option_manager):
|
|||
parse_from_config=True,
|
||||
help="Show the source generate each error or warning.",
|
||||
)
|
||||
add_option(
|
||||
"--no-show-source",
|
||||
action="store_false",
|
||||
dest="show_source",
|
||||
parse_from_config=False,
|
||||
help="Negate --show-source",
|
||||
)
|
||||
|
||||
add_option(
|
||||
"--statistics",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue