Skip to content

Commit f4aa074

Browse files
pre-commit-ci[bot]JackAshwell11
authored andcommitted
[pre-commit.ci] pre-commit autoupdate
updates: - [github.com/PyCQA/pylint: v3.3.3 → v3.3.4](pylint-dev/pylint@v3.3.3...v3.3.4) - [github.com/charliermarsh/ruff-pre-commit: v0.9.3 → v0.9.4](astral-sh/ruff-pre-commit@v0.9.3...v0.9.4) - [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0)
1 parent 6b8f631 commit f4aa074

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ default_language_version:
33

44
repos:
55
- repo: "https://github.com/PyCQA/pylint"
6-
rev: v3.3.3
6+
rev: v3.3.4
77
hooks:
88
- id: pylint
99
- repo: "https://github.com/bwhmather/ssort"
1010
rev: 0.14.0
1111
hooks:
1212
- id: ssort
1313
- repo: "https://github.com/charliermarsh/ruff-pre-commit"
14-
rev: v0.9.3
14+
rev: v0.9.4
1515
hooks:
1616
- id: ruff
1717
args: ["--fix", "--exit-non-zero-on-fix"]
@@ -33,7 +33,7 @@ repos:
3333
args: ["--autofix"]
3434
- id: trailing-whitespace
3535
- repo: "https://github.com/psf/black"
36-
rev: 24.10.0
36+
rev: 25.1.0
3737
hooks:
3838
- id: black
3939
- repo: "https://github.com/pre-commit/mirrors-clang-format"

src/hades/window.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@
4949
"class": "logging.handlers.RotatingFileHandler",
5050
"level": "DEBUG",
5151
"formatter": "default",
52-
"filename": log_dir
53-
/ f"{datetime.now(tz=UTC).strftime('%Y-%m-%d')}.log",
52+
"filename": (
53+
log_dir / f"{datetime.now(tz=UTC).strftime('%Y-%m-%d')}.log"
54+
),
5455
"maxBytes": 5242880, # 5MB
5556
"backupCount": 5,
5657
},

0 commit comments

Comments
 (0)