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

pylint runs slow on sqlalchemy #8673

Closed
jstucke opened this issue May 10, 2023 · 1 comment
Closed

pylint runs slow on sqlalchemy #8673

jstucke opened this issue May 10, 2023 · 1 comment
Labels
Duplicate 🐫 Duplicate of an already existing issue

Comments

@jstucke
Copy link

jstucke commented May 10, 2023

Bug description

Pylint somehow takes an unreasonable amount of time to lint some files. I especially noticed it with sqlalchemy.func.

Configuration

No response

Command used

Minimal example:

docker run -it --rm --entrypoint=bash python:3.11
pip install sqlalchemy pylint
echo $'from sqlalchemy import func\n\nfunc.array_agg' > test.py
time pylint test.py

Pylint output

************* Module test
/test.py:1:0: C0114: Missing module docstring (missing-module-docstring)
/test.py:3:0: W0104: Statement seems to have no effect (pointless-statement)

------------------------------------------------------------------
Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)


real	0m29.884s
user	0m29.723s
sys	0m0.160s

Expected behavior

I would not expect pylint to take almost 30 seconds for a two line file.

Pylint version

pylint 2.17.4
astroid 2.15.4
python 3.11.2

OS / Environment

Debian GNU/Linux 11 (bullseye)

Additional dependencies

No response

@jstucke jstucke added the Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling label May 10, 2023
@Pierre-Sassoulas
Copy link
Member

Thank you for opening the issue. I'm going to close as a duplicate of #8150, no one worked on it yet (sadly).

@Pierre-Sassoulas Pierre-Sassoulas closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2023
@Pierre-Sassoulas Pierre-Sassoulas added Duplicate 🐫 Duplicate of an already existing issue and removed Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling labels May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate 🐫 Duplicate of an already existing issue
Projects
None yet
Development

No branches or pull requests

2 participants