-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (36 loc) · 958 Bytes
/
lints.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
41
42
43
# SPDX-License-Identifier: MIT
name: Lints
on:
schedule:
# Run each Sun
- cron: '0 0 * * 0'
push:
pull_request:
workflow_dispatch:
env:
PYTHONPATH: src:test
jobs:
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run Black code format checker
run: |
pip install black
black --check src/facere_sensum/connectors
- name: Run Pylint static code analyser
run: |
pip install coverage pylint
pylint src/facere_sensum test fsy.py
- name: Run Bandit security analyser
run: |
pip install bandit
bandit -r src/facere_sensum
bandit -r test
bandit fsy.py
- name: Dry-run Sphinx documentation generator
run: |
pip install sphinx
sphinx-build -b html -n -W doc tmp