Skip to content

Bug with flake8 #31

@NastasiaSaby

Description

@NastasiaSaby

I have a bug when trying to use flake8.

Here is my code:

%pip install flake8 pycodestyle_magic
%load_ext pycodestyle_magic
%flake8_on
a=1

When doing that, I have this error:

Error in callback <bound method VarWatcher.auto_run_flake8 of <pycodestyle_magic.VarWatcher object at 0x7feb812c7d90>> (for post_run_cell):
AttributeError: '_io.StringIO' object has no attribute 'buffer'

Technical details:

  • pycodestyle==2.8.0
  • pycodestyle-magic==0.5
  • Python version = 3.8.8
  • flake8==4.0.1

Is there a bug or something like that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions