Revision history [back]
OS Command to run Ruff not working properly
Wing 10.0.5.0 (rev 99de29d8e60a) on Win 10 and Python 3.11.7/64. I have an OS command to run Ruff:
ruff.exe check --ignore ERA001,T201,I001,T203,D104 ${WING:FILENAME}
When I use the wheel icon, it checks every file in the directory that ${WING:FILENAME} is in. When I open the command properties window and click Test Execute, it only checks ${WING:FILENAME}. I have all the checkboxes ticked on the Definition tab and Environment is default.
Noticed that if I select this cmd, run it, I get the correct output, run it again, correct output. If I run it and click into the output window then run it again, it scans the whole directory (and each time I click the button thereafter). If I select another command, run it then come back to the one I was trying, it works again (until I click into the output).
It used to work (check only the active file) but I can't say how far back since I haven't been doing much Python lately.
OS Command to run Ruff not working properly
Wing 10.0.5.0 (rev 99de29d8e60a) on Win 10 and Python 3.11.7/64. I have an OS command to run Ruff:
ruff.exe check --ignore ERA001,T201,I001,T203,D104 ${WING:FILENAME}
When I use the wheel icon, it checks every file in the directory that ${WING:FILENAME} is in. When I open the command properties window and click Test Execute, it only checks ${WING:FILENAME}. I have all the checkboxes ticked on the Definition tab and Environment is default.
Noticed that if I select this cmd, run it, I get the correct output, run it again, correct output. If I run it and click into the output window then run it again, it scans the whole directory (and each time I click the button thereafter). If I select another command, run it then come back to the one I was trying, it works again (until I click into the output).
It used to work (check only the active file) but I can't say how far back since I haven't been doing much Python lately.
OS Command to run Ruff not working properly
Wing 10.0.5.0 (rev 99de29d8e60a) on Win 10 and Python 3.11.7/64. I have an OS command to run Ruff:
ruff.exe check --ignore ERA001,T201,I001,T203,D104 ${WING:FILENAME}
When I use the wheel icon, it checks every file in the directory that ${WING:FILENAME} is in. When I open the command properties window and click Test Execute, it only checks ${WING:FILENAME}. I have all the checkboxes ticked on the Definition tab and Environment is default.
Noticed that if I select this cmd, run it, I get the correct output, run it again, correct output. If I run it and click into the output window then run it again, it scans the whole directory (and each time I click the button thereafter). If I select another command, run it then come back to the one I was trying, it works again (until I click into the output).output)
It used to work (check only the active file) but I can't say how far back since I haven't been doing much Python lately.
OS Command to run Ruff not working properly
Wing 10.0.5.0 (rev 99de29d8e60a) on Win 10 and Python 3.11.7/64. I have an OS command to run Ruff:
ruff.exe check --ignore ERA001,T201,I001,T203,D104 ${WING:FILENAME}
When I use the wheel icon, it checks every file in the directory that ${WING:FILENAME} is in. When I open the command properties window and click Test Execute, it only checks ${WING:FILENAME}. I have all the checkboxes ticked on the Definition tab and Environment is default.
Noticed that if I select this cmd, run it, I get the correct output, run it again, correct output. If I run it and click into the output window then run it again, it scans the whole directory (and each time I click the button thereafter). If I select another command, run it then come back to the one I was trying, it works again (until I click into the output)
It used to work (check only the active file) but I can't say how far back since I haven't been doing much Python lately.