Debian Codegraph @

scripts/run_pylint.bat

raw
1 @echo off
2 REM This script was derived from PythonQwt project
3 REM ======================================================
4 REM Run pylint analysis
5 REM ======================================================
6 REM Licensed under the terms of the MIT License
7 REM Copyright (c) 2020 Pierre Raybaut
8 REM (see PythonQwt LICENSE file for more details)
9 REM ======================================================
10 setlocal
11 call %~dp0utils GetScriptPath SCRIPTPATH
12 call %FUNC% GetModName MODNAME
13 call %FUNC% SetPythonPath
14 set PYLINT_ARG=%*
15 if "%PYLINT_ARG%"=="" set PYLINT_ARG=--disable=fixme
16 %PYTHON% -m pylint --rcfile=%SCRIPTPATH%\..\.pylintrc %PYLINT_ARG% %MODNAME%
17 call %FUNC% EndOfScript