Skip to content

Checks failing locally but not on GitHub #1704

@EvaJanouskova

Description

@EvaJanouskova

@tamuri, I'm now facing another issue with the Checks. Currently, for the branch, where I'm working on PR #1609, the Checks are failing locally, but not on GitHub. I suspect this is because we still haven't fixed the version of ruff in the tox setup, as I mentioned might be needed in #1687. GitHub is now using a newer version of ruff for the tox Checks:
https://github.com/astral-sh/ruff/releases/tag/0.13.0

Locally, it's failing due to import formatting in src/scripts/healthsystem/analysis_comparison_of_impact_in_different_scenarios.py.

Could we please fix the ruff version in the tox setup so that the outcomes are consistent between local and GitHub runs? Otherwise, I end up having to run tests multiple times on GitHub for bugs I could have resolved locally.

Also, when I look at the script where the Checks are failing locally, I see an import like from src.scripts., whereas most scripts use from scripts.. I'm not sure which is correct, or if both are acceptable?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions