Fix max_acceleration_power_off_time returning 0 when controllers are present #1305
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: Linters | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| paths: | |
| - "**.py" | |
| - "**.ipynb" | |
| - ".github/**" | |
| - "pyproject.toml" | |
| - "requirements*" | |
| - ".pylintrc" | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10"] | |
| steps: | |
| - uses: actions/checkout@main | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@main | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install .[all] | |
| pip install .[tests] | |
| pip install pylint ruff | |
| - name: Ruff (lint) | |
| run: ruff check --output-format=github . | |
| - name: Ruff (format) | |
| run: ruff format --check . | |
| - name: Pylint | |
| run: | | |
| pylint rocketpy/ tests/ docs/ |