Skip to content
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

This plugin produces very verbose output #42

Closed
sobolevn opened this issue Dec 7, 2017 · 12 comments
Closed

This plugin produces very verbose output #42

sobolevn opened this issue Dec 7, 2017 · 12 comments

Comments

@sobolevn
Copy link

sobolevn commented Dec 7, 2017

Recently pytest-flake8 plugin started to produce very verbose output. And I can switch it off.
Here's the repo to reproduce this bug: https://github.com/wemake-services/wemake-django-template

Software versions

Versions:

flake8==3.5.0
flake8-blind-except==0.1.1
flake8-bugbear==17.4.0
flake8-builtins==1.0.post0
flake8-commas==0.4.3
flake8-comprehensions==1.4.1
flake8-docstrings==1.1.0
flake8-pep3101==1.1
flake8-polyfill==1.0.1
flake8-quotes==0.12.1

py==1.5.2
pycodestyle==2.3.1
pydocstyle==2.1.1
pyflakes==1.6.0

pytest==3.3.1
pytest-cache==1.0
pytest-cov==2.5.1
pytest-django==3.1.2
pytest-flake8==0.9.1
pytest-forked==0.2
pytest-isort==0.1.0
pytest-xdist==1.20.1

I use python3.6. 3.6.2 is the most recent one.

Steps to reproduce

  1. pipenv install --dev
  2. Break some style anywhere in the generated code
  3. Run pytest

Output

Here it is:

» pytest            
============================= test session starts ==============================
platform darwin -- Python 3.6.2, pytest-3.3.1, py-1.5.2, pluggy-0.6.0
Django settings: server.settings (from ini file)
rootdir: /Users/sobolev/Desktop/test_project, inifile: setup.cfg
plugins: xdist-1.20.1, isort-0.1.0, forked-0.2, flake8-0.9.1, django-3.1.2, cov-2.5.1
collected 24 items                                                             

manage.py .                                                              [  4%]
types_test.py .                                                          [  8%]
server/__init__.py .                                                     [ 12%]
server/urls.py .                                                         [ 16%]
server/wsgi.py .                                                         [ 20%]
server/main_app/__init__.py .                                            [ 25%]
server/main_app/admin.py .                                               [ 29%]
server/main_app/apps.py .                                                [ 33%]
server/main_app/models.py .                                              [ 37%]
server/main_app/urls.py .                                                [ 41%]
server/main_app/views.py F                                               [ 45%]
server/main_app/tests/__init__.py .                                      [ 50%]
server/main_app/tests/test_views.py ..                                   [ 58%]
server/settings/__init__.py .                                            [ 62%]
server/settings/components/__init__.py .                                 [ 66%]
server/settings/components/common.py .                                   [ 70%]
server/settings/components/csp.py .                                      [ 75%]
server/settings/components/logging.py .                                  [ 79%]
server/settings/environments/__init__.py .                               [ 83%]
server/settings/environments/development.py .                            [ 87%]
server/settings/environments/local.py .                                  [ 91%]
server/settings/environments/production.py .                             [ 95%]
server/settings/environments/testing.py .                                [100%]

=================================== FAILURES ===================================
____________________ FLAKE8-check(ignoring D100 D104 D401) _____________________
/Users/sobolev/Desktop/test_project/server/main_app/views.py:8:1: D103 Missing docstring in public function

----------------------------- Captured stderr call -----------------------------
processor.py               248 WARNING  Plugin requested optional parameter "builtins" but this is not an available parameter.
processor.py               248 WARNING  Plugin requested optional parameter "visitor" but this is not an available parameter.
------------------------------ Captured log call -------------------------------
manager.py                 210 DEBUG    Registered option "Option(-v, --verbose, action=count, default=0, dest=verbose, type=None, callback=None, help=Print more information about what is happening in flake8. This option is repeatable and will increase verbosity each time it is repeated., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(-q, --quiet, action=count, default=0, dest=quiet, type=None, callback=None, help=Report only file names, or nothing. This option is repeatable., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --count, action=store_true, default=None, dest=count, type=None, callback=None, help=Print total number of errors and warnings to standard error and set the exit code to 1 if total is not empty., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --diff, action=store_true, default=None, dest=diff, type=None, callback=None, help=Report changes only within line number ranges in the unified diff provided on standard in by the user., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --exclude, action=None, default=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg, dest=exclude, type=None, callback=None, help=Comma-separated list of files or directories to exclude. (Default: %default), callback=None, callback_args=None, callback_kwargs=None, metavar=patterns)".
manager.py                 210 DEBUG    Registered option "Option(None, --filename, action=None, default=*.py, dest=filename, type=None, callback=None, help=Only check for filenames matching the patterns in this comma-separated list. (Default: %default), callback=None, callback_args=None, callback_kwargs=None, metavar=patterns)".
manager.py                 210 DEBUG    Registered option "Option(None, --stdin-display-name, action=None, default=stdin, dest=stdin_display_name, type=None, callback=None, help=The name used when reporting errors from code passed via stdin. This is useful for editors piping the file contents to flake8. (Default: %default), callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --format, action=None, default=default, dest=format, type=None, callback=None, help=Format errors according to the chosen formatter., callback=None, callback_args=None, callback_kwargs=None, metavar=format)".
manager.py                 210 DEBUG    Registered option "Option(None, --hang-closing, action=store_true, default=None, dest=hang_closing, type=None, callback=None, help=Hang closing bracket instead of matching indentation of opening bracket's line., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --ignore, action=None, default=E121,E123,E126,E226,E24,E704,W503,W504, dest=ignore, type=None, callback=None, help=Comma-separated list of errors and warnings to ignore (or skip). For example, ``--ignore=E4,E51,W234``. (Default: %default), callback=None, callback_args=None, callback_kwargs=None, metavar=errors)".
manager.py                 210 DEBUG    Registered option "Option(None, --max-line-length, action=None, default=79, dest=max_line_length, type=int, callback=None, help=Maximum allowed line length for the entirety of this run. (Default: %default), callback=None, callback_args=None, callback_kwargs=None, metavar=n)".
manager.py                 210 DEBUG    Registered option "Option(None, --select, action=None, default=E,F,W,C90, dest=select, type=None, callback=None, help=Comma-separated list of errors and warnings to enable. For example, ``--select=E4,E51,W234``. (Default: %default), callback=None, callback_args=None, callback_kwargs=None, metavar=errors)".
manager.py                 210 DEBUG    Registered option "Option(None, --disable-noqa, action=store_true, default=False, dest=disable_noqa, type=None, callback=None, help=Disable the effect of "# noqa". This will report errors on lines with "# noqa" at the end., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --show-source, action=store_true, default=None, dest=show_source, type=None, callback=None, help=Show the source generate each error or warning., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --statistics, action=store_true, default=None, dest=statistics, type=None, callback=None, help=Count errors and warnings., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --enable-extensions, action=None, default=, dest=enable_extensions, type=string, callback=None, help=Enable plugins and extensions that are otherwise disabled by default, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --exit-zero, action=store_true, default=None, dest=exit_zero, type=None, callback=None, help=Exit with status code "0" even if there are errors., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --install-hook, action=callback, default=None, dest=install_hook, type=choice, callback=<function install at 0x10b3a0b70>, help=Install a hook that is run prior to a commit for the supported version control system., callback=<function install at 0x10b3a0b70>, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(-j, --jobs, action=None, default=auto, dest=jobs, type=string, callback=None, help=Number of subprocesses to use to run checks in parallel. This is ignored on Windows. The default, "auto", will auto-detect the number of processors available to use. (Default: %default), callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --output-file, action=None, default=None, dest=output_file, type=string, callback=None, help=Redirect report to a file., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --tee, action=store_true, default=False, dest=tee, type=None, callback=None, help=Write to stdout and output-file., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --append-config, action=append, default=None, dest=append_config, type=None, callback=None, help=Provide extra config files to parse in addition to the files found by Flake8 by default. These files are the last ones read and so they take the highest precedence when multiple files provide the same option., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --config, action=None, default=None, dest=config, type=None, callback=None, help=Path to the config file that will be the authoritative config source. This will cause Flake8 to ignore all other configuration files., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --isolated, action=store_true, default=False, dest=isolated, type=None, callback=None, help=Ignore all found configuration files., callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --benchmark, action=store_true, default=False, dest=benchmark, type=None, callback=None, help=Print benchmark information about this run of Flake8, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --bug-report, action=callback, default=None, dest=bug_report, type=None, callback=<function print_information at 0x10b2c1c80>, help=Print information necessary when preparing a bug report, callback=<function print_information at 0x10b2c1c80>, callback_args=None, callback_kwargs={'option_manager': <flake8.options.manager.OptionManager object at 0x10cc48160>}, metavar=None)".
config.py                  128 DEBUG    Found local configuration files: ['/Users/sobolev/Desktop/test_project/setup.cfg']
manager.py                 272 INFO     Loading entry-points for "flake8.extension".
manager.py                 287 DEBUG    Loaded Plugin(name="R70", entry_point="R70 = radon.complexity:Flake8Checker") for plugin "R70".
manager.py                 287 DEBUG    Loaded Plugin(name="N8", entry_point="N8 = pep8ext_naming:NamingChecker") for plugin "N8".
manager.py                 287 DEBUG    Loaded Plugin(name="C90", entry_point="C90 = mccabe:McCabeChecker") for plugin "C90".
manager.py                 287 DEBUG    Loaded Plugin(name="F", entry_point="F = flake8.plugins.pyflakes:FlakesChecker") for plugin "F".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.ambiguous_identifier", entry_point="pycodestyle.ambiguous_identifier = pycodestyle:ambiguous_identifier") for plugin "pycodestyle.ambiguous_identifier".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.bare_except", entry_point="pycodestyle.bare_except = pycodestyle:bare_except") for plugin "pycodestyle.bare_except".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.blank_lines", entry_point="pycodestyle.blank_lines = pycodestyle:blank_lines") for plugin "pycodestyle.blank_lines".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.break_around_binary_operator", entry_point="pycodestyle.break_around_binary_operator = pycodestyle:break_around_binary_operator") for plugin "pycodestyle.break_around_binary_operator".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.comparison_negative", entry_point="pycodestyle.comparison_negative = pycodestyle:comparison_negative") for plugin "pycodestyle.comparison_negative".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.comparison_to_singleton", entry_point="pycodestyle.comparison_to_singleton = pycodestyle:comparison_to_singleton") for plugin "pycodestyle.comparison_to_singleton".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.comparison_type", entry_point="pycodestyle.comparison_type = pycodestyle:comparison_type") for plugin "pycodestyle.comparison_type".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.compound_statements", entry_point="pycodestyle.compound_statements = pycodestyle:compound_statements") for plugin "pycodestyle.compound_statements".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.continued_indentation", entry_point="pycodestyle.continued_indentation = pycodestyle:continued_indentation") for plugin "pycodestyle.continued_indentation".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.explicit_line_join", entry_point="pycodestyle.explicit_line_join = pycodestyle:explicit_line_join") for plugin "pycodestyle.explicit_line_join".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.extraneous_whitespace", entry_point="pycodestyle.extraneous_whitespace = pycodestyle:extraneous_whitespace") for plugin "pycodestyle.extraneous_whitespace".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.imports_on_separate_lines", entry_point="pycodestyle.imports_on_separate_lines = pycodestyle:imports_on_separate_lines") for plugin "pycodestyle.imports_on_separate_lines".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.indentation", entry_point="pycodestyle.indentation = pycodestyle:indentation") for plugin "pycodestyle.indentation".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.maximum_line_length", entry_point="pycodestyle.maximum_line_length = pycodestyle:maximum_line_length") for plugin "pycodestyle.maximum_line_length".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.missing_whitespace", entry_point="pycodestyle.missing_whitespace = pycodestyle:missing_whitespace") for plugin "pycodestyle.missing_whitespace".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.missing_whitespace_after_import_keyword", entry_point="pycodestyle.missing_whitespace_after_import_keyword = pycodestyle:missing_whitespace_after_import_keyword") for plugin "pycodestyle.missing_whitespace_after_import_keyword".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.missing_whitespace_around_operator", entry_point="pycodestyle.missing_whitespace_around_operator = pycodestyle:missing_whitespace_around_operator") for plugin "pycodestyle.missing_whitespace_around_operator".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.module_imports_on_top_of_file", entry_point="pycodestyle.module_imports_on_top_of_file = pycodestyle:module_imports_on_top_of_file") for plugin "pycodestyle.module_imports_on_top_of_file".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.python_3000_backticks", entry_point="pycodestyle.python_3000_backticks = pycodestyle:python_3000_backticks") for plugin "pycodestyle.python_3000_backticks".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.python_3000_has_key", entry_point="pycodestyle.python_3000_has_key = pycodestyle:python_3000_has_key") for plugin "pycodestyle.python_3000_has_key".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.python_3000_not_equal", entry_point="pycodestyle.python_3000_not_equal = pycodestyle:python_3000_not_equal") for plugin "pycodestyle.python_3000_not_equal".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.python_3000_raise_comma", entry_point="pycodestyle.python_3000_raise_comma = pycodestyle:python_3000_raise_comma") for plugin "pycodestyle.python_3000_raise_comma".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.tabs_obsolete", entry_point="pycodestyle.tabs_obsolete = pycodestyle:tabs_obsolete") for plugin "pycodestyle.tabs_obsolete".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.tabs_or_spaces", entry_point="pycodestyle.tabs_or_spaces = pycodestyle:tabs_or_spaces") for plugin "pycodestyle.tabs_or_spaces".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.trailing_blank_lines", entry_point="pycodestyle.trailing_blank_lines = pycodestyle:trailing_blank_lines") for plugin "pycodestyle.trailing_blank_lines".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.trailing_whitespace", entry_point="pycodestyle.trailing_whitespace = pycodestyle:trailing_whitespace") for plugin "pycodestyle.trailing_whitespace".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.whitespace_around_comma", entry_point="pycodestyle.whitespace_around_comma = pycodestyle:whitespace_around_comma") for plugin "pycodestyle.whitespace_around_comma".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.whitespace_around_keywords", entry_point="pycodestyle.whitespace_around_keywords = pycodestyle:whitespace_around_keywords") for plugin "pycodestyle.whitespace_around_keywords".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.whitespace_around_named_parameter_equals", entry_point="pycodestyle.whitespace_around_named_parameter_equals = pycodestyle:whitespace_around_named_parameter_equals") for plugin "pycodestyle.whitespace_around_named_parameter_equals".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.whitespace_around_operator", entry_point="pycodestyle.whitespace_around_operator = pycodestyle:whitespace_around_operator") for plugin "pycodestyle.whitespace_around_operator".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.whitespace_before_comment", entry_point="pycodestyle.whitespace_before_comment = pycodestyle:whitespace_before_comment") for plugin "pycodestyle.whitespace_before_comment".
manager.py                 287 DEBUG    Loaded Plugin(name="pycodestyle.whitespace_before_parameters", entry_point="pycodestyle.whitespace_before_parameters = pycodestyle:whitespace_before_parameters") for plugin "pycodestyle.whitespace_before_parameters".
manager.py                 287 DEBUG    Loaded Plugin(name="Q0", entry_point="Q0 = flake8_quotes:QuoteChecker") for plugin "Q0".
manager.py                 287 DEBUG    Loaded Plugin(name="S001", entry_point="S001 = flake8_pep3101:Flake8Pep3101") for plugin "S001".
manager.py                 287 DEBUG    Loaded Plugin(name="D", entry_point="D = flake8_docstrings:pep257Checker") for plugin "D".
manager.py                 287 DEBUG    Loaded Plugin(name="C4", entry_point="C4 = flake8_comprehensions:ComprehensionChecker") for plugin "C4".
manager.py                 287 DEBUG    Loaded Plugin(name="C81", entry_point="C81 = flake8_commas:CommaChecker") for plugin "C81".
manager.py                 287 DEBUG    Loaded Plugin(name="A00", entry_point="A00 = flake8_builtins:BuiltinsChecker") for plugin "A00".
manager.py                 287 DEBUG    Loaded Plugin(name="B", entry_point="B = bugbear:BugBearChecker") for plugin "B".
manager.py                 287 DEBUG    Loaded Plugin(name="B90", entry_point="B90 = flake8_blind_except:check_blind_except") for plugin "B90".
manager.py                 272 INFO     Loading entry-points for "flake8.listen".
manager.py                 272 INFO     Loading entry-points for "flake8.report".
manager.py                 287 DEBUG    Loaded Plugin(name="default", entry_point="default = flake8.formatting.default:Default") for plugin "default".
manager.py                 287 DEBUG    Loaded Plugin(name="pylint", entry_point="pylint = flake8.formatting.default:Pylint") for plugin "pylint".
manager.py                 287 DEBUG    Loaded Plugin(name="quiet-filename", entry_point="quiet-filename = flake8.formatting.default:FilenameOnly") for plugin "quiet-filename".
manager.py                 287 DEBUG    Loaded Plugin(name="quiet-nothing", entry_point="quiet-nothing = flake8.formatting.default:Nothing") for plugin "quiet-nothing".
manager.py                 176 INFO     Loading plugin "R70" from entry-point.
manager.py                 176 INFO     Loading plugin "N8" from entry-point.
manager.py                 176 INFO     Loading plugin "C90" from entry-point.
manager.py                 176 INFO     Loading plugin "F" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.ambiguous_identifier" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.bare_except" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.blank_lines" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.break_around_binary_operator" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.comparison_negative" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.comparison_to_singleton" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.comparison_type" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.compound_statements" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.continued_indentation" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.explicit_line_join" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.extraneous_whitespace" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.imports_on_separate_lines" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.indentation" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.maximum_line_length" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.missing_whitespace" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.missing_whitespace_after_import_keyword" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.missing_whitespace_around_operator" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.module_imports_on_top_of_file" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.python_3000_backticks" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.python_3000_has_key" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.python_3000_not_equal" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.python_3000_raise_comma" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.tabs_obsolete" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.tabs_or_spaces" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.trailing_blank_lines" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.trailing_whitespace" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.whitespace_around_comma" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.whitespace_around_keywords" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.whitespace_around_named_parameter_equals" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.whitespace_around_operator" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.whitespace_before_comment" from entry-point.
manager.py                 176 INFO     Loading plugin "pycodestyle.whitespace_before_parameters" from entry-point.
manager.py                 176 INFO     Loading plugin "Q0" from entry-point.
manager.py                 176 INFO     Loading plugin "S001" from entry-point.
manager.py                 176 INFO     Loading plugin "D" from entry-point.
manager.py                 176 INFO     Loading plugin "C4" from entry-point.
manager.py                 176 INFO     Loading plugin "C81" from entry-point.
manager.py                 176 INFO     Loading plugin "A00" from entry-point.
manager.py                 176 INFO     Loading plugin "B" from entry-point.
manager.py                 176 INFO     Loading plugin "B90" from entry-point.
manager.py                 176 INFO     Loading plugin "default" from entry-point.
manager.py                 176 INFO     Loading plugin "pylint" from entry-point.
manager.py                 176 INFO     Loading plugin "quiet-filename" from entry-point.
manager.py                 176 INFO     Loading plugin "quiet-nothing" from entry-point.
manager.py                 231 DEBUG    Registering options from plugin "R70" on OptionManager <flake8.options.manager.OptionManager object at 0x10cc48160>
manager.py                 210 DEBUG    Registered option "Option(None, --radon-max-cc, action=store, default=-1, dest=radon_max_cc, type=int, callback=None, help=Radon complexity threshold, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --radon-no-assert, action=store_true, default=False, dest=no_assert, type=None, callback=None, help=Radon will ignore assert statements, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 219 DEBUG    Removing ['R70'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove R70 from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['R70']
manager.py                 231 DEBUG    Registering options from plugin "N8" on OptionManager <flake8.options.manager.OptionManager object at 0x10cc48160>
manager.py                 210 DEBUG    Registered option "Option(None, --ignore-names, action=store, default=setUp,tearDown,setUpClass,tearDownClass, dest=ignore_names, type=string, callback=None, help=List of names the pep8-naming plugin should ignore. (Defaults to %default), callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 219 DEBUG    Removing ['N8'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove N8 from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['N8']
manager.py                 231 DEBUG    Registering options from plugin "C90" on OptionManager <flake8.options.manager.OptionManager object at 0x10cc48160>
manager.py                 210 DEBUG    Registered option "Option(None, --max-complexity, action=store, default=-1, dest=max_complexity, type=int, callback=None, help=McCabe complexity threshold, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 219 DEBUG    Removing ['C90'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove C90 from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['C90']
manager.py                 231 DEBUG    Registering options from plugin "F" on OptionManager <flake8.options.manager.OptionManager object at 0x10cc48160>
manager.py                 210 DEBUG    Registered option "Option(None, --builtins, action=None, default=None, dest=builtins, type=None, callback=None, help=define more built-ins, comma separated, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --doctests, action=store_true, default=False, dest=doctests, type=None, callback=None, help=check syntax of the doctests, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --include-in-doctest, action=None, default=, dest=include_in_doctest, type=string, callback=None, help=Run doctests only on these files, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --exclude-from-doctest, action=None, default=, dest=exclude_from_doctest, type=string, callback=None, help=Skip these files when running doctests, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 219 DEBUG    Removing ['F'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove F from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['F']
manager.py                 231 DEBUG    Registering options from plugin "Q0" on OptionManager <flake8.options.manager.OptionManager object at 0x10cc48160>
manager.py                 210 DEBUG    Registered option "Option(None, --quotes, action=store, default=None, dest=quotes, type=choice, callback=None, help=Deprecated alias for `--inline-quotes`, callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --inline-quotes, action=store, default=', dest=inline_quotes, type=choice, callback=None, help=Quote to expect in all files (default: '), callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 210 DEBUG    Registered option "Option(None, --multiline-quotes, action=store, default=None, dest=multiline_quotes, type=choice, callback=None, help=Quote to expect in all files (default: """), callback=None, callback_args=None, callback_kwargs=None, metavar=None)".
manager.py                 219 DEBUG    Removing ['Q0'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove Q0 from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['Q0']
manager.py                 219 DEBUG    Removing ['S001'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove S001 from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['S001']
manager.py                 219 DEBUG    Removing ['D'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove D from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['D']
manager.py                 219 DEBUG    Removing ['C4'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove C4 from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['C4']
manager.py                 219 DEBUG    Removing ['C81'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove C81 from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['C81']
manager.py                 219 DEBUG    Removing ['A00'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove A00 from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['A00']
manager.py                 231 DEBUG    Registering options from plugin "B" on OptionManager <flake8.options.manager.OptionManager object at 0x10cc48160>
manager.py                 234 DEBUG    Extending default ignore list with ['B901', 'B902', 'B903', 'B950']
manager.py                 219 DEBUG    Removing ['B'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove B from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['B']
manager.py                 219 DEBUG    Removing ['B90'] from the default ignore list
manager.py                 225 DEBUG    Attempted to remove B90 from default ignore but it was not a member of the list.
manager.py                 244 DEBUG    Extending default select list with ['B90']
config.py                  235 DEBUG    User configuration files have no flake8 section
config.py                  224 DEBUG    Local configuration files have no flake8 section
aggregator.py               52 DEBUG    Extended default ignore list: ['B901', 'B950', 'B903', 'B902']
aggregator.py               55 DEBUG    Merged default ignore list: ['E123', 'E226', 'E24', 'E121', 'B950', 'B903', 'E704', 'W503', 'W504', 'B901', 'E126', 'B902']
aggregator.py               59 DEBUG    Extended default select list: ['R70', 'C4', 'N8', 'C81', 'A00', 'B90', 'B', 'D', 'F', 'Q0', 'C90', 'S001']
manager.py                 208 DEBUG    Providing options to plugin "R70".
manager.py                 208 DEBUG    Providing options to plugin "N8".
manager.py                 208 DEBUG    Providing options to plugin "C90".
manager.py                 208 DEBUG    Providing options to plugin "F".
manager.py                 208 DEBUG    Providing options to plugin "Q0".
manager.py                 376 DEBUG    Retrieving plugin for "default".
manager.py                 371 DEBUG    Checking for "default" in plugin type manager.
manager.py                 376 DEBUG    Retrieving plugin for "default".
checker.py                 341 INFO     Making checkers
checker.py                 198 DEBUG    "/Users/sobolev/Desktop/test_project/server/main_app/views.py" has not been excluded
checker.py                 248 INFO     Checking 1 files
application.py             311 INFO     Finished running
application.py             339 INFO     Reporting errors
style_guide.py             273 DEBUG    Deciding if "D100" should be reported
style_guide.py             277 DEBUG    The user configured "D100" to be "Ignored.Implicitly", "Ignored.Explicitly"
style_guide.py             312 DEBUG    "D100" will be "Decision.Ignored"
style_guide.py              95 DEBUG    Violation(code='D100', filename='/Users/sobolev/Desktop/test_project/server/main_app/views.py', line_number=1, column_number=1, text='Missing docstring in public module', physical_line='# -*- coding: utf-8 -*-\n') is not inline ignored
style_guide.py             273 DEBUG    Deciding if "D103" should be reported
style_guide.py             277 DEBUG    The user configured "D103" to be "Ignored.Implicitly", "Selected.Implicitly"
style_guide.py             312 DEBUG    "D103" will be "Decision.Selected"
style_guide.py              95 DEBUG    Violation(code='D103', filename='/Users/sobolev/Desktop/test_project/server/main_app/views.py', line_number=8, column_number=1, text='Missing docstring in public function', physical_line='def fetch_some_data() -> dict:\n') is not inline ignored
style_guide.py             273 DEBUG    Deciding if "D401" should be reported
style_guide.py             277 DEBUG    The user configured "D401" to be "Ignored.Implicitly", "Ignored.Explicitly"
style_guide.py             312 DEBUG    "D401" will be "Decision.Ignored"
style_guide.py              95 DEBUG    Violation(code='D401', filename='/Users/sobolev/Desktop/test_project/server/main_app/views.py', line_number=12, column_number=1, text='First line should be in imperative mood; try rephrasing', physical_line='def index(request):\n') is not inline ignored
application.py             343 INFO     Found a total of 3 violations and reported 1
===================== 1 failed, 23 passed in 4.41 seconds ======================


@tholo
Copy link
Owner

tholo commented Dec 7, 2017

This actually appears to be new behavior from pytest -- not from the pytest-flake8 plugin, in that it will print anything that has been logged through the logging module automatically. And the code being tested logs a fair bit of things with severity DEBUG.

@tholo tholo closed this as completed Dec 7, 2017
@ederag
Copy link

ederag commented Jan 1, 2018

Just stumbled on exactly the same issue, with another project.
The code with so many DEBUG output is flake8 itself.
Those are exactly the same output as if flake8 -vv had been used.
This occurs even with

[flake8]
quiet = 1

in setup.cfg
So it seems that pytest-flake8 passes the -vv option to flake8 instead of --quiet ?
This occurs without any -vv in the calling line:
python3 setup.py test --addopts "-rs --doctest-modules --flake8"

pytest-flake8-0.9.1
pytest-3.3.1
flake8-3.5.0

@tholo
Copy link
Owner

tholo commented Jan 1, 2018

Again, this is due to pytest having change behavior as of version 3.3.x -- if a test fails it will automagically output any captured log output (something it did not use to do), due to now having integrated the functionality of pytest-catchlog

@sobolevn
Copy link
Author

sobolevn commented Jan 1, 2018

This output turns off via -p no:logging

@tholo
Copy link
Owner

tholo commented Jan 1, 2018

All right. Don't know if that is how to do it after pytest-catchlog was integrated. I'd suggest maybe using --no-print-logs instead...

@ederag
Copy link

ederag commented Jan 2, 2018

Both addopts = -p no:logging and --no-print-logs work here. Thanks !
In some case (now fixed) they yielded different results though:
pytest-dev/pytest#2968
Comment left in this interesting discussion about changing behavior in next version:
pytest-dev/pytest#3013 (comment)

@eirnym
Copy link

eirnym commented Jan 13, 2018

The solution here is not set addopts = -p no:logging as it disables logging from our test also, but configure flake8 logger to set its' log level to WARN or ERROR before executing the flake8

logging.getLogger('flake8').setLevel(logging.WARN)

@eirnym
Copy link

eirnym commented Jan 13, 2018

#43

@lastmikoi
Copy link

Apparently the current pytest version (pytest>=3.4.2) doesn't require the -p no:logging workaround any more. Time to enjoy proper logging again :)

@jaraco
Copy link

jaraco commented Jun 21, 2019

I'm still experiencing this issue. Someone submitted a pull request to a project I have configured with pytest-flake8. When they did, they got this output corresponding to about 24 flake8 issues. This uber-verbose output renders the CI output essentially unusable.

I would expect the default behavior of pytest-flake8 would be not to emit debug logging unless explicitly requested. Is there any way you can make the default behavior less verbose, or do you genuinely think all users of pytest-flake8 should be configuring the log level using logging.getLogger('flake8').setLevel()? If the latter, shouldn't that at least be indicated in the documentation somewhere with some guidance about when and where to invoke this setting?

@MartinThoma
Copy link

Quick solution: Add a file conftest.py to your project (same level as setup.py) with the content:

import logging


def pytest_configure(config):
    logging.getLogger('flake8').setLevel(logging.WARN)

@alexdewar
Copy link

alexdewar commented Oct 26, 2022

I'm still having this issue and none of the suggested fixes work for me 😢. I tried adding conftest.py and running with addopts = -p no:logging and --no-print-logs.

Below is part of the output I'm getting. The full log runs to >11,000 (!) lines, for a measly 14 errors.

============================= test session starts ==============================
platform linux -- Python 3.9.13, pytest-7.1.3, pluggy-1.0.0 -- /home/alex/code/iPANACEA/.venv/bin/python
cachedir: .pytest_cache
rootdir: /home/alex/code/iPANACEA, configfile: setup.cfg
plugins: cov-3.0.0, flake8-1.1.1, mock-3.10.0, timeout-2.1.0, mypy-0.9.1
timeout: 30.0s
timeout method: signal
timeout func_only: False
collecting ... collected 70 items

conftest.py::mypy FAILED                                                 [  1%]
conftest.py::mypy-status FAILED                                          [  2%]
conftest.py::flake-8::FLAKE8 FAILED                                      [  4%]
devtools/__init__.py::mypy PASSED                                        [  5%]
devtools/__init__.py::flake-8::FLAKE8 FAILED                             [  7%]
devtools/plot_data.py::mypy PASSED                                       [  8%]
devtools/plot_data.py::flake-8::FLAKE8 SKIPPED (file(s) previously p...) [ 10%]
devtools/pyinstaller_stub.py::mypy PASSED                                [ 11%]
devtools/pyinstaller_stub.py::flake-8::FLAKE8 SKIPPED (file(s) previ...) [ 12%]
devtools/recorder.py::mypy PASSED                                        [ 14%]
devtools/recorder.py::flake-8::FLAKE8 FAILED                             [ 15%]
ipanacea/__init__.py::mypy PASSED                                        [ 17%]
ipanacea/__init__.py::flake-8::FLAKE8 SKIPPED (file(s) previously pa...) [ 18%]
ipanacea/config.py::mypy PASSED                                          [ 20%]
ipanacea/config.py::flake-8::FLAKE8 SKIPPED (file(s) previously pass...) [ 21%]
ipanacea/extensions/__init__.py::mypy PASSED                             [ 22%]
ipanacea/extensions/__init__.py::flake-8::FLAKE8 SKIPPED (file(s) pr...) [ 24%]
ipanacea/extensions/main/__init__.py::mypy PASSED                        [ 25%]
ipanacea/extensions/main/__init__.py::flake-8::FLAKE8 SKIPPED (file(...) [ 27%]
ipanacea/extensions/main/auth_dialog.py::mypy PASSED                     [ 28%]
ipanacea/extensions/main/auth_dialog.py::flake-8::FLAKE8 SKIPPED (fi...) [ 30%]
ipanacea/extensions/main/control_panel.py::mypy PASSED                   [ 31%]
ipanacea/extensions/main/control_panel.py::flake-8::FLAKE8 SKIPPED (...) [ 32%]
ipanacea/extensions/main/data_file_settings_dialog.py::mypy PASSED       [ 34%]
ipanacea/extensions/main/data_file_settings_dialog.py::flake-8::FLAKE8 SKIPPED [ 35%]
ipanacea/extensions/main/muscles_panel.py::mypy PASSED                   [ 37%]
ipanacea/extensions/main/muscles_panel.py::flake-8::FLAKE8 SKIPPED (...) [ 38%]
ipanacea/extensions/main/participant_panel.py::mypy PASSED               [ 40%]
ipanacea/extensions/main/participant_panel.py::flake-8::FLAKE8 SKIPPED   [ 41%]
ipanacea/extensions/main/plot_canvas.py::mypy PASSED                     [ 42%]
ipanacea/extensions/main/plot_canvas.py::flake-8::FLAKE8 SKIPPED (fi...) [ 44%]
ipanacea/extensions/main/plot_panel.py::mypy PASSED                      [ 45%]
ipanacea/extensions/main/plot_panel.py::flake-8::FLAKE8 SKIPPED (fil...) [ 47%]
ipanacea/extensions/main/plot_settings_dialog.py::mypy PASSED            [ 48%]
ipanacea/extensions/main/plot_settings_dialog.py::flake-8::FLAKE8 SKIPPED [ 50%]
ipanacea/extensions/main/presenter.py::mypy PASSED                       [ 51%]
ipanacea/extensions/main/presenter.py::flake-8::FLAKE8 SKIPPED (file...) [ 52%]
ipanacea/extensions/main/pyglet_canvas.py::mypy PASSED                   [ 54%]
ipanacea/extensions/main/pyglet_canvas.py::flake-8::FLAKE8 FAILED        [ 55%]
ipanacea/extensions/main/record_panel.py::mypy PASSED                    [ 57%]
ipanacea/extensions/main/record_panel.py::flake-8::FLAKE8 FAILED         [ 58%]
ipanacea/extensions/main/settings_file.py::mypy PASSED                   [ 60%]
ipanacea/extensions/main/settings_file.py::flake-8::FLAKE8 FAILED        [ 61%]
ipanacea/extensions/main/view.py::mypy PASSED                            [ 62%]
ipanacea/extensions/main/view.py::flake-8::FLAKE8 SKIPPED (file(s) p...) [ 64%]
ipanacea/extensions/panacea/__init__.py::mypy PASSED                     [ 65%]
ipanacea/extensions/panacea/__init__.py::flake-8::FLAKE8 SKIPPED (fi...) [ 67%]
ipanacea/extensions/panacea/base.py::mypy PASSED                         [ 68%]
ipanacea/extensions/panacea/base.py::flake-8::FLAKE8 FAILED              [ 70%]
ipanacea/extensions/panacea/data_acquisition.py::mypy PASSED             [ 71%]
ipanacea/extensions/panacea/data_acquisition.py::flake-8::FLAKE8 FAILED  [ 72%]
ipanacea/extensions/panacea/data_recorder.py::mypy PASSED                [ 74%]
ipanacea/extensions/panacea/data_recorder.py::flake-8::FLAKE8 FAILED     [ 75%]
ipanacea/extensions/panacea/ftdi.py::mypy PASSED                         [ 77%]
ipanacea/extensions/panacea/ftdi.py::flake-8::FLAKE8 SKIPPED (file(s...) [ 78%]
ipanacea/extensions/panacea/mock.py::mypy PASSED                         [ 80%]
ipanacea/extensions/panacea/mock.py::flake-8::FLAKE8 FAILED              [ 81%]
ipanacea/extensions/panacea/panacea.py::mypy PASSED                      [ 82%]
ipanacea/extensions/panacea/panacea.py::flake-8::FLAKE8 SKIPPED (fil...) [ 84%]
ipanacea/extensions/panacea/pyserial.py::mypy PASSED                     [ 85%]
ipanacea/extensions/panacea/pyserial.py::flake-8::FLAKE8 SKIPPED (fi...) [ 87%]
tests/__init__.py::mypy PASSED                                           [ 88%]
tests/__init__.py::flake-8::FLAKE8 FAILED                                [ 90%]
tests/test_data_recorder.py::mypy PASSED                                 [ 91%]
tests/test_data_recorder.py::flake-8::FLAKE8 FAILED                      [ 92%]
tests/test_data_recorder.py::test_data_recorder PASSED                   [ 94%]
tests/test_panacea.py::mypy PASSED                                       [ 95%]
tests/test_panacea.py::flake-8::FLAKE8 SKIPPED (file(s) previously p...) [ 97%]
tests/test_panacea.py::test_panacea_read PASSED                          [ 98%]
tests/test_panacea.py::test_panacea_broken_read PASSED                   [100%]

=================================== FAILURES ===================================
_________________________________ conftest.py __________________________________
4: error: Function is missing a type annotation
_________________________________ test session _________________________________
mypy exited with status 1.
_________________________________ FLAKE8-check _________________________________
/home/alex/code/iPANACEA/conftest.py:1:1: D100 Missing docstring in public module
/home/alex/code/iPANACEA/conftest.py:4:1: D103 Missing docstring in public function

----------------------------- Captured stderr call -----------------------------
2022/10/26 16:05:19 [WARNING] manager.__init__(217): option --max-complexity: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future
2022/10/26 16:05:19 [DEBUG] parser.parse_module(625): parsing module.
2022/10/26 16:05:19 [DEBUG] parser.parse_docstring(456): parsing docstring, token is tk.NAME (import)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (import)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (logging)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NEWLINE (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NL (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NL (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (def)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definition(660): parsing Function 'pytest_configure'
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.COMMENT (# loggers = [logging.getLogger(name) for name in logging.root.manager.loggerDict])
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.NL (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.COMMENT (# print(loggers))
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.NL (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.COMMENT (# assert False)
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.NL (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.COMMENT (# logging.getLogger().setLevel(logging.WARN))
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.NL (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.NL (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_skip_comment(733): parsing comments before docstring, token is tk.INDENT (    )
2022/10/26 16:05:19 [DEBUG] parser.parse_docstring(456): parsing docstring, token is tk.NAME (loggers)
2022/10/26 16:05:19 [DEBUG] parser.parse_definition(683): current accumulated decorators: []
2022/10/26 16:05:19 [DEBUG] parser.parse_definition(685): parsing nested definitions.
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (loggers)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (=)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP ([)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (logging)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (.)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (getLogger)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (()
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (name)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP ())
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (for)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (name)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (in)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (logging)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (.)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (root)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (.)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (manager)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (.)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (loggerDict)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (])
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NEWLINE (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (for)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (logger)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (in)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (loggers)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (:)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NEWLINE (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.INDENT (        )
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (logger)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (.)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (setLevel)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (()
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (logging)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP (.)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NAME (WARN)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.OP ())
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.NEWLINE (
)
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: False
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.DEDENT ()
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.DEDENT ()
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_definition(687): finished parsing nested definitions for 'pytest_configure'
2022/10/26 16:05:19 [DEBUG] parser.parse_definition(713): finished parsing Function 'pytest_configure'. Next token is Token(kind=tk.ENDMARKER, value='', start=(13, 0), end=(13, 0), source='')
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(527): parsing definition list, current token is tk.ENDMARKER ()
2022/10/26 16:05:19 [DEBUG] parser.parse_definitions(532): got_newline: True
2022/10/26 16:05:19 [DEBUG] parser.parse_module(652): finished parsing module.
_________________________________ FLAKE8-check _________________________________
/home/alex/code/iPANACEA/devtools/__init__.py:1:1: D104 Missing docstring in public package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants