Skip to content

Address a few old lint errors triggered by PR #359 but caused elsewhere #733

Address a few old lint errors triggered by PR #359 but caused elsewhere

Address a few old lint errors triggered by PR #359 but caused elsewhere #733

Triggered via pull request October 13, 2025 11:17
Status Success
Total duration 28s
Artifacts

python-stylecheck.yml

on: pull_request
Style check python and annotate
25s
Style check python and annotate
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Style check python and annotate: mig/server/grid_script.py#L520
Item "None" of "FirstFitScheduler | None" has no attribute "find_user" [union-attr]
Style check python and annotate: mig/server/grid_script.py#L519
Item "None" of "FirstFitScheduler | None" has no attribute "update_users" [union-attr]
Style check python and annotate: mig/server/grid_script.py#L336
Item "None" of "FirstFitScheduler | None" has no attribute "set_cache" [union-attr]
Style check python and annotate: mig/server/grid_script.py#L334
Item "None" of "FirstFitScheduler | None" has no attribute "attach_done_queue" [union-attr]
Style check python and annotate: mig/server/grid_script.py#L333
Item "None" of "FirstFitScheduler | None" has no attribute "attach_job_queue" [union-attr]
Style check python and annotate: mig/server/grid_script.py#L326
Incompatible types in assignment (expression has type "FIFOScheduler", variable has type "FirstFitScheduler | None") [assignment]
Style check python and annotate: mig/server/grid_script.py#L323
Incompatible types in assignment (expression has type "RandomScheduler", variable has type "FirstFitScheduler | None") [assignment]
Style check python and annotate: mig/server/grid_script.py#L320
Incompatible types in assignment (expression has type "MaxThroughputScheduler", variable has type "FirstFitScheduler | None") [assignment]
Style check python and annotate: mig/server/grid_script.py#L317
Incompatible types in assignment (expression has type "FairFitScheduler", variable has type "FirstFitScheduler | None") [assignment]
Style check python and annotate: mig/server/grid_script.py#L314
Incompatible types in assignment (expression has type "BestFitScheduler", variable has type "FirstFitScheduler | None") [assignment]
Style check python and annotate: mig/shared/functionality/autocreate.py#L545
test for membership should be 'not in'
Style check python and annotate: mig/shared/functionality/autocreate.py#L543
test for membership should be 'not in'
Style check python and annotate: mig/shared/functionality/autocreate.py#L411
line too long (85 > 80 characters)
Style check python and annotate: mig/shared/functionality/autocreate.py#L218
line too long (85 > 80 characters)
Style check python and annotate: mig/server/grid_script.py#L1233
line too long (92 > 80 characters)
Style check python and annotate: mig/server/grid_script.py#L1224
line too long (88 > 80 characters)
Style check python and annotate: mig/server/grid_script.py#L1134
line too long (83 > 80 characters)
Style check python and annotate: mig/server/grid_script.py#L1064
line too long (87 > 80 characters)
Style check python and annotate: mig/server/grid_script.py#L1063
line too long (85 > 80 characters)
Style check python and annotate: mig/server/grid_script.py#L167
line too long (81 > 80 characters)