-
-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (39 loc) · 965 Bytes
/
lint.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
name: Lint CI
on:
pull_request:
push:
branches: [ master ]
paths:
- b
- bin/*
- '**.py'
jobs:
shell-lint:
name: Check shell code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint with shellcheck
uses: ludeeus/[email protected]
env:
SHELLCHECK_OPTS: -e 2012 -e SC2046 -e SC2086 -e SC2164
with:
ignore_paths: |
./bin/bails-wallet
./bin/ibd-progress
./bin/backupd
# python-lint:
# name: Check Python code
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.x'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install pylint
# - name: Lint with pylint
# run: pylint **/*.py