add elixir extensions #562
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: format | |
on: [push, pull_request] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: pip3 install .[dev] | |
- name: Run --help | |
run: oj-api -h | |
- name: Run pylint | |
run: pylint --rcfile=setup.cfg onlinejudge onlinejudge_api tests setup.py | |
- name: Run isort | |
run: isort --check-only --diff onlinejudge onlinejudge_api tests setup.py | |
- name: Run yapf | |
run: yapf --diff --recursive onlinejudge onlinejudge_api tests setup.py | |
- name: Run mypy | |
run: mypy onlinejudge onlinejudge_api tests setup.py |