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
The Format Check workflow in GitHub Actions passes but in my local environment I get the following errors:
would reformat /Desktop/ORNL/FlowceptZambeze/zambeze/zambeze/orchestration/plugins_message_template_engine.py
would reformat /Desktop/ORNL/FlowceptZambeze/zambeze/zambeze/orchestration/plugins_message_validator.py
Oh no! 💥 💔 💥
2 files would be reformatted, 111 files would be left unchanged.
The GitHub Action workflow is using black 24.3 but in my local environment I'm using 23.11. The different versions are causing different format results which is why black may pass locally but fail in the GitHub Actions workflow and vice versa. The same Python environment needs to be used on local machines and for Github Actions to avoid this problem.
The text was updated successfully, but these errors were encountered:
The black formatter for this project has been replaced with ruff. Configuration for ruff can be done in the pyproject.toml file which ensures a similar linter/formatter environment for local and remote tests. Closing this issue as it's no longer relevant due to recent changes to the project.
The Format Check workflow in GitHub Actions passes but in my local environment I get the following errors:
The GitHub Action workflow is using black 24.3 but in my local environment I'm using 23.11. The different versions are causing different format results which is why black may pass locally but fail in the GitHub Actions workflow and vice versa. The same Python environment needs to be used on local machines and for Github Actions to avoid this problem.
The text was updated successfully, but these errors were encountered: