[Attribution] Initial MCP integration to make NVRx attr module as a tool of nvidia-resiliency agent #826
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint Code | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Install linting dependencies | |
| run: | | |
| pip install black==24.10.0 isort==5.13.2 ruff==0.6.9 | |
| - name: Run Black | |
| run: | | |
| black --check . | |
| - name: Run isort | |
| run: | | |
| isort --check-only . | |
| - name: Run Ruff | |
| run: | | |
| ruff check . |