Merge pull request #1454 from asottile/unused-example-code

remove unused example-code test fixtures
This commit is contained in:
Anthony Sottile 2021-11-14 11:45:25 -05:00 committed by GitHub
commit 17822984a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 7 deletions

View file

@ -1,4 +1,3 @@
exclude: ^tests/fixtures/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
@ -7,6 +6,7 @@ repos:
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: ^tests/fixtures/
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
hooks:

View file

View file

@ -1,4 +0,0 @@
from some.module.that.has.nested.sub.modules import \
ClassWithVeryVeryVeryVeryLongName # noqa: E501,F401
# ClassWithVeryVeryVeryVeryLongName()

View file

@ -1 +0,0 @@
example = lambda: 'example' # noqa: E731

View file

@ -1 +0,0 @@
foo(