Skip to content

Commit 13ee5f4

Browse files
authored
Merge pull request #1238 from minrk/main
pre-commit update to fix ci
2 parents 45b5080 + 3e6951c commit 13ee5f4

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ on:
1111
- "**.rst"
1212
- ".github/workflows/*"
1313
- "!.github/workflows/docker.yml"
14+
- ".pre-commit-config.yaml"
1415
push:
1516
paths-ignore:
1617
- "docs/**"
1718
- "**.md"
1819
- "**.rst"
1920
- ".github/workflows/*"
2021
- "!.github/workflows/docker.yml"
22+
- ".pre-commit-config.yaml"
2123
branches-ignore:
2224
- "dependabot/**"
2325
- "pre-commit-ci-update-config"

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ on:
1111
- "**.rst"
1212
- ".github/workflows/*"
1313
- "!.github/workflows/release.yml"
14+
- ".pre-commit-config.yaml"
1415
push:
1516
paths-ignore:
1617
- "docs/**"
1718
- "**.md"
1819
- "**.rst"
1920
- ".github/workflows/*"
2021
- "!.github/workflows/release.yml"
22+
- ".pre-commit-config.yaml"
2123
branches-ignore:
2224
- "dependabot/**"
2325
- "pre-commit-ci-update-config"

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ on:
1111
- "**.rst"
1212
- ".github/workflows/*"
1313
- "!.github/workflows/test.yml"
14+
- ".pre-commit-config.yaml"
1415
push:
1516
paths-ignore:
1617
- "docs/**"
1718
- "**.md"
1819
- "**.rst"
1920
- ".github/workflows/*"
2021
- "!.github/workflows/test.yml"
22+
- ".pre-commit-config.yaml"
2123
branches-ignore:
2224
- "dependabot/**"
2325
- "pre-commit-ci-update-config"

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323

2424
# Autoformat: Python code
2525
- repo: https://github.com/psf/black
26-
rev: 22.12.0
26+
rev: 23.1.0
2727
hooks:
2828
- id: black
2929
args:
@@ -36,7 +36,7 @@ repos:
3636

3737
# Autoformat: Python code
3838
- repo: https://github.com/pycqa/isort
39-
rev: 5.11.4
39+
rev: 5.12.0
4040
hooks:
4141
- id: isort
4242
args:

tests/unit/contentproviders/test_dataverse.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ def doi_resolver(req, context):
9595

9696
@pytest.fixture
9797
def dv_files(tmpdir):
98-
9998
f1 = tmpdir.join("some-file.txt")
10099
f1.write("some content")
101100

tests/unit/contentproviders/test_hydroshare.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def doi_resolver(req, context):
3535

3636

3737
def test_content_id(requests_mock):
38-
3938
requests_mock.get(re.compile("https://"), json=hydroshare_data)
4039
requests_mock.get(re.compile("https://doi.org"), json=doi_resolver)
4140

0 commit comments

Comments
 (0)