diff options
| author | Anthony Sottile <asottile@umich.edu> | 2019-01-31 09:18:17 -0800 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-01-31 09:23:02 -0800 |
| commit | c85b282b05745a1b2a7392bbfa0e5489bf6c3ff7 (patch) | |
| tree | 8acbc36ac19ad2485c09f44a1f2de9bbfa51792d /setup.py | |
| parent | ee7081c8cea838fe57110f23899234e373988bec (diff) | |
| download | flake8-c85b282b05745a1b2a7392bbfa0e5489bf6c3ff7.tar.gz | |
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.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ requires = [ extras_require = { ":python_version<'3.4'": ['enum34'], ":python_version<'3.5'": ['typing'], - ":python_version<'3.2'": ['configparser'], + ":python_version<'3.2'": ['configparser', 'functools32'], } if int(setuptools.__version__.split('.')[0]) < 18: |
