Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/codecov/codecov-ac…
Browse files Browse the repository at this point in the history
…tion-5
  • Loading branch information
tkoyama010 authored Jan 2, 2025
2 parents 7ab108c + 43dfc3f commit f3dd1f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- uses: awalsh128/cache-apt-pkgs-action@v1.1.3
with:
packages: libgl1-mesa-glx xvfb
packages: libosmesa6-dev libgl1-mesa-dev python3-tk pandoc git-restore-mtime
version: 3.0

- name: Build Documentation
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:

- uses: awalsh128/cache-apt-pkgs-action@v1.1.3
with:
packages: libgl1-mesa-glx xvfb python-tk
packages: libosmesa6-dev libgl1-mesa-dev python3-tk pandoc git-restore-mtime
version: 3.0

- name: Software Report
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
run: pip install -ve .
working-directory: pyvista
- name: Install pyvista test requirements
run: pip install -v -r requirements_test.txt
run: pip install -v pyvista[test]
working-directory: pyvista
- name: Install pytest-pyvista
run: pip install -ve .
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ repos:

# this validates our github workflow files
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
rev: 0.30.0
hooks:
- id: check-github-workflows

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.2
rev: v0.8.1
hooks:
- id: ruff
args: [--fix, --show-fixes]
- id: ruff-format

- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.3.3
rev: v3.4.1
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
2 changes: 1 addition & 1 deletion pytest_pyvista/pytest_pyvista.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def __call__(self, plotter): # noqa: ANN001, ANN204, C901, PLR0912
msg = f"{image_filename} does not exist in image cache"
raise RegressionFileNotFound(msg)

if (self.add_missing_images and not os.path.isfile(image_filename) or self.reset_image_cache) and not self.reset_only_failed: # noqa: PTH113
if ((self.add_missing_images and not os.path.isfile(image_filename)) or self.reset_image_cache) and not self.reset_only_failed: # noqa: PTH113
plotter.screenshot(image_filename)

if self.generated_image_dir is not None:
Expand Down

0 comments on commit f3dd1f8

Please sign in to comment.