Rachel's home page
  • Research
  • Publications
  • CV
  • Blog Posts
    Rui Sun

    Rui Sun

    Ph.D. student
    Biomedical Engineering
    Carnegie Mellon University

    • GitHub

    Pycharm ignore PEP8 errors

    less than 1 minute read

    Taken from https://gist.github.com/StefanoMagrassi/6c78b6f48599377a5c805fd58a5cd93d

    1. Go to settings, search for Inspections (Under Editor, Code style)
    2. Find and click PEP8 code style violation. In the right panel, there is ignore errors option.
    3. Find the error code of interest, e.g. E501 line too long here, and paste the code to Pycharm.
    4. Ok the setting.

    Tags: Python

    Categories: Coding

    Updated: April 07, 2020

    Previous Next
    © 2022 Rui Sun. Powered by Jekyll & Minimal Mistakes.