Skip to content

Commit

Permalink
chore: run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Oct 4, 2023
1 parent e17c6c5 commit 4f47fba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ nox -s prepare -- --tests --docs
```
This can reduce the time taken to perform the preparation step in the event that only the package-building step is needed.

`nox` also lets us re-use the virtualenvs that it creates for each session with the `-R` flag, eliminating the dependency reinstall time:
`nox` also lets us reuse the virtualenvs that it creates for each session with the `-R` flag, eliminating the dependency reinstall time:
```bash
nox -R -s prepare
```
Expand Down
2 changes: 1 addition & 1 deletion awkward-cpp/src/libawkward/forth/ForthMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ namespace awkward {
const std::set<std::string> reserved_words_({
// comments
"(", ")", "\\", "\n", "",
// defining functinos
// defining functions
":", ";", "recurse",
// declaring globals
"variable", "input", "output",
Expand Down
2 changes: 1 addition & 1 deletion src/awkward/operations/ak_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def copy(array):
<Array [{x: 1}, {x: 2}, {x: 3}] type='3 * {x: int64}'>
This is key to Awkward Array's efficiency (memory and speed): operations that
only change part of a structure re-use pieces from the original ("structural
only change part of a structure reuse pieces from the original ("structural
sharing"). Changing data in-place would result in many surprising long-distance
changes, so we don't support it. However, an #ak.Array's data might come from
a mutable third-party library, so this function allows you to make a true copy.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_1762_jax_behavior_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_jvp_nested_list():
def func(x):
return x[::-1] ** 2

# TODO: enable leak checing
# TODO: enable leak checking
# with jax.checking_leaks():
value_jvp, jvp_grad = jax.jvp(func, (array,), (tangent,))
assert value_jvp.to_list() == [[1.0, 4.0, 9.0, 16.0, 25.0]]
Expand Down

0 comments on commit 4f47fba

Please sign in to comment.