summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-09-09 21:42:27 +0100
committerw0rp <devw0rp@gmail.com>2020-09-09 21:45:15 +0100
commit4ddf74264397a0c739b1c6fd5f643505a31e1d11 (patch)
tree5745b0de17ad7380fb47c6354e9aca42d853956e /doc/ale.txt
parent78fa93bd55be70c00d0342655bcdfada338e6e79 (diff)
downloadale-4ddf74264397a0c739b1c6fd5f643505a31e1d11.zip
Close #2522 - Check pylint on the fly
Newer versions of pylint will now check your code as you type. Older versions will still only check the file on disk. Co-authored-by: Oliver Wiegers <oliver.wiegers@gmail.com>
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index e6b91be8..6ef137c1 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -179,8 +179,11 @@ script like so. >
#!/usr/bin/env bash
- exec docker run --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.
+
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
mappings which describe how to between the two file systems in your