4 ms·
TBH this is true only on the root of black. If you do `uvx pylint src/` it takes 5s on my machine. It's still impressive but it looks like a pathological case
by ndr 4mo ago
TBH this is true only on the root of black. If you do `uvx pylint src/` it takes 5s on my machine.
It's still impressive but it looks like a pathological case in a test directory.
- mezyt 4mo agohttps://github.com/psf/black/tree/main/profiling https://github.com/psf/black/tree/main/profiling
- ndr 4mo agoYes it's that, in particular `duplicate-code`. `pylint . --disable=R0801` will work, `pylint profiling/ --enable=duplicate-code` doesn't seem to exit in a reasonable time. So that's likely hitting some pathological case, possibly accidentallyquadratic.tumblr.com material.