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

[Python] python/benchmarks/parquet.py has flake8 failures #40439

Closed
kou opened this issue Mar 10, 2024 · 1 comment
Closed

[Python] python/benchmarks/parquet.py has flake8 failures #40439

kou opened this issue Mar 10, 2024 · 1 comment

Comments

@kou
Copy link
Member

kou commented Mar 10, 2024

Describe the bug, including details regarding any error messages, version, and platform.

/arrow/python/benchmarks/parquet.py:18:1: F401 'shutil' imported but unused
/arrow/python/benchmarks/parquet.py:19:1: F401 'tempfile' imported but unused
/arrow/python/benchmarks/parquet.py:23:1: F401 'pandas as pd' imported but unused

Component(s)

Python

@kou kou added the Type: bug label Mar 10, 2024
kou added a commit to kou/arrow that referenced this issue Mar 10, 2024
…quet.py

    /arrow/python/benchmarks/parquet.py:18:1: F401 'shutil' imported but unused
    /arrow/python/benchmarks/parquet.py:19:1: F401 'tempfile' imported but unused
    /arrow/python/benchmarks/parquet.py:23:1: F401 'pandas as pd' imported but unused
kou added a commit that referenced this issue Mar 11, 2024
#40440)

### Rationale for this change

Failures:

    /arrow/python/benchmarks/parquet.py:18:1: F401 'shutil' imported but unused
    /arrow/python/benchmarks/parquet.py:19:1: F401 'tempfile' imported but unused
    /arrow/python/benchmarks/parquet.py:23:1: F401 'pandas as pd' imported but unused

### What changes are included in this PR?

* Remove unused imports.
* Add python/benchmarks/ to lint targets.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #40439

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou added this to the 16.0.0 milestone Mar 11, 2024
@kou
Copy link
Member Author

kou commented Mar 11, 2024

Issue resolved by pull request 40440
#40440

@kou kou closed this as completed Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant