Skip to content
Myr

Merge pull request #1480 from pallets/pre-commit-ci-update-config

Before adoption: this commit came in with the history the project adopted, so no landing records it.

[pre-commit.ci] pre-commit autoupdate

authored by David Lord · committed by GitHub · parents c6334b6, 1b4c259 · Browse files · 2 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:src/jinja2/bccache.py+1 added-1 removed
152 unmodified lines
153 """Returns the unique hash key for this template name."""154 hash = sha1(name.encode("utf-8"))155156 if filename is not None:157 hash.update(f"|{filename}".encode("utf-8"))157 hash.update(f"|{filename}".encode())158159 return hash.hexdigest()160161 def get_source_checksum(self, source: str) -> str:
203 unmodified lines
modified:.pre-commit-config.yaml+3 added-3 removed