1 Star 3 Fork 0

个人收藏室/semgrep

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mypy-tests.ini 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
Bence Nagy 提交于 2020-11-20 19:42 . Bump pre-commit hooks (#2100)
[mypy]
# Globals
python_version = 3.7
# Strict typing options
mypy_path = ./stubs
# Avoid configuration issues
warn_unused_configs = True
# Import Discovery
ignore_missing_imports = True
follow_imports = normal
# Dynamic typing
disallow_subclassing_any = True
disallow_any_generics = False
disallow_any_unimported = False
disallow_any_expr = False
disallow_any_decorated = False
disallow_any_explicit = False
# Untyped definitions and calls
disallow_untyped_calls = False
disallow_untyped_defs = False
disallow_incomplete_defs = False
check_untyped_defs = True
disallow_untyped_decorators = False
# Implicit optional
no_implicit_optional = True
# Other warns
warn_redundant_casts = True
warn_unused_ignores = False
warn_return_any = True
# Ignore missing imports for third party libraries without type stubs
# Must have one entry per package
# Should reduce the size of this section as time goes on
# colorama
[mypy-colorama]
ignore_missing_imports = True
# tqdm
[mypy-tqdm.*]
ignore_missing_imports = True
# packaging
[mypy-packaging.*]
ignore_missing_imports = True
[mypy-semgrep.rule_match]
disallow_any_decorated = False
warn_return_any = False
[mypy-semgrep.pattern_match]
disallow_any_decorated = False
warn_return_any = False
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/software-reverse-engineering/semgrep.git
[email protected]:software-reverse-engineering/semgrep.git
software-reverse-engineering
semgrep
semgrep
EJ-2307-php-metavar

搜索帮助