mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
remove log_token and EXTRA_VERBOSE
- flake8 spent 5% of execution in `log_token` - `EXTRA_VERBOSE` was only used by `log_token` - `python -m tokenize` provides better debug token output
This commit is contained in:
parent
5ecea41b6d
commit
929cf5dfd3
6 changed files with 2 additions and 73 deletions
|
|
@ -10,7 +10,7 @@ def options_from(**kwargs):
|
|||
kwargs.setdefault("max_line_length", 79)
|
||||
kwargs.setdefault("max_doc_length", None)
|
||||
kwargs.setdefault("indent_size", 4)
|
||||
kwargs.setdefault("verbose", False)
|
||||
kwargs.setdefault("verbose", 0)
|
||||
kwargs.setdefault("stdin_display_name", "stdin")
|
||||
kwargs.setdefault("disable_noqa", False)
|
||||
return argparse.Namespace(**kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue