reflex/scripts/darglint_test.bat
2023-02-19 18:20:50 -08:00

23 lines
348 B
Batchfile

@echo off
cd ..
echo "start darglint"
echo "pynecone folder"
for /R pynecone %%f in (*.py) do (
echo %%f
echo %%f|findstr /r "^.*pynecone\\pc\.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