File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2424 id : ruff_fix
2525 uses : chartboost/ruff-action@v1
2626 with :
27- args : check --fix-only --exit-non-zero-on-fix
27+ args : check --fix-only --diff -- exit-non-zero-on-fix
2828 continue-on-error : true
2929 - name : Fail Workflow if Ruff Fix Failed
3030 if : steps.ruff_fix.outcome == 'failure'
Original file line number Diff line number Diff line change 2020 " %autoreload 2\n " ,
2121 " \n " ,
2222 " # Setting the environment variables\n " ,
23- " import os\n " ,
23+ " import os # noqa \n " ,
2424 " \n " ,
2525 " # os.environ[\" DSPY_CACHEDIR\" ] =\n " ,
2626 " # os.environ[\" DSP_CACHEDIR\" ] =\n " ,
527527 "source" : [
528528 " import dspy\n " ,
529529 " from dspy.datasets import HotPotQA\n " ,
530- " from dspy.evaluate import Evaluate\n " ,
531- " from dsp.utils.utils import deduplicate\n " ,
530+ " from dspy.evaluate import Evaluate # noqa \n " ,
531+ " from dsp.utils.utils import deduplicate # noqa \n " ,
532532 " \n " ,
533533 " \n " ,
534534 " # We are setting the experimental flag to True to make use of the fine-tuning\n " ,
773773 "source" : [
774774 " import dspy\n " ,
775775 " from dspy.datasets import HotPotQA\n " ,
776- " from dspy.evaluate import Evaluate\n " ,
777- " from dsp.utils.utils import deduplicate\n " ,
776+ " from dspy.evaluate import Evaluate # noqa \n " ,
777+ " from dsp.utils.utils import deduplicate # noqa \n " ,
778778 " \n " ,
779779 " \n " ,
780780 " # We are setting the experimental flag to True to make use of the fine-tuning\n " ,
You can’t perform that action at this time.
0 commit comments