mirror of
https://github.com/Emersont1/itchio.git
synced 2026-03-11 08:54:39 +00:00
* Update `--help` Description Update the output of `--help` so it returns `itch-download` as the program name, and returns an accurate description of what the program does. * Make it clear `https://` needs to exist to download a specific game * Fix `pylint` errors Add missing docstring to the two CLI tools. Limit the length of strings. * Keep consistent style when listing platform types * Make `--human-folders` a proper on/off flag The `ArgumentParser.add_argument()` call has been updated to show up as an 'on/off' argument. * Conform to Code Style Guide * Add CLI tools to the linting workflow
25 lines
589 B
YAML
25 lines
589 B
YAML
name: Linting
|
|
on:
|
|
- push
|
|
- pull_request
|
|
jobs:
|
|
black:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: psf/black@stable
|
|
pylint:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python 3.10
|
|
uses: actions/setup-python@v3
|
|
with:
|
|
python-version: '3.10'
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install poetry
|
|
poetry install
|
|
- name: Analysing the code with pylint
|
|
run: poetry run pylint --rcfile=.pylintrc itchiodl/ itchiodl/downloader/ itchiodl/bundle_tool/
|