-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Flake8 #5
Conversation
c3bf01a
to
2d371e7
Compare
point to adding linter instructions
949c47e
to
a0517d0
Compare
First commit in "how to add a new linter".
Second commit in "how to add a new linter".
Third commit in "how to add a new linter".
implementation = _flake8_aspect_impl, | ||
# Edges we need to walk up the graph from the selected targets. | ||
# Needed for linters that need semantic information like transitive type declarations. | ||
# attr_aspects = ["deps"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's intentionally commented, this commit is also an example, so someone studying it may need this (if they wanted to add mypy, say ... @dzbarsky ...)
These three commits should not be squashed: they represent the three steps I'll document for adding your own linter.