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
This period saw significant progress in enhancing Darker's GitHub Action and refining our exit codes. We've been working on making the action respect the working-directory setting (PR #591), addressing a previously reported issue (Issue #587). This change is slated for the upcoming Darker 3.0.0 release, as it involves backwards-incompatible modifications to exit codes.
Speaking of exit codes, we've refined them to provide more specific information about different error scenarios (PR #595). Now, we use distinct codes for file not found (2), invalid arguments (3), missing dependencies (4), and unknown failures (123). This aligns better with other tools like Black and improves error handling in CI/CD pipelines. We're also considering a unique exit code (21) for the GitHub action when the specified working-directory doesn't exist (Issue #594).
In other developments, we've added support for Black's --preview flag via Darker's CLI and configuration files (PR #589), addressing a long-standing feature request. We're also exploring the possibility of supporting ruff format as an alternative formatter (Issue #521), which could potentially offer performance improvements. Lastly, we fixed a CI compatibility issue with Pip >= 24.1 (PR #597) and updated our documentation to include py313 in the --target-version choices (PR #596), keeping in sync with Black's updates.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This period saw significant progress in enhancing Darker's GitHub Action and refining our exit codes. We've been working on making the action respect the
working-directory
setting (PR #591), addressing a previously reported issue (Issue #587). This change is slated for the upcoming Darker 3.0.0 release, as it involves backwards-incompatible modifications to exit codes.Speaking of exit codes, we've refined them to provide more specific information about different error scenarios (PR #595). Now, we use distinct codes for file not found (2), invalid arguments (3), missing dependencies (4), and unknown failures (123). This aligns better with other tools like Black and improves error handling in CI/CD pipelines. We're also considering a unique exit code (21) for the GitHub action when the specified
working-directory
doesn't exist (Issue #594).In other developments, we've added support for Black's
--preview
flag via Darker's CLI and configuration files (PR #589), addressing a long-standing feature request. We're also exploring the possibility of supportingruff format
as an alternative formatter (Issue #521), which could potentially offer performance improvements. Lastly, we fixed a CI compatibility issue with Pip >= 24.1 (PR #597) and updated our documentation to includepy313
in the--target-version
choices (PR #596), keeping in sync with Black's updates.Beta Was this translation helpful? Give feedback.
All reactions