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
{{ message }}
Repository navigation
Commit 3ce0331
Browse filesBrowse the repository at this point in the historyBrowse files
All non-python source code is formatted using `prettier <https://prettier.io>`__, and python source code is formatted using `black<https://github.com/psf/black>`__.
100
+
All non-python source code is formatted using `prettier <https://prettier.io>`__, and python source code is formatted using `ruff<https://docs.astral.sh/ruff>`__.
101
101
When code is modified and committed, all staged files will be
102
102
automatically formatted using pre-commit git hooks (with help from
103
103
`pre-commit <https://github.com/pre-commit/pre-commit>`__). The benefit of
104
-
using a code formatters like ``prettier`` and ``black`` is that it removes the topic of
104
+
using a code formatters like ``prettier`` and ``ruff`` is that it removes the topic of
105
105
code style from the conversation when reviewing pull requests, thereby
106
106
speeding up the review process.
107
107
@@ -121,7 +121,7 @@ You can invoke the pre-commit hook by hand at any time with::
121
121
122
122
which should run any autoformatting on your code
123
123
and tell you about any errors it couldn't fix automatically.
124
-
You may also install `black integration <https://github.com/psf/black#editor-integration>`__
124
+
You may also install `ruff integration <https://docs.astral.sh/ruff/integrations>`__
125
125
into your text editor to format code automatically.
126
126
127
127
If you have already committed files before setting up the pre-commit
0 commit comments