Skip to content

"pyflakes" failed during execution due to "'FlakesChecker' object has no attribute 'NAMEDEXPR'" #316

@asottile

Description

@asottile

In GitLab by @cclauss on Oct 29, 2019, 04:53

Please read this brief portion of documentation before going any further: http://flake8.pycqa.org/en/latest/internal/contributing.html#filing-a-bug

flake8 testing of https://github.com/psf/black on Python 3.8.0

$ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics

"pyflakes" failed during execution due to "'FlakesChecker' object has no attribute 'NAMEDEXPR'"

Please describe how you installed Flake8

pip install flake8 # on Travis CI os: linux, language: python, python: 3.8

Example:

$ pip install --user flake8
$ brew install flake8
# etc.

Note: Some *nix distributions patch Flake8 arbitrarily to accommodate incompatible software versions. If you're on one of those distributions, your issue may be closed and you will be asked to open an issue with your distribution package maintainers instead.

Please provide the exact, unmodified output of flake8 --bug-report

The command "flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics" exited with 1.

$ flake8 --bug-report

{

  "dependencies": [

    {

      "dependency": "entrypoints",

      "version": "0.3"

    }

  ],

  "platform": {

    "python_implementation": "CPython",

    "python_version": "3.8.0",

    "system": "Linux"

  },

  "plugins": [

    {

      "is_local": false,

      "plugin": "mccabe",

      "version": "0.6.1"

    },

    {

      "is_local": false,

      "plugin": "pycodestyle",

      "version": "2.5.0"

    },

    {

      "is_local": false,

      "plugin": "pyflakes",

      "version": "2.1.1"

    }

  ],

  "version": "3.7.9"

}

Please describe the problem or feature

"pyflakes" failed during execution due to "'FlakesChecker' object has no attribute 'NAMEDEXPR'"

If this is a bug report, please explain with examples (and example code) what you expected to happen and what actually happened.

Normal flake8 output vs.
"pyflakes" failed during execution due to "'FlakesChecker' object has no attribute 'NAMEDEXPR'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions