Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
是我的类内装饰器不够 Pythonic 还是 PyCharm 在 lint 警告方面不够智能?
我想在类中定义一个装饰器 我不想将它定义为一个单独的 独立的函数 因为这个装饰器是专门针对这个类的 我想将相关的方法保留在一起 这个装饰器的目的是检查一些先决条件 特别是成员变量持有的数据库连接 SSH连接等是否仍然可用 如果不是 则不会调
python
pycharm
decorator
staticanalysis
Lint
如何在 Vim 中执行 JSLint
我每天都在 vim 中度过 目前正在编写大量 JavaScript 我一直在尝试找到一种方法将 JSLint 或类似的东西集成到 vim 中以改进我的编码 有没有人设法做这样的事情 我试过这个 Vim 中的 Javascript 语法检查
javascript
Vim
Lint
使用 android:id="@+android:id/my_id" 时出现“无法解析符号”错误
当我将 android id background 添 加到命名空间时 Lint 抱怨它 无法解析符号 即使我请求添加它而不是调用它 代码按编写的方式工作 但错误仍然存 在 当我改变时
Android
AndroidStudio
Lint
Pylint 未在 VScode 中按预期运行
当我通过 shell 运行时pylint pylint decorator py No config file found using default configuration Module decorator C 7 0 Unneces
python
VisualStudioCode
Lint
eslint / typescript:无法解析模块的路径
My eslintrc json is env browser true commonjs true es6 true node true jest true parserOptions ecmaFeatures jsx true sour
javascript
typescript
eslint
Lint
如果我在 android 代码中使用 java.lang.Iterable#forEach,Lint 会给出错误
在我的 android 代码 Kotlin 中 我使用 java iterable 的 forEach 方法 mandatoryViews forEach view gt my code here 下面是我在 build gradle ap
Java
Android
kotlin
Lint
androidlint
如何对 .cshtml 文件进行 lint 处理?
使用 ESLint 可以轻松检查 js 文件 使用 html 或 script tag 之类的插件 在 html 文件中的标签内检查 JavaScript 代码也很简单 但是 当涉及 cshtml 文件内的脚本标记时 我陷入困境 有谁知道如
aspnetcoremvc
eslint
Lint
Android - 将除某些警告之外的所有 lint 警告设置为错误
当新的 lint 警告不在其中时 我试图使我的持续集成使构建失败lint baseline xml文件有介绍 我希望将所有 lint 警告视为错误 因此构建被中止 但我想要一种方法来指定某些 lint 检查被视为信息或警告级别 以便它们仍然
Android
AndroidStudio
androidgradleplugin
Lint
androidlint
在 c 中: func(void) 与 func() [重复]
这个问题在这里已经有答案了 当 C 函数不接受任何参数时 是否必须按照语言规则使用 void 参数来声明 定义它 当参数列表中没有任何内容时 PC Lint 似乎会出现问题 我想知道这是否是我不知道的语言语法中的某些内容 Edit 我刚刚发
c
function
void
Lint
PClint
从 Android Studio lint 拼写检查器中排除文件
Android Studio lint 拼写检查器会标记十六进制代码 这些代码看起来就像某些文件中的单词 最好不检查 例如values colors xml and build intermediates dex cache cache x
AndroidStudio
spellchecking
Lint
如何忽略“__init__.py”文件中的 Pyflakes 错误“已导入但未使用”?
我将测试分成多个 Python 文件 tests init py test apples py test bananas py py 我将测试导入 init py 文件中 from test apples import ApplesTest
python
import
Lint
pyflakes
针对性能不佳的 Lint 警告 - 80+ 次观看
我收到此 lint 警告错误 highscores xml has more than 80 views bad for performance 这是我的高分表 有 15 行 3 列 这是我的应用程序的 Lite 版本 我的付费版本将容纳
Android
xml
performance
Lint
找不到 com.android.tools.lint:lint-gradle Android Studio 3
我已将 Android Studio 更新到 3 0 现在收到了很多问题 现在停止解决此类问题 Could not resolve all files for configuration applib lintClassPath gt Co
Android
AndroidStudio
Lint
androidstudio30
在命令行上使用 Android lint 忽略库项目
我将 Android lint 与 Jenkins 结合使用 需要忽略我的团队未修改的库项目 特别是 Action Bar Sherlock 以便我们可以从 Android lint 获得有用的结果 目前 我正在从命令行启动 lint 并将
Android
jenkins
continuousintegration
Lint
如何在 Angular 中定义枚举类型以不违反 tslint typedef 规则
为了能够在模板中使用枚举 我们在 ts 文件中编写以下代码 在工作流程Progress ts中 export enum WorkflowProgress cancelled 0 inProgress done 在组件 ts中 export
angular
typescript
Lint
tslint
如何在 Android Studio 中找到所有相关的硬编码字符串?
以前曾有人问过这个问题的一些风格 但我不明白它们的答案对于大型项目来说如何令人满意 我的目标是找到应用程序中需要本地化的任何硬编码字符串 因此我执行以下操作 选择我想要从项目层次结构中运行硬编码字符串检查的目录 导航到分析 gt 按名称运行
Android
regex
sed
Lint
“{ }”的 Visual Studio Code 格式
我在Ubuntu上 Visual Studio Code 中的 C 自动 lints 就像 if condition true DoStuff 相反 我想做 if condition true DoStuff 我怎么做 我已经安装了C C
c
Ubuntu
VisualStudioCode
Lint
删除对局部变量 c# 的无用赋值
var stopFyon new StopFYON IEnumerable
c
Lint
SonarLint
命令行上的 Android lint 缺少问题组(与 Android Studio 中提供的选项相比)
当我通过 分析 gt 检查代码 在 Android Studio 中运行 lint 时 我可以从多种要查找的内容中进行选择 当我转到 lint 的命令行版本并列出所有要检查的可用内容 lint list 时 我得到的列表不包括我在 Andr
Android
Lint
如何从 tslint 中排除文件夹?
我喜欢排除test在 vscode 中使用 tslint 进行文件夹表单 linting 所以我在 tslint json 配置文件中放置了一个排除项 不幸的是 排除语句不起作用 有谁知道如何设置排除吗 exclude tests ts r
javascript
VisualStudioCode
Lint
tslint
«
1
2
3
4
»