File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : ["**"]
6+ pull_request :
7+ branches : ["**"]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.13"
19+
20+ - name : Install tooling
21+ run : |
22+ python -m pip install --upgrade pip
23+ python -m pip install pytest pytest-asyncio ruff mypy
24+
25+ - name : Lint
26+ run : ruff check .
27+
28+ - name : Type check
29+ run : mypy
30+
31+ - name : Tests
32+ run : pytest -q
Original file line number Diff line number Diff line change @@ -15,4 +15,18 @@ dependencies = [
1515dev = [
1616 " pytest>=9.0.1" ,
1717 " pytest-asyncio>=1.3.0" ,
18+ " ruff>=0.8.0" ,
19+ " mypy>=1.10.0" ,
1820]
21+
22+ [tool .ruff ]
23+ line-length = 100
24+ target-version = " py313"
25+
26+ [tool .ruff .lint ]
27+ select = [" E9" , " F63" , " F7" , " F82" ]
28+
29+ [tool .mypy ]
30+ python_version = " 3.13"
31+ ignore_missing_imports = true
32+ files = [" feedback_agent/json_utils.py" ]
You can’t perform that action at this time.
0 commit comments