Index files, sample plugin

This commit is contained in:
Rikko 2022-06-14 23:00:51 +05:30
parent 74721d6fd7
commit ef8f14e235
8 changed files with 475 additions and 8 deletions

View file

@ -1,4 +1,4 @@
name: Pylint
name: Flake8
on: [push]
@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
pip install flake8
- name: Execute Flake8
run: |
pylint $(git ls-files '*.py')
flake8 $(git ls-files '*.py')

View file

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
@ -16,7 +16,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
apt install jq
- name: Analysing mods
run: |
echo blabla
for jsonfile in $(git ls-files '*.json'); do jq -e < $jsonfile > /dev/null || exit 1; done