Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
yml 21 lines 562 Bytes
Raw
1 id: py-unchecked-ignore
2 language: Python
3 severity: error
4 message: Fix the type error or limit type-ignore to specific error codes with an explanation.
5 files: ['python/**', 'scripts/**', '.github/scripts/**']
6 ignores:
7 - '**/node_modules/**'
8 - '**/.venv/**'
9 - '**/.nox/**'
10 - '**/build/**'
11 - '**/dist/**'
12 - '**/test/**'
13 - '**/tests/**'
14 - '**/integration_test/**'
15 - '**/test_*.py'
16 - '**/*_test.py'
17 rule:
18 kind: comment
19 regex: '^#\s*type:\s*ignore\b'
20 not:
21 regex: '^#\s*type:\s*ignore\s*\[\s*[a-z][a-z0-9-]*(\s*,\s*[a-z][a-z0-9-]*)*\s*\]'