File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -468,3 +468,5 @@ contributors:
468468* James Sinclair (irgeek): contributor
469469
470470* Andreas Finkler: contributor
471+
472+ * Sebastian Müller: contributor
Original file line number Diff line number Diff line change @@ -67,6 +67,10 @@ Release date: Undefined
6767
6868* Don't show ``DuplicateBasesError`` for attribute access
6969
70+ * Fix crash when checking ``setup.cfg`` for pylint config when there are non-ascii characters in there
71+
72+ Closes #4328
73+
7074* Allow code flanked in backticks to be skipped by spellchecker
7175
7276 Closes #4319
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def _toml_has_config(path):
2626
2727def _cfg_has_config (path ):
2828 parser = configparser .ConfigParser ()
29- parser .read (path )
29+ parser .read (path , encoding = "utf-8" )
3030 return any (section .startswith ("pylint." ) for section in parser .sections ())
3131
3232
You can’t perform that action at this time.
0 commit comments