docs: add contribution guidelines #12
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
| # Copyright (c) European Space Agency, 2025. | |
| # | |
| # This file is subject to the terms and conditions defined in file 'LICENCE.txt', which | |
| # is part of this source code package. No part of the package, including | |
| # this file, may be copied, modified, propagated, or distributed except according to | |
| # the terms contained in the file 'LICENCE.txt'. | |
| name: Dead Code Detection | |
| on: [pull_request] | |
| jobs: | |
| vulture-strict: | |
| name: Vulture (100% confidence - blocking) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Run vulture (100% confidence) | |
| run: | | |
| echo "Running vulture dead code detection (100% confidence - blocking)..." | |
| uvx vulture cutana/ cutana_ui/ .vulture_whitelist.py --min-confidence 100 | |
| vulture-warnings: | |
| name: Vulture (60% confidence - not required) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Run vulture (60% confidence) | |
| run: | | |
| echo "Running vulture dead code detection (60% confidence)..." | |
| echo "This check fails if potential dead code is found, but is not required to pass." | |
| echo "" | |
| uvx vulture cutana/ cutana_ui/ .vulture_whitelist.py --min-confidence 60 |