Closed
Description
Sample script
> cat hello.py (hodgepodge)
"""
Hello.
"""
import pandas as pd
def hello():
"""
Hello.
"""
test_pdf = pd.DataFrame([[1, 2, 3]])
Running pylint
> /usr/bin/time pylint hello.py
No config file found, using default configuration
************* Module hello
W: 12, 4: Unused variable 'test_pdf' (unused-variable)
------------------------------------------------------------------
Your code has been rated at 6.67/10 (previous run: 6.67/10, +0.00)
Command exited with non-zero status 4
48.05user 0.15system 0:44.80elapsed 107%CPU (0avgtext+0avgdata 193132maxresident)k
0inputs+8outputs (0major+72586minor)pagefaults 0swaps
pylint --version output
pylint --version No config file found, using default configuration
pylint 1.9.1,
astroid 1.6.4
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56)
[GCC 7.2.0]
Q1. Is this expected behaviour?
Q1a. If so is there a way to make pylint ignore pandas?