Skip to content

Exclude scripts/vendor from linter

Bruno Cardoso requested to merge bc/exclude-vendor-from-linter into main

Prevents linter from catching problems with tree-sitter:

% make lint   
Installing lint dependencies...
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: promptlib (0.0.0)
Running black check...
All done! ✨ 🍰 ✨
46 files would be left unchanged.
Running isort check...
ERROR: /Users/bruno/gitlab/prompt-library/scripts/vendor/macOS-13.5-arm64-arm-64bit/tree-sitter-python/examples/python2-grammar-crlf.py Imports are incorrectly sorted and/or formatted.
ERROR: /Users/bruno/gitlab/prompt-library/scripts/vendor/macOS-13.5-arm64-arm-64bit/tree-sitter-python/examples/python3-grammar.py Imports are incorrectly sorted and/or formatted.
ERROR: /Users/bruno/gitlab/prompt-library/scripts/vendor/macOS-13.5-arm64-arm-64bit/tree-sitter-python/examples/python3.8_grammar.py Imports are incorrectly sorted and/or formatted.
ERROR: /Users/bruno/gitlab/prompt-library/scripts/vendor/macOS-13.5-arm64-arm-64bit/tree-sitter-python/examples/python3-grammar-crlf.py Imports are incorrectly sorted and/or formatted.
ERROR: /Users/bruno/gitlab/prompt-library/scripts/vendor/macOS-13.5-arm64-arm-64bit/tree-sitter-python/examples/python2-grammar.py Imports are incorrectly sorted and/or formatted.
Skipped 16 files
make: *** [check-isort] Error 1
Edited by Bruno Cardoso

Merge request reports