]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
hooks : setting up flake8 and pre-commit hooks (#1681)
authorJiří Podivín <redacted>
Sat, 17 Jun 2023 10:32:48 +0000 (12:32 +0200)
committerGitHub <redacted>
Sat, 17 Jun 2023 10:32:48 +0000 (13:32 +0300)
commit5ddf7ea1fb42bac21026de2f77e0f9c069b92234
tree4a2a5f1ad07c6135b421903c64bbb39ceaa49e83
parentbac19927c302737465a1deb14ac0943a221863e8
hooks : setting up flake8 and pre-commit hooks (#1681)

Small, non-functional changes were made to non-compliant files.
These include breaking up long lines, whitespace sanitation and
unused import removal.

Maximum line length in python files was set to a generous 125 chars,
in order to minimize number of changes needed in scripts and general
annoyance. The "txt" prompts directory is excluded from the checks
as it may contain oddly formatted files and strings for a good reason.

Signed-off-by: Jiri Podivin <redacted>
.flake8 [new file with mode: 0644]
.pre-commit-config.yaml [new file with mode: 0644]
convert.py
examples/jeopardy/graph.py
scripts/verify-checksum-models.py