diff --git a/.cruft.json b/.cruft.json index f41b4471..7badedd0 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/iterative/py-template", - "commit": "c4e24f909659b6ce9c34a1da631290f0c70ff2f2", + "commit": "efb0a22625c1d83e687f2bd284f3e96a20d16711", "checkout": null, "context": { "cookiecutter": { diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6423ed58..56084215 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ef9faa35..ddea0049 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -58,7 +58,7 @@ jobs: run: pytest -v tests --cov --cov-report=xml --cov-config=pyproject.toml - name: Upload coverage report - uses: codecov/codecov-action@v3.1.1 + uses: codecov/codecov-action@v3.1.4 test_core: timeout-minutes: 30 diff --git a/.github/workflows/update-template.yaml b/.github/workflows/update-template.yaml index 2fe700d8..59f0b2ec 100644 --- a/.github/workflows/update-template.yaml +++ b/.github/workflows/update-template.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update template uses: iterative/py-template@main diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4ce8f054..d964c8d8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,10 @@ default_language_version: python: python3 repos: + - repo: https://github.com/psf/black + rev: 23.9.1 + hooks: + - id: black - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: @@ -10,30 +14,26 @@ repos: - id: check-executables-have-shebangs - id: check-json - id: check-merge-conflict - args: ['--assume-in-merge'] + args: ["--assume-in-merge"] - id: check-toml - id: check-yaml - id: debug-statements - id: end-of-file-fixer - id: mixed-line-ending - args: ['--fix=lf'] + args: ["--fix=lf"] - id: sort-simple-yaml - id: trailing-whitespace - - repo: https://github.com/psf/black - rev: 23.9.1 - hooks: - - id: black - - repo: https://github.com/PyCQA/isort - rev: 5.12.0 - hooks: - - id: isort - repo: https://github.com/codespell-project/codespell rev: v2.2.5 hooks: - id: codespell additional_dependencies: ["tomli"] + - repo: https://github.com/PyCQA/isort + rev: 5.12.0 + hooks: + - id: isort - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: 'v0.0.291' + rev: "v0.0.291" hooks: - id: ruff