Implement fetching files from XMLRPC or static directory #180
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: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint_docs: | |
name: rstcheck | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: pip install -U rstcheck doc8 sphinx | |
- name: Run rstcheck | |
run: rstcheck -r docs | |
- name: Run doc8 | |
run: doc8 --ignore D001 docs | |
python_black: | |
name: black formatter | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check files using the black formatter | |
uses: rickstaa/action-black@v1 | |
id: action_black | |
with: | |
black_args: ". --check --safe --verbose" | |
version: "22.3.0" | |
pyright: | |
name: pyright | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: ["3.6", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install importlib-resources | |
pip install .[lint_requires,tests_require] | |
- name: Analysing the code with pyright | |
run: | | |
pyright $(git ls-files '*.py') | |
isort: | |
name: isort | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.6 | |
- uses: isort/isort-action@master | |
with: | |
requirementsFiles: "pyproject.toml" | |