Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Dec 12, 2021

Conversation

dsegan
Copy link

@dsegan dsegan commented Dec 3, 2021

Closes issue #63.

… when async methods are present on a class.
flake8_simplify.py Outdated Show resolved Hide resolved
flake8_simplify.py Outdated Show resolved Hide resolved
tests/test_simplify.py Outdated Show resolved Hide resolved
@MartinThoma
Copy link
Owner

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

tests/test_simplify.py Outdated Show resolved Hide resolved
@MartinThoma MartinThoma merged commit 6eb41c9 into MartinThoma:master Dec 12, 2021
@dsegan
Copy link
Author

dsegan commented Dec 15, 2021

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

@dsegan dsegan deleted the sim119-improve-rules branch December 15, 2021 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants