Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#220)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](asottile/pyupgrade@v3.15.0...v3.15.2)
- [github.com/psf/black: 23.12.1 → 24.3.0](psf/black@23.12.1...24.3.0)
- [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](PyCQA/flake8@6.1.0...7.0.0)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](pre-commit/mirrors-mypy@v1.8.0...v1.9.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Apr 1, 2024
1 parent 21f2cca commit 367b1de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
- id: debug-statements
- id: requirements-txt-fixer
- repo: https://github.com/asottile/pyupgrade
rev: 'v3.15.0'
rev: 'v3.15.2'
hooks:
- id: pyupgrade
args:
Expand All @@ -26,11 +26,11 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: '23.12.1'
rev: '24.3.0'
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: '6.1.0'
rev: '7.0.0'
hooks:
- id: flake8
- repo: https://github.com/PyCQA/pydocstyle
Expand All @@ -45,7 +45,7 @@ repos:
additional_dependencies:
- tomli
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.8.0'
rev: 'v1.9.0'
hooks:
- id: mypy
additional_dependencies: ["types-Markdown"]
Expand Down
8 changes: 5 additions & 3 deletions signac_dashboard/modules/video_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@ def make_card(filename):
"content": render_template(
self.template,
jobid=jobid,
poster=self.poster
if self.poster and job_or_project.isfile(self.poster)
else None,
poster=(
self.poster
if self.poster and job_or_project.isfile(self.poster)
else None
),
preload=self.preload,
filename=filename,
),
Expand Down

0 comments on commit 367b1de

Please sign in to comment.