Skip to content

Commit d7c3b05

Browse files
committed
Including lint check
1 parent 46377cc commit d7c3b05

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{% raw %}
2+
name: Check Code standards
3+
4+
on:
5+
push:
6+
7+
jobs:
8+
set-up-docker:
9+
runs-on: ubuntu-latest
10+
steps:
11+
-
12+
name: Checkout
13+
uses: actions/checkout@v4
14+
-
15+
name: Install ruff and black
16+
run: |
17+
apt update && apt install -y python3-pip && pip install ruff black
18+
-
19+
name: run ruff
20+
run: |
21+
ruff check **/*.py
22+
-
23+
name: run poetry
24+
run: |
25+
black **/*.py
26+
{% endraw %}

0 commit comments

Comments
 (0)