Installation
Prerequisites
- Python 3.11 or higher
From Source
- Clone the repository:
- Set up the environment:
- Activate the virtual environment:
Development Setup
To install development dependencies (for testing, linting, and docs):
Docker
Pull the image from GitHub Container Registry:
Run it:
Pre-commit Hook
You can use fetchext in your pre-commit config to automatically audit and scan extensions committed to your repository.
- repo: https://github.com/grok/fetchext
rev: v1.6.0
hooks:
- id: fext-audit
name: Audit Extension
description: Check for MV3 compatibility and security risks.
- id: fext-scan
name: Scan Dependencies
description: Check for vulnerable third-party libraries.
- id: fext-analyze
name: Analyze Complexity
args: ["--complexity"]