mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 05:54:17 +00:00
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:
parent
95c373cf11
commit
31c32e3327
4 changed files with 37 additions and 2 deletions
5
tests/fixtures/config_files/config-with-hyphenated-options.ini
vendored
Normal file
5
tests/fixtures/config_files/config-with-hyphenated-options.ini
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[flake8]
|
||||
max-line-length = 110
|
||||
enable_extensions =
|
||||
H101,
|
||||
H235
|
||||
Loading…
Add table
Add a link
Reference in a new issue