Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

393 B
Raw Blame
id: no-new-getattr
language: python
rule:
  any:
    - pattern: getattr($OBJ, $NAME)
    - pattern: getattr($OBJ, $NAME, $$$REST)
    - pattern: builtins.getattr($OBJ, $NAME)
    - pattern: builtins.getattr($OBJ, $NAME, $$$REST)
    - pattern: __builtins__.getattr($OBJ, $NAME)
    - pattern: __builtins__.getattr($OBJ, $NAME, $$$REST)
message: net-new getattr() in added code
severity: error