We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0db5785 commit eee40e0Copy full SHA for eee40e0
2 files changed
.gitignore
@@ -16,3 +16,6 @@ distribute*tar.gz
16
.mypy_cache
17
18
*.dat
19
+
20
+.pylintrc.yml
21
+.run-pylint.py
run-pylint.sh
@@ -0,0 +1,23 @@
1
+#!/bin/bash
2
3
+set -o errexit -o nounset
4
5
+ci_support="https://gitlab.tiker.net/inducer/ci-support/raw/main"
6
7
+if [[ ! -f .pylintrc.yml ]]; then
8
+ curl -o .pylintrc.yml "${ci_support}/.pylintrc-default.yml"
9
+fi
10
11
12
+if [[ ! -f .run-pylint.py ]]; then
13
+ curl -L -o .run-pylint.py "${ci_support}/run-pylint.py"
14
15
+PYLINT_RUNNER_ARGS="--jobs=4 --yaml-rcfile=.pylintrc.yml"
+if [[ -f .pylintrc-local.yml ]]; then
+ PYLINT_RUNNER_ARGS+=" --yaml-rcfile=.pylintrc-local.yml"
22
23
+PYTHONWARNINGS=ignore python .run-pylint.py $PYLINT_RUNNER_ARGS pytools examples "$@"
0 commit comments