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 issue is a proposal to add Ruff as a code formatter for this repository. This will help ensure that all developers work to the code set of code standards.
Ruff will be added as a pre-commit git hook. This necessitates the installation of pre-commit on top of add ing Ruff as a dependency.
As a hook, Ruff will check the codebase for formatting errors at the point where the developer makes a commit. If formatting errors are present, the hook will reject the commit and Ruff can try to auto-fix these errors. If they can be automatically fixed, then the developer can proceed to do the commit. Otherwise the error should be fixed manually.
Consistent formatting is important for collaborative work. There are a multitude of different formatters and different code formats. By enforcing one standard, we keep consistency in the project.
The text was updated successfully, but these errors were encountered:
This issue is a proposal to add
Ruff
as a code formatter for this repository. This will help ensure that all developers work to the code set of code standards.Ruff
will be added as apre-commit
git hook. This necessitates the installation ofpre-commit
on top of add ingRuff
as a dependency.As a hook, Ruff will check the codebase for formatting errors at the point where the developer makes a commit. If formatting errors are present, the hook will reject the commit and Ruff can try to auto-fix these errors. If they can be automatically fixed, then the developer can proceed to do the commit. Otherwise the error should be fixed manually.
Consistent formatting is important for collaborative work. There are a multitude of different formatters and different code formats. By enforcing one standard, we keep consistency in the project.
The text was updated successfully, but these errors were encountered: