File tree Expand file tree Collapse file tree 5 files changed +28
-178
lines changed Expand file tree Collapse file tree 5 files changed +28
-178
lines changed Original file line number Diff line number Diff line change @@ -28,3 +28,5 @@ exclude_lines =
2828precision = 1
2929include =
3030 xcp/*
31+ omit =
32+ xcp/dmv.py
Original file line number Diff line number Diff line change 3636 -
uses :
pre-commit-ci/[email protected] 3737 if : always()
3838
39+
40+ reviewdog :
41+ runs-on : ubuntu-24.04
42+ steps :
43+ - uses : actions/checkout@v4
44+ - uses : actions/setup-python@v5
45+ with :
46+ python-version : 3.13
47+ - name : Install uv and activate the environment
48+ uses : astral-sh/setup-uv@v6
49+ with :
50+ activate-environment : true
51+ - run : uv pip install types-setuptools -r pyproject.toml --extra mypy
52+ - uses : tsuyoshicho/action-mypy@v4
53+ name : Run reviewdog with for mypy
54+ env :
55+ REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56+ with :
57+ install_types : false
58+ mypy_flags : --exclude python-libs-*/stubs/
59+ reporter : github-pr-review
60+ level : warning
61+ github_token : ${{ secrets.GITHUB_TOKEN }}
62+
63+
3964 test :
40- needs : pre-commit
65+ needs : [ pre-commit, reviewdog]
4166 strategy :
4267 # See: https://github.com/xenserver/python-libs/pull/26#discussion_r1179482169
4368 # max-parallel: 1
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments