Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: 23.11.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.1
hooks:
- id: black
8 changes: 2 additions & 6 deletions t2kdm/maid.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,7 @@ def generate_index(self):

context = {"timestamp": self.tasklog.timestamp(), "taskrows": taskrows}
with open(indexfile, "wt") as f:
f.write(
"""<!DOCTYPE html>
f.write("""<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
Expand All @@ -526,10 +525,7 @@ def generate_index(self):
</table>
</body>
</html>
""".format(
**context
)
)
""".format(**context))

def do_task(self, task):
"""Do a specific task and log it in the tasklog.
Expand Down