Skip to content
Myr

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

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

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

authored by pre-commit-ci[bot] · committed by pre-commit-ci[bot] · parent 6d3e679 · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 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