Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change references from 'master' to 'main' #169

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
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
Loading