-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 852 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
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.10.12
cache: pip
env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: black
uses: psf/black@stable
with:
version: 23.9.1
jupyter: true
- name: isort
uses: isort/isort-action@master
with:
configuration: "--profile black"
isort-version: 5.12.0
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.2
virtualenvs-create: true
virtualenvs-in-project: true
- name: Test full poetry install
run: poetry install