Skip to content

Commit fc427d0

Browse files
authored
fix codecov and precommit (#264)
* fix codecov * fix precomit * remove fixes
1 parent 3ab41eb commit fc427d0

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/codecov.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,3 @@ comment:
1515
layout: "diff, flags, files"
1616
behavior: once
1717
require_base: false
18-
19-
fixes:
20-
- "/spatialdata-plot/spatialdata-plot/::spatialdata-plot/src/spatialdat_plot/"

.github/workflows/test.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ jobs:
7070
name: plotting-results
7171
path: /home/runner/work/spatialdata-plot/spatialdata-plot/tests/figures/*
7272
- name: Upload coverage to Codecov
73-
uses: codecov/codecov-action@v3
73+
uses: codecov/codecov-action@v4
7474
with:
75-
token: ${{ secrets.CODECOV_TOKEN }}
76-
fail_ci_if_error: true # optional (default = false)
77-
verbose: true # optional (default = false)
75+
name: coverage
76+
verbose: true
77+
env:
78+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ci:
99
skip: []
1010
repos:
1111
- repo: https://github.com/psf/black
12-
rev: 24.3.0
12+
rev: 24.4.2
1313
hooks:
1414
- id: black
1515
- repo: https://github.com/pre-commit/mirrors-prettier
@@ -21,13 +21,13 @@ repos:
2121
hooks:
2222
- id: blacken-docs
2323
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: v1.9.0
24+
rev: v1.10.0
2525
hooks:
2626
- id: mypy
2727
additional_dependencies: [numpy, types-requests]
2828
exclude: tests/|docs/
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
30-
rev: v0.3.5
30+
rev: v0.4.5
3131
hooks:
3232
- id: ruff
3333
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)