-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #19498: apply windows batch patch
- Loading branch information
Emile Anclin
committed
Mar 23, 2010
1 parent
9edcbd9
commit 6b917a6
Showing
6 changed files
with
22 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 1,5 @@ | ||
@echo off | ||
rem = """-*-Python-*- script | ||
rem -------------------- DOS section -------------------- | ||
rem You could set PYTHONPATH or TK environment variables here | ||
python -x "%~f0" %* | ||
goto exit | ||
""" | ||
# -------------------- Python section -------------------- | ||
from pylint import epylint | ||
epylint.Run() | ||
|
||
|
||
DosExitLabel = """ | ||
:exit | ||
rem """ | ||
rem Use python to execute the python script having the same name as this batch | ||
rem file, but without any extension, located in the same directory as this | ||
rem batch file | ||
python "%~dpn0" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 1,5 @@ | ||
@echo off | ||
rem = """-*-Python-*- script | ||
@echo off | ||
rem -------------------- DOS section -------------------- | ||
rem You could set PYTHONPATH or TK environment variables here | ||
python -x "%~f0" %* | ||
goto exit | ||
""" | ||
# -------------------- Python section -------------------- | ||
import sys | ||
from pylint import gui | ||
gui.Run(sys.argv[1:]) | ||
|
||
|
||
DosExitLabel = """ | ||
:exit | ||
rem """ | ||
|
||
|
||
rem Use python to execute the python script having the same name as this batch | ||
rem file, but without any extension, located in the same directory as this | ||
rem batch file | ||
python "%~dpn0" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 1,5 @@ | ||
@echo off | ||
rem = """-*-Python-*- script | ||
rem -------------------- DOS section -------------------- | ||
rem You could set PYTHONPATH or TK environment variables here | ||
python -x "%~f0" %* | ||
goto exit | ||
""" | ||
# -------------------- Python section -------------------- | ||
import sys | ||
from pylint import lint | ||
lint.Run(sys.argv[1:]) | ||
|
||
|
||
DosExitLabel = """ | ||
:exit | ||
exit(ERRORLEVEL) | ||
rem """ | ||
|
||
|
||
rem Use python to execute the python script having the same name as this batch | ||
rem file, but without any extension, located in the same directory as this | ||
rem batch file | ||
python "%~dpn0" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 1,5 @@ | ||
@echo off | ||
rem = """-*-Python-*- script | ||
@echo off | ||
rem -------------------- DOS section -------------------- | ||
rem You could set PYTHONPATH or TK environment variables here | ||
python -x "%~f0" %* | ||
goto exit | ||
""" | ||
# -------------------- Python section -------------------- | ||
import sys | ||
from pylint.pyreverse import main | ||
main.Run(sys.argv[1:]) | ||
|
||
|
||
DosExitLabel = """ | ||
:exit | ||
rem """ | ||
rem Use python to execute the python script having the same name as this batch | ||
rem file, but without any extension, located in the same directory as this | ||
rem batch file | ||
python "%~dpn0" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 1,5 @@ | ||
@echo off | ||
rem = """-*-Python-*- script | ||
@echo off | ||
rem -------------------- DOS section -------------------- | ||
rem You could set PYTHONPATH or TK environment variables here | ||
python -x "%~f0" %* | ||
goto exit | ||
""" | ||
# -------------------- Python section -------------------- | ||
import sys | ||
from pylint.checkers import similar | ||
similar.run() | ||
|
||
|
||
DosExitLabel = """ | ||
:exit | ||
rem """ | ||
|
||
|
||
rem Use python to execute the python script having the same name as this batch | ||
rem file, but without any extension, located in the same directory as this | ||
rem batch file | ||
python "%~dpn0" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters