Skip to content

Commit 11a9acd

Browse files
style: pre-commit fixes
1 parent 24cae74 commit 11a9acd

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docs/pages/guides/style.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -785,11 +785,11 @@ pre-commit, gh-install, brew, cargo, or conda/pixi. It also has LSP (VSCode)
785785
integration.
786786

787787
```yaml
788-
- repo: https://github.com/crate-ci/typos
789-
rev: "v1.40.0"
790-
hooks:
791-
- id: typos
792-
args: []
788+
- repo: https://github.com/crate-ci/typos
789+
rev: "v1.40.0"
790+
hooks:
791+
- id: typos
792+
args: []
793793
```
794794

795795
To configure it, you can use this section in `pyproject.toml`:
@@ -805,7 +805,6 @@ corrections, feel free to check the [full reference][typos-ref]. If you want it
805805
to write changes, you can remove the `args: []` in the pre-commit hook, or add
806806
`-w` when running it locally.
807807

808-
809808
{% endtab %} {% endtabs %}
810809

811810
You can also use a local pygrep check to eliminate common capitalization errors,

docs/pages/principles/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@ much more complex and difficult to read for new developers.
626626
## Diagnostic Tests
627627

628628
Diagnostic tests are used to verify the installation of a package. They should
629-
be runnable on production systems, like when we need to ssh into a live server to
630-
troubleshoot problems.
629+
be runnable on production systems, like when we need to ssh into a live server
630+
to troubleshoot problems.
631631

632632
A diagnostic test suite may contain any combination of tests you deem pertinent.
633633
You could include all the unit tests, or a specific subset of them. You may want

0 commit comments

Comments
 (0)