]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ci : add flake8 to github actions (python linting) (#4129)
authorGalunid <redacted>
Mon, 20 Nov 2023 10:35:47 +0000 (11:35 +0100)
committerGitHub <redacted>
Mon, 20 Nov 2023 10:35:47 +0000 (11:35 +0100)
commitf23c0359a32871947169a044eb1dc4dbffd0f405
treec427d8031c7d41e1ea23eaeaca956f09b94ee54f
parent40a34fe8d034bd484efd79ccbb95059ca6308dcb
ci : add flake8 to github actions (python linting) (#4129)

Disabled rules:

* E203 Whitespace before ':' - disabled because we often use 'C' Style where values are aligned

* E211 Whitespace before '(' (E211) - disabled because we often use 'C' Style where values are aligned

* E221 Multiple spaces before operator - disabled because we often use 'C' Style where values are aligned

* E225 Missing whitespace around operator - disabled because it's broken so often it seems like a standard

* E231 Missing whitespace after ',', ';', or ':' - disabled because we often use 'C' Style where values are aligned

* E241 Multiple spaces after ',' - disabled because we often use 'C' Style where values are aligned

* E251 Unexpected spaces around keyword / parameter equals - disabled because it's broken so often it seems like a standard

* E261 At least two spaces before inline comment - disabled because it's broken so often it seems like a standard

* E266 Too many leading '#' for block comment - sometimes used as "section" separator

* E501 Line too long - disabled because it's broken so often it seems like a standard

* E701 Multiple statements on one line (colon) - broken only in convert.py when defining abstract methods (we can use# noqa instead)

* E704 Multiple statements on one line - broken only in convert.py when defining abstract methods (we can use# noqa instead)
.github/workflows/python-lint.yml [new file with mode: 0644]
convert-hf-to-gguf.py
convert-llama-ggml-to-gguf.py
convert-persimmon-to-gguf.py
convert.py [changed mode: 0755->0644]
gguf-py/gguf/gguf_writer.py
tests/test-tokenizer-0-falcon.py
tests/test-tokenizer-0-llama.py