File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Linter & Type Checker
2+ on : [push, pull_request]
3+ jobs :
4+ ruff :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v4
8+
9+ - name : Lint with Ruff
10+ uses : astral-sh/ruff-action@v3
11+ with :
12+ version : 0.9.6
13+
14+ - name : Format with Ruff
15+ uses : astral-sh/ruff-action@v3
16+ with :
17+ version : 0.9.6
18+ args : " format --check --diff"
19+
20+ pyright :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v4
24+
25+ - name : Setup UV
26+ uses : astral-sh/setup-uv@v5
27+ with :
28+ enable-cache : true
29+
30+ - name : Synchronize dependencies
31+ run : uv sync
32+
33+ - name : Check with Pyright
34+ uses : jakebailey/pyright-action@v2
35+ with :
36+ pylance-version : latest-release
37+ project : pyproject.toml
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Developers Foundry Wallet User Service System
44
55  ;
66[ ![ Version: v1.2.0] ( https://img.shields.io/badge/api-v1.2.0-blue?style=flat&logo=money )] ( CHANGELOG.md )
7+ [ ![ Checked with pyright] ( https://microsoft.github.io/pyright/img/pyright_badge.svg )] ( https://microsoft.github.io/pyright/ )
8+ [ ![ Ruff] ( https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json )] ( https://github.com/astral-sh/ruff )
79
810---
911
You can’t perform that action at this time.
0 commit comments