Thanks to visit codestin.com
Credit goes to github.com

Skip to content

When executing the tox -e flake8 command in version 7.3.0, an error occurs: #1988

@lillianokok

Description

@lillianokok

how did you install flake8?

spack install --keep-stage --dont-restage --no-checksum --overwrite -y [email protected]

unmodified output of flake8 --bug-report

aarch

describe the problem

  Environment Information:
  python: version 3.9.2
  os: Ubuntu 18.04.5
  tox: 4.27.0
  pyflakes 3.4.0
  mccabe 0.7.0
  pycodestyle 2.14.0
  When executing the tox -e flake8 command in version 7.3.0, an error occurs:
  tox -e flake8
  flake8: commands[0]> flake8 src/flake8/ tests/ setup.py
  src/flake8/checker.py:81:36: F821 undefined name '_mp_plugins'
  src/flake8/checker.py:81:57: F821 undefined name '_mp_options'
  flake8: exit 1 (0.84 seconds) /home/stage/root/spack-stage-py-flake8-7.3.0-ot7v6bzuujdp6xjagmu7zf4sn7jzykno/spack-src> flake8 src/flake8/ tests/ setup.py pid=17347
    flake8: FAIL code 1 (0.95=setup[0.11]+cmd[0.84] seconds)
    evaluation failed :( (1.12 seconds)

what I expected to happen

no errors

...

sample code

When executing the tox -e flake8 command in version 7.3.0, an error occurs:

commands ran

$ tox -e flake8 
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions