You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For all of these issues, first delete the appropriate line in pyproject.toml that excludes the subpackage from checks. For gui_tools you would delete this line:
"stellarphot/gui_tools/*" = ["F", "ARG"]
After that, run ruff either with tox -e lint or ruff .. The errors you get should be the ones -- fix them! If it is an unused function argument make sure to search the project for calls to that function to update the arguments there too. If it is an import * in a file then replace it with an explicit import of the functions actually used.
stellarphot/gui_tools/comparison_functions.py:20:1: F403 from stellarphot.differential_photometry import * used; unable to detect undefined names
[ ]stellarphot/gui_tools/comparison_functions.py:21:1: F403 from stellarphot.photometry import * used; unable to detect undefined names
stellarphot/gui_tools/comparison_functions.py:120:12: ARG001 Unused function argument: viewer
stellarphot/gui_tools/comparison_functions.py:120:27: ARG001 Unused function argument: data_x
stellarphot/gui_tools/comparison_functions.py:120:35: ARG001 Unused function argument: data_y
stellarphot/gui_tools/comparison_functions.py:127:9: F841 Local variable pad is assigned to but never used
stellarphot/gui_tools/comparison_functions.py:128:9: F841 Local variable x is assigned to but never used
stellarphot/gui_tools/comparison_functions.py:129:9: F841 Local variable y is assigned to but never used
For all of these issues, first delete the appropriate line in
pyproject.toml
that excludes the subpackage from checks. Forgui_tools
you would delete this line:After that, run
ruff
either withtox -e lint
orruff .
. The errors you get should be the ones -- fix them! If it is an unused function argument make sure to search the project for calls to that function to update the arguments there too. If it is animport *
in a file then replace it with an explicit import of the functions actually used.from stellarphot.differential_photometry import *
used; unable to detect undefined namesfrom stellarphot.photometry import *
used; unable to detect undefined namesviewer
data_x
data_y
pad
is assigned to but never usedx
is assigned to but never usedy
is assigned to but never usedchange
button
button
button
x
change
change
layout
is assigned to but never usedfile
change
button
button
ap_rad
ap_rad
ap_rad
viewer
datax
datay
The text was updated successfully, but these errors were encountered: