cli.output: path-only --player argument #636
Workflow file for this run
This file contains 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 | |
on: | |
pull_request: {} | |
jobs: | |
files: | |
name: Files | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: File permissions | |
run: "! grep -Ev '^644' <(git ls-files src/ tests/ | xargs stat '--format=%a %n')" | |
- name: File encodings | |
run: "! grep -E -e 'UTF-[^8]' -e 'UTF-[^ ]+ \\(with BOM\\)' <(git ls-files src/ tests/ | xargs stat '--format=%a %n')" | |
- name: Line terminators | |
run: "! grep 'with CRLF line terminators' <(git ls-files | file -nNf-)" | |
- name: No unicode bidirectional control characters | |
run: "! git grep -EIn $'[\\u2066\\u2067\\u2068\\u2069\\u202A\\u202B\\u202C\\u202D\\u202E]'" | |
style: | |
name: Code style | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: ./script/install-dependencies.sh | |
- name: ruff | |
run: > | |
python -m ruff . | |
typing: | |
name: Typing | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
./script/install-dependencies.sh | |
python -m pip install -r docs-requirements.txt | |
- name: mypy | |
run: | | |
python -m mypy --no-incremental | |
python -m mypy --no-incremental --python-version 3.8 docs |