-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Implement pygrep-hooks #980
Comments
May be tag this issue |
I will implement |
I'm working on |
Working on |
Hey,
fin swimmer |
It is implemented as |
Hm, looks like this is only for stub files ( |
pygrep-hooks
python-check-blanket-noqa
: Enforce thatnoqa
annotations always occur with specific codes. Sample annotations:# noqa: F401
,# noqa: F401,W203
python-check-blanket-type-ignore
: Enforce that# type: ignore
annotations always occur with specific codes. Sample annotations:# type: ignore[attr-defined]
,# type: ignore[attr-defined, name-defined]
python-check-mock-methods
: Prevent common mistakes ofassert mck.not_called()
,assert mck.called_once_with(...)
andmck.assert_called
.python-no-eval
: A quick check for theeval()
built-in functionpython-no-log-warn
: A quick check for the deprecated.warn()
method of python loggerspython-use-type-annotations
: Enforce that python3.6+ type annotations are used instead of type commentsThe text was updated successfully, but these errors were encountered: