summaryrefslogtreecommitdiff
path: root/Meta/check-newlines-at-eof.py
AgeCommit message (Collapse)Author
2022-09-18Meta: Only check changed files in check-newlines-at-eofBen Wiederhake
This speeds up the script from about 120ms down to about 20ms for reasonably common changesets. 100ms may not feel like much, but it adds up quickly, especially since we run a dozen scripts during pre-commit.
2022-05-21LibCodeComprehension: Re-organize code comprehension related codeItamar
This moves all code comprehension-related code to a new library, LibCodeComprehension. This also moves some types related to code comprehension tasks (such as autocomplete, find declaration) out of LibGUI and into LibCodeComprehension.
2021-08-14Tests: Add regression tests for the LibCpp preprocessorItamar
Similarly to the LibCpp parser regression tests, these tests run the preprocessor on the .cpp test files under Userland/LibCpp/Tests/preprocessor, and compare the output with existing .txt ground truth files.
2021-08-14LibCpp: Move parser tests to Userland/Libraries/LibCpp/Tests/parserItamar
2021-05-22Meta: Exclude LibCpp&LanguageServer tests from check-newlines-at-eof.pyItamar
2021-05-08Meta: Remove AK/Tests from check-newlines-at-eof.pyBrian Gianforcaro
The json file was removed a while back, and now AK/Tests has been moved to Tests/AK. So this is wrong and out of date in every way.
2021-04-19Meta: Remove references to Userland/Libraries/LibELF/exec_elf.hBrendan Coles
2021-04-02Meta: Resolve some pylint violations in Python lint scriptsBrendan Coles
Resolves: * all: consider-using-sys-exit * all: wrong-import-order * all: TODO: Require that a few keys are set? (fixme) * some: missing-function-docstring * some: line-too-long
2021-03-08Meta: check-newlines-at-eof.py now checks .json files and files in Base/Emanuele Torre
This makes it also check man pages and keymap files. :^)
2021-03-03Meta: Stop excluding getopt.cpp from lintingIdan Horowitz
This file was already "serenified" by @bugaevc long ago.
2021-03-03LibCore+LibHTTP+LibGfx: Switch to LibCompressIdan Horowitz
This commit removes the only 3rd party library (and its usages) in serenity: puff, which is used for deflate decompression. and replaces it with the existing original serenity implementation in LibCompress. :^)
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling
2021-01-09Meta: Use /usr/bin/env for python3 in newline checker scriptAndrew Kaster
2021-01-03Meta: Rewrite the check-newlines-at-eof script in pythonEmanuele Torre
The bash version takes around 15 seconds to run; that is way too slow. This python3 version should take less than one second to run. :^) Also, the script will now also check .py files and .txt CMake files.