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

Flake8 #5

Merged
merged 4 commits into from
Oct 12, 2023
Merged

Flake8 #5

merged 4 commits into from
Oct 12, 2023

Conversation

alexeagle
Copy link
Member

These three commits should not be squashed: they represent the three steps I'll document for adding your own linter.

point to adding linter instructions
@alexeagle alexeagle force-pushed the flake8 branch 2 times, most recently from 949c47e to a0517d0 Compare October 12, 2023 17:47
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".
lint/README.md Show resolved Hide resolved
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"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented line?

Copy link
Member Author

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 ...)

@alexeagle alexeagle merged commit 496572a into main Oct 12, 2023
4 checks passed
@alexeagle alexeagle deleted the flake8 branch October 12, 2023 17:53
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