23 lines
342 B
Batchfile
23 lines
342 B
Batchfile
@echo off
|
|
cd ..
|
|
|
|
echo "start darglint"
|
|
|
|
echo "reflex folder"
|
|
for /R reflex %%f in (*.py) do (
|
|
echo %%f
|
|
echo %%f|findstr /r "^.*reflex\\rx\.py$"
|
|
if errorlevel 1 (
|
|
poetry run darglint %%f
|
|
)
|
|
)
|
|
|
|
echo "tests folder"
|
|
for /R tests %%f in (*.py) do (
|
|
echo %%f
|
|
poetry run darglint %%f
|
|
)
|
|
|
|
echo "darglint finished"
|
|
pause
|