1. Tarek Ziadé
  2. flake8
  3. Pull requests

Pull requests

#1 Merged
Repository
acdha
Branch
default
Repository
tarek
Branch
default

Avoid crashing when running McCabe check on standalone modules

Author
  1. Chris Adams
Reviewers
Description

This avoids crashes when compiler.parse() chokes on modules (e.g. DJANGO_SETTINGS_MODULE, init.py, etc.) which is quite annoying when I have flake8 bound to my editor's save function.

Comments (0)