我最近尝试为Python3安装Flake8,此后,我收到以下错误消息:
/Users/dorsam/.atom/packages/linter/lib/linter-registry.js:159 [Linter] Error running Flake8 Error: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pycodestyle.py:113: FutureWarning: Possible nested set at position 1
EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
at ChildProcess.<anonymous> (/Users/dorsam/.atom/packages/linter-flake8/node_modules/sb-exec/lib/index.js:56:20)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:554:12)
Run Code Online (Sandbox Code Playgroud)
看这里: https: //docs.python.org/3/library/re.html
将来可能会添加对 Unicode 技术标准 #18 中的嵌套集合和集合操作的支持。这将改变语法,因此为了促进这一改变,暂时将在不明确的情况下引发 FutureWarning。这包括以文字“[”开头或包含文字字符序列“--”、“&&”、“~~”和“||”的集合。为了避免警告,请使用反斜杠转义它们。
| 归档时间: |
|
| 查看次数: |
711 次 |
| 最近记录: |