Merge pull request #1238 from minrk/main

pre-commit update to fix ci
pull/1241/head
Min RK 2023-02-03 15:23:46 +01:00 zatwierdzone przez GitHub
commit 13ee5f4075
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
6 zmienionych plików z 8 dodań i 4 usunięć

Wyświetl plik

@ -11,6 +11,7 @@ on:
- "**.rst"
- ".github/workflows/*"
- "!.github/workflows/docker.yml"
- ".pre-commit-config.yaml"
push:
paths-ignore:
- "docs/**"
@ -18,6 +19,7 @@ on:
- "**.rst"
- ".github/workflows/*"
- "!.github/workflows/docker.yml"
- ".pre-commit-config.yaml"
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"

Wyświetl plik

@ -11,6 +11,7 @@ on:
- "**.rst"
- ".github/workflows/*"
- "!.github/workflows/release.yml"
- ".pre-commit-config.yaml"
push:
paths-ignore:
- "docs/**"
@ -18,6 +19,7 @@ on:
- "**.rst"
- ".github/workflows/*"
- "!.github/workflows/release.yml"
- ".pre-commit-config.yaml"
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"

Wyświetl plik

@ -11,6 +11,7 @@ on:
- "**.rst"
- ".github/workflows/*"
- "!.github/workflows/test.yml"
- ".pre-commit-config.yaml"
push:
paths-ignore:
- "docs/**"
@ -18,6 +19,7 @@ on:
- "**.rst"
- ".github/workflows/*"
- "!.github/workflows/test.yml"
- ".pre-commit-config.yaml"
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"

Wyświetl plik

@ -23,7 +23,7 @@ repos:
# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
args:
@ -36,7 +36,7 @@ repos:
# Autoformat: Python code
- repo: https://github.com/pycqa/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort
args:

Wyświetl plik

@ -95,7 +95,6 @@ def test_detect_dataverse(test_input, expected, requests_mock):
@pytest.fixture
def dv_files(tmpdir):
f1 = tmpdir.join("some-file.txt")
f1.write("some content")

Wyświetl plik

@ -35,7 +35,6 @@ hydroshare_data = {
def test_content_id(requests_mock):
requests_mock.get(re.compile("https://"), json=hydroshare_data)
requests_mock.get(re.compile("https://doi.org"), json=doi_resolver)