Skip to content
Commit c85b282b authored by Anthony Sottile's avatar Anthony Sottile
Browse files

Fix performance regression with per-file-ignores

With a large number of errors, filenames, and per-file-ignores the style guide
selection would take a significant portion of execution time
(python3 70% / python2 99.9%).

Caching the styleguide lookup by filename eliminates this bottleneck.
parent ee7081c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment