Skip to content

Commit

Permalink
Merge pull request #169 from asmeurer/master-to-main
Browse files Browse the repository at this point in the history
Change references from 'master' to 'main'
  • Loading branch information
asmeurer authored Feb 2, 2024
2 parents 2fb49e9 + 704d485 commit 80c57df
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
# https://github.com/JamesIves/github-pages-deploy-action/tree/dev#using-an-ssh-deploy-key-
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/main' }}
with:
folder: docs/_build/html
ssh-key: ${{ secrets.DEPLOY_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@
### Minor Changes

- Added
[CODE_OF_CONDUCT.md](https://github.com/Quansight-Labs/ndindex/blob/master/CODE_OF_CONDUCT.md)
[CODE_OF_CONDUCT.md](https://github.com/Quansight-Labs/ndindex/blob/main/CODE_OF_CONDUCT.md)
to the ndindex repository. ndindex follows the [Quansight Code of
Conduct](https://github.com/Quansight/.github/blob/master/CODE_OF_CONDUCT.md).
Conduct](https://github.com/Quansight/.github/blob/main/CODE_OF_CONDUCT.md).

- Avoid precomputing all iterated values for slices with large steps in
{any}`ChunkSize.as_subchunks()`.
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ There are two primary types of tests that we employ to verify this:
- Hypothesis tests. Hypothesis is a library that can intelligently check a
combinatorial search space of inputs. This requires writing hypothesis
strategies that can generate all the relevant types of indices (see
[ndindex/tests/helpers.py](https://github.com/Quansight-Labs/ndindex/blob/master/ndindex/tests/helpers.py)).
[ndindex/tests/helpers.py](https://github.com/Quansight-Labs/ndindex/blob/main/ndindex/tests/helpers.py)).
For more information on hypothesis, see
<https://hypothesis.readthedocs.io/en/latest/index.html>. All tests have
hypothesis tests, even if they are also tested exhaustively.
Expand Down Expand Up @@ -307,7 +307,7 @@ Benchmarks for ndindex are published

## License

[MIT License](https://github.com/Quansight-Labs/ndindex/blob/master/LICENSE)
[MIT License](https://github.com/Quansight-Labs/ndindex/blob/main/LICENSE)

(acknowledgments)=
## Acknowledgments
Expand Down
2 changes: 1 addition & 1 deletion docs/slices.md
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ hard to write slice arithmetic. The arithmetic is already hard enough due to
the modular nature of `step`, but the discontinuous aspect of `start` and
`stop` increases this tenfold. If you are unconvinced of this, take a look at
the [source
code](https://github.com/Quansight-labs/ndindex/blob/master/ndindex/slice.py) for
code](https://github.com/Quansight-labs/ndindex/blob/main/ndindex/slice.py) for
`ndindex.Slice()`. You will see lots of nested `if` blocks.[^source-footnote]
This is because slices have *fundamentally* different definitions if the
`start` or `stop` are `None`, negative, or nonnegative. Furthermore, `None` is
Expand Down

0 comments on commit 80c57df

Please sign in to comment.