Autotune: Update README with fixed-wing rate tuning instructions #160
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_python | |
on: [pull_request] | |
jobs: | |
lint_python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10.12' | |
- run: pip install poetry | |
- name: Install same versions as in pre-commit hook | |
run: poetry install --with dev | |
- run: poetry run pre-commit run --all-files | |
- run: pip install bandit codespell flake8 mypy pytest pyupgrade safety | |
- run: bandit --recursive --skip B101 . | |
- run: codespell --ignore-words-list= Bu | |
- run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
- run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --show-source --statistics | |
- run: pip install -r requirements.txt | |
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true | |
- run: pytest . || pytest --doctest-modules . || true | |
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true | |
- run: safety check |