diff -r 37d8616b44ca -r babe9d606903 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py --- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py Wed Nov 29 14:27:57 2023 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py Wed Nov 29 14:28:46 2023 +0100 @@ -84,7 +84,7 @@ ): # pragma: no cover (<py310) tokenize._compile = lru_cache(tokenize._compile) # type: ignore -__version__ = '2.11.0-eric' +__version__ = '2.11.1-eric' DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__,.tox' DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704,W503,W504' @@ -518,6 +518,7 @@ # appear e.g. as "if x is None:", and async/await, which were # valid identifier names in old Python versions. if (tok0.end == tok1.start and + tok0.type == tokenize.NAME and keyword.iskeyword(tok0.string) and tok0.string not in SINGLETONS and not (tok0.string == 'except' and tok1.string == '*') and