White space in argument-

latex编译的时候出现了上述问题
说的是空格的问题。
在引用的时候,中间不能加空格:

\cite{2019Multimodal, gkoumas2021makes}

注意上面逗号的后面有个空格,所以报错了。

去掉空格就好了。

说来惭愧,之前居然没有遇到过这个问题。

  • 14
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
xiazai.py:10:0: C0301: Line too long (130/100) (line-too-long) xiazai.py:29:21: C0303: Trailing whitespace (trailing-whitespace) xiazai.py:30:0: W0311: Bad indentation. Found 10 spaces, expected 12 (bad-indentation) xiazai.py:40:0: C0301: Line too long (103/100) (line-too-long) xiazai.py:41:0: C0301: Line too long (153/100) (line-too-long) xiazai.py:53:0: C0305: Trailing newlines (trailing-newlines) xiazai.py:1:0: C0114: Missing module docstring (missing-module-docstring) xiazai.py:7:0: C0103: Constant name "url" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:13:13: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) xiazai.py:14:16: I1101: Module 'lxml.etree' has no 'HTML' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member) xiazai.py:19:0: C0103: Constant name "num" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:21:4: R1723: Unnecessary "elif" after "break", remove the leading "el" from "elif" (no-else-break) xiazai.py:24:17: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) xiazai.py:25:20: I1101: Module 'lxml.etree' has no 'HTML' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member) xiazai.py:28:8: C0103: Constant name "judge" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:28:31: C0209: Formatting a regular string which could be a f-string (consider-using-f-string) xiazai.py:30:22: C0209: Formatting a regular string which could be a f-string (consider-using-f-string) xiazai.py:31:14: C0209: Formatting a regular string which could be a f-string (consider-using-f-string) xiazai.py:34:8: C0103: Constant name "chapter_num" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:38:29: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) xiazai.py:39:32: I1101: Module 'lxml.etree' has no 'HTML' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member) xiazai.py:41:22: C0209: Formatting a regular string which could be a f-string (consider-using-f-string) xiazai.py:42:16: C0103: Constant name "all_content" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:44:20: R1713: Consider using str.join(sequence) for concatenating strings from an iterable (consider-using-join) ----------------------------------- Your code has been rated at 5.43/10
最新发布
07-15
根据你提供的代码检查结果,有一些问题需要注意和修正: 1. 第10行代码的长度超过了100个字符,建议将其分割成多行或缩短长度。 2. 第29行代码存在尾部空格,建议删除。 3. 第30行代码的缩进不正确,应该是12个空格而不是10个空格。 4. 第40行和第41行的代码长度超过了100个字符,建议进行分割或缩短长度。 5. 第53行代码存在多余的换行符,建议删除。 6. 第1行代码缺少模块文档字符串,建议添加以提供模块的说明。 7. 第7行和第19行的常量命名不符合大写命名规范,建议改为大写命名。 8. 第13行和第24行的`requests.get`方法缺少超时参数,可能导致程序无限期挂起,建议添加超时参数。 9. 第14行和第25行的`lxml.etree`模块没有`HTML`成员,可能需要将其添加到`extension-pkg-allow-list`中。 10. 第21行的`elif`语句在`break`之后是不必要的,建议删除`elif`关键字。 11. 第28行代码中的字符串格式化可以改为使用f-string进行简化。 12. 第30行和第31行的字符串格式化也可以改为使用f-string进行简化。 13. 第34行和第44行的常量命名不符合大写命名规范,建议改为大写命名。 14. 第38行和第39行的`requests.get`方法缺少超时参数,可能导致程序无限期挂起,建议添加超时参数。 15. 第39行的`lxml.etree`模块没有`HTML`成员,可能需要将其添加到`extension-pkg-allow-list`中。 16. 第41行的字符串格式化可以改为使用f-string进行简化。 17. 第42行的常量命名不符合大写命名规范,建议改为大写命名。 18. 第44行的字符串连接可以考虑使用`str.join(sequence)`来简化。 以上是对你提供的代码进行的静态分析和建议,希望对你有所帮助。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

binqiang2wang

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值