Parse hyphenated config names also

Previously Flake8 parsed both

    max-line-length = 110

And

    max_line_length = 110

From the config file without issue. When we updated our logic, I forgot
to test for that and we lost that behaviour temporarily.

Closes #152
This commit is contained in:
Ian Cordasco 2016-06-28 05:47:14 -05:00
parent 95c373cf11
commit 31c32e3327
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A
4 changed files with 37 additions and 2 deletions

View file

@ -0,0 +1,5 @@
[flake8]
max-line-length = 110
enable_extensions =
H101,
H235