MartinThoma / flake8-simplify

❄ A flake8 plugin that helps you to simplify code
MIT License
186 stars 19 forks source link

Make SIM119 not trigger on complex operations in the constructor, and when async methods are present on a class. #74

Closed dsegan closed 2 years ago

dsegan commented 2 years ago

Closes issue #63.

MartinThoma commented 2 years ago

@dsegan Thank you very much for the PR! Looks good - I just have some minor changes to keep the maximum line length.

dsegan commented 2 years ago

@MartinThoma Thanks a bunch for the quick review, and my apologies for the line length omissions!