File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 run : ruff check .
3434
3535 - name : Test (pytest)
36- run : pytest -q --cov=pitwaller --cov-report=xml
37-
38- - name : Upload coverage to Codecov
39- if : matrix.python-version == '3.12'
40- uses : codecov/codecov-action@v4
41- with :
42- token : ${{ secrets.CODECOV_TOKEN }}
43- files : ./coverage.xml
44- fail_ci_if_error : false
36+ run : pytest -q
Original file line number Diff line number Diff line change @@ -4,7 +4,4 @@ __pycache__/
44* .pyc
55.pytest_cache /
66.ruff_cache /
7- .coverage
8- coverage.xml
9- htmlcov /
107.venv /
Original file line number Diff line number Diff line change 11# pitwaller
22
33[ ![ CI] ( https://github.com/norwytch/pitwaller/actions/workflows/ci.yml/badge.svg )] ( https://github.com/norwytch/pitwaller/actions/workflows/ci.yml )
4- [ ![ codecov] ( https://codecov.io/gh/norwytch/pitwaller/graph/badge.svg )] ( https://codecov.io/gh/norwytch/pitwaller )
54[ ![ Python] ( https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue )] ( pyproject.toml )
65[ ![ License: MIT] ( https://img.shields.io/badge/license-MIT-green )] ( LICENSE )
76[ ![ 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 )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ clip = ["open_clip_torch>=2.20", "torch>=2.0"]
3131# Class-imbalance remediation (ADASYN). The policy *recommends* this; install
3232# it only if you wire the action up to an actual rebalancing job.
3333rebalance = [" imbalanced-learn>=0.11" ]
34- dev = [" pytest>=7" , " pytest-cov>=4 " , " ruff>=0.1" ]
34+ dev = [" pytest>=7" , " ruff>=0.1" ]
3535
3636[project .urls ]
3737Homepage = " https://github.com/norwytch/pitwaller"
@@ -46,10 +46,3 @@ testpaths = ["tests"]
4646
4747[tool .ruff ]
4848line-length = 100
49-
50- [tool .coverage .run ]
51- source = [" pitwaller" ]
52- branch = true
53-
54- [tool .coverage .report ]
55- show_missing = true
You can’t perform that action at this time.
0 commit comments