-
Notifications
You must be signed in to change notification settings - Fork 47
32 lines (30 loc) · 746 Bytes
/
lint.yml
File metadata and controls
32 lines (30 loc) · 746 Bytes
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
name: Lint
on:
push:
paths:
- '*.py'
pull_request:
paths:
- '*.py'
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: 3.x
architecture: x64
- name: Checkout python-idex
uses: actions/checkout@v3
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install test dependencies
run: pip install -r test-requirements.txt
- name: Install flake8
run: pip install flake8
- name: Run pyright
uses: jakebailey/pyright-action@v1.0.8
- name: Flake8 action
uses: suo/flake8-github-action@v1