-
Notifications
You must be signed in to change notification settings - Fork 59
40 lines (38 loc) · 1.02 KB
/
pylint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Pylint
on:
push:
branches: [master]
paths:
- "nazurin/**"
pull_request:
types: [opened, reopened, synchronize, edited]
branches: [master]
paths:
- "nazurin/**"
- ".github/workflows/pylint.yaml"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
echo "::group::Install pip"
python -m pip install --upgrade pip
echo "::endgroup::"
echo "::group::Install dependencies"
pip install -r requirements.txt
echo "::endgroup::"
- name: Lint
uses: y-young/python-lint-annotate@v1
with:
python-root-list: ./nazurin
extra-pylint-options: --fail-on=F,E --fail-under=9.5