This commit is contained in:
elig0n 2024-03-20 10:06:33 +02:00 committed by GitHub
parent 712b4b3a97
commit 6c10a519f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -186,11 +186,11 @@ script like so. >
exec docker run -i --rm -v "$(pwd):/data" cytopia/pylint "$@" exec docker run -i --rm -v "$(pwd):/data" cytopia/pylint "$@"
< <
You will run to run Docker commands with `-i` in order to read from stdin. You will want to run Docker commands with `-i` in order to read from stdin.
With the above script in mind, you might configure ALE to lint your Python With the above script in mind, you might configure ALE to lint your Python
project with `pylint` by providing the path to the script to execute, and project with `pylint` by providing the path to the script to execute, and
mappings which describe how to between the two file systems in your mappings which describe how to change between the two file systems in your
`python.vim` |ftplugin| file, like so: > `python.vim` |ftplugin| file, like so: >
if expand('%:p') =~# '^/home/w0rp/git/test-pylint/' if expand('%:p') =~# '^/home/w0rp/git/test-pylint/'