Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/pages/linting.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ for some of these.
| [ruff-format](https://github.com/astral-sh/ruff) | A drop-in replacement for `black` (and also super fast). A nice "no-need to think" code formatter. If you have your own opinions about code style, you might not like this. | <span class="label label-green">Best</span> |
| [ruff](https://github.com/astral-sh/ruff) | A fast linter which incorporates a range of other linters. Notably [isort](https://pycqa.github.io/isort/) can be included as a [ruff rule](https://docs.astral.sh/ruff/rules/) (which we recommend). | <span class="label label-green">Best</span> |
| [toml-sort](https://github.com/pappasam/toml-sort) | Sorts TOML files which are now part of PEP 8. | <span class="label label-green">Best</span> |
| [fawltydeps](https://tweag.github.io/FawltyDeps/) | Linter which aims to find unused dependencies and undeclared dependencies. | <span class="label label-green">Best</span> |
| [autopep8](https://github.com/hhatto/autopep8) | Formatter which conforms to PEP 8. | <span class="label label-yellow">Good</span> |
| [black](https://black.readthedocs.io/en/stable/) | Opinionated formatter, defaults to 88 characters per line. Widely used, but we now recommend `ruff-format` in its place. | <span class="label label-yellow">Good</span> |
| [isort](https://pycqa.github.io/isort/) | Sorts imports alphabetically, splits into first/third party, works on python & cython code. We recommend this, but it can be included in `ruff`, which is simpler. | <span class="label label-yellow">Good</span> |
Expand Down
Loading