Skip to content

Commit 08f7d4f

Browse files
authored
Merge pull request #72 from realshouzy/pre-commit-ci-update-config
2 parents 6e36975 + 3fa7adb commit 08f7d4f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repos:
3636
hooks:
3737
- id: isort
3838
- repo: https://github.com/astral-sh/ruff-pre-commit
39-
rev: v0.8.0
39+
rev: v0.8.1
4040
hooks:
4141
- id: ruff
4242
args: [--fix, --exit-non-zero-on-fix]
@@ -45,7 +45,7 @@ repos:
4545
hooks:
4646
- id: mypy
4747
- repo: https://github.com/pycqa/bandit
48-
rev: 1.7.10
48+
rev: 1.8.0
4949
hooks:
5050
- id: bandit
5151
args: [-c, pyproject.toml]

auto_file_sorter/constants.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
DEFAULT_CONFIGS_LOCATION: Final[Path] = PROGRAM_LOCATION / "configs.json"
2626
DEFAULT_LOG_LOCATION: Final[Path] = PROGRAM_LOCATION / "auto-file-sorter.log"
2727

28-
LOG_FORMAT: Final = (
29-
"%(name)s [%(levelname)s] %(asctime)s - %(message)s"
30-
)
28+
LOG_FORMAT: Final = "%(name)s [%(levelname)s] %(asctime)s - %(message)s"
3129
MOVE_LOG_LEVEL: Final = 60
3230
CONFIG_LOG_LEVEL: Final = 70
3331
STREAM_HANDLER_FORMATTER: Final[logging.Formatter] = logging.Formatter(

0 commit comments

Comments
 (0)