mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 14:54:17 +00:00
Merge pull request #1454 from asottile/unused-example-code
remove unused example-code test fixtures
This commit is contained in:
commit
17822984a5
5 changed files with 1 additions and 7 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
exclude: ^tests/fixtures/
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.0.1
|
rev: v4.0.1
|
||||||
|
|
@ -7,6 +6,7 @@ repos:
|
||||||
- id: debug-statements
|
- id: debug-statements
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
exclude: ^tests/fixtures/
|
||||||
- repo: https://github.com/asottile/reorder_python_imports
|
- repo: https://github.com/asottile/reorder_python_imports
|
||||||
rev: v2.6.0
|
rev: v2.6.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
||||||
0
tests/fixtures/example-code/empty.py
vendored
0
tests/fixtures/example-code/empty.py
vendored
|
|
@ -1,4 +0,0 @@
|
||||||
from some.module.that.has.nested.sub.modules import \
|
|
||||||
ClassWithVeryVeryVeryVeryLongName # noqa: E501,F401
|
|
||||||
|
|
||||||
# ClassWithVeryVeryVeryVeryLongName()
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
example = lambda: 'example' # noqa: E731
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
foo(
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue