Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scikit-hep/vector
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.11.0
Choose a base ref
...
head repository: scikit-hep/vector
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.0
Choose a head ref
  • 19 commits
  • 175 files changed
  • 8 contributors

Commits on Dec 27, 2022

  1. chore: update pre-commit hooks (#304)

    updates:
    - [github.com/PyCQA/isort: v5.11.3 → 5.11.4](PyCQA/isort@v5.11.3...5.11.4)
    - [github.com/nbQA-dev/nbQA: 1.5.3 → 1.6.0](nbQA-dev/nbQA@1.5.3...1.6.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Dec 27, 2022
    Configuration menu
    Copy the full SHA
    182743d View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. chore: update pre-commit hooks (#306)

    * chore: update pre-commit hooks
    
    updates:
    - [github.com/nbQA-dev/nbQA: 1.6.0 → 1.6.1](nbQA-dev/nbQA@1.6.0...1.6.1)
    
    * Try Python 3.10
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Saransh Chopra <[email protected]>
    pre-commit-ci[bot] and Saransh-cpp authored Jan 16, 2023
    Configuration menu
    Copy the full SHA
    b135c88 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. ci: use numpy~=1.24.0 in pre-commit (#308)

    * ci: use numpy~=1.24.0 in pre-commit
    
    Co-authored-by: Henry Schreiner <[email protected]>
    
    * rm redundant ignore comments
    
    * type: ignore[call-overload]
    
    Co-authored-by: Henry Schreiner <[email protected]>
    Saransh-cpp and henryiii authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    75a65b7 View commit details
    Browse the repository at this point in the history
  2. chore: update pre-commit hooks (#307)

    * Try Python 3.10
    
    * Update hooks
    
    * Unpin Python version
    
    Co-authored-by: Saransh Chopra <[email protected]>
    pre-commit-ci[bot] and Saransh-cpp authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    3aeed65 View commit details
    Browse the repository at this point in the history
  3. fix: update discheck (#305)

    * fix: update discheck
    
    * Make test_compute_features insensitive to uncompyle6 3.8.0 vs 3.9.0.
    
    Co-authored-by: Jim Pivarski <[email protected]>
    Saransh-cpp and jpivarski authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    6a87f9f View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. chore: update pre-commit hooks (#310)

    updates:
    - [github.com/tox-dev/pyproject-fmt: 0.4.1 → 0.5.0](tox-dev/pyproject-fmt@0.4.1...0.5.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    80636b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. chore: update pre-commit hooks (#311)

    * chore: update pre-commit hooks
    
    updates:
    - [github.com/PyCQA/isort: 5.11.4 → 5.12.0](PyCQA/isort@5.11.4...5.12.0)
    - [github.com/tox-dev/pyproject-fmt: 0.5.0 → 0.6.0](tox-dev/pyproject-fmt@0.5.0...0.6.0)
    
    * style: pre-commit fixes
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jan 31, 2023
    Configuration menu
    Copy the full SHA
    c39858f View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. chore: update pre-commit hooks (#312)

    * chore: update pre-commit hooks
    
    updates:
    - [github.com/psf/black: 22.12.0 → 23.1.0](psf/black@22.12.0...23.1.0)
    
    * style: pre-commit fixes
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Feb 7, 2023
    Configuration menu
    Copy the full SHA
    bf5778d View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. chore: update pre-commit hooks (#313)

    updates:
    - [github.com/tox-dev/pyproject-fmt: 0.6.0 → 0.8.0](tox-dev/pyproject-fmt@0.6.0...0.8.0)
    - [github.com/pre-commit/mirrors-mypy: v0.991 → v1.0.0](pre-commit/mirrors-mypy@v0.991...v1.0.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    120d2ab View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. feat: add constructors for VectorObject3D and MomentumObject3D (#231

    )
    
    * Constructor for MomentumObject2D
    
    * Create overloads and a constructor for `VectorObject3D`
    
    * Docs for the new constructor
    
    * Reprs + docs
    
    * Make `VectorObject2D` constructor more general
    
    * Modify constructor for `MomentumObject3D` + typing overloads + docs
    
    * Add tests
    
    * Make TypeError more clear
    
    * Make TypeError dynamic
    
    * Update the existing code with azimuthal= longitudinal=
    
    * More azimuthal= longitudinal=
    
    * Rebase
    
    * Add tests for type safety
    
    * changelog entry
    
    * style: pre-commit fixes
    
    ---------
    
    Co-authored-by: Henry Schreiner <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    b1bd185 View commit details
    Browse the repository at this point in the history
  2. ci: update number of builds for codecov bot (#314)

    * ci: update number of builds for codecov bot
    
    * Oops, should be 5
    Saransh-cpp authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    bcd6ddb View commit details
    Browse the repository at this point in the history
  3. feat: add constructors for VectorObject4D and MomentumObject4D (#232

    )
    
    * feat: useful constructor
    
    * Reprs + PEP
    
    * Some tests
    
    * Constructor for MomentumObject2D
    
    * Update docs
    
    * Create overloads and a constructor for `VectorObject3D`
    
    * Docs for the new constructor
    
    * Reprs + docs
    
    * Make `VectorObject2D` constructor more general
    
    * Add `MomentumObject2D` overloads
    
    * Modify constructor for `MomentumObject3D` + typing overloads + docs
    
    * Add tests
    
    * Make TypeError more clear
    
    * Make TypeError dynamic
    
    * Make TypeError dynamic
    
    * Update the existing code with azimuthal= longitudinal=
    
    * More azimuthal= longitudinal=
    
    * Add constructors to `VectorObject4D` and `MomentumObject4D`
    
    * Add type overloads
    
    * Rebase
    
    ---------
    
    Co-authored-by: Henry Schreiner <[email protected]>
    Saransh-cpp and henryiii authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    9310cd4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b46599 View commit details
    Browse the repository at this point in the history
  5. chore: move to using Ruff (#315)

    * chore: move to using Ruff
    
    Signed-off-by: Henry Schreiner <[email protected]>
    
    * style: make Ruff happy
    
    Signed-off-by: Henry Schreiner <[email protected]>
    
    ---------
    
    Signed-off-by: Henry Schreiner <[email protected]>
    henryiii authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    8f25cbc View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. chore: update pre-commit hooks (#318)

    * chore: update pre-commit hooks
    
    updates:
    - [github.com/charliermarsh/ruff-pre-commit: v0.0.247 → v0.0.249](astral-sh/ruff-pre-commit@v0.0.247...v0.0.249)
    - [github.com/tox-dev/pyproject-fmt: 0.8.0 → 0.9.1](tox-dev/pyproject-fmt@0.8.0...0.9.1)
    - [github.com/pre-commit/mirrors-mypy: v1.0.0 → v1.0.1](pre-commit/mirrors-mypy@v1.0.0...v1.0.1)
    - [github.com/nbQA-dev/nbQA: 1.6.1 → 1.6.3](nbQA-dev/nbQA@1.6.1...1.6.3)
    
    * style: pre-commit fixes
    
    * Fix pre-commit
    
    * style: pre-commit fixes
    
    * pyproject-fmt -> 0.8.0
    
    * style: pre-commit fixes
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Saransh Chopra <[email protected]>
    pre-commit-ci[bot] and Saransh-cpp authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    f90a47d View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. feat: update to_Vector3D to pass new coordinate values (#278)

    * update to_Vector3D function
    
    * style: pre-commit fixes
    
    * fix: rework implementation
    
    Signed-off-by: Henry Schreiner <[email protected]>
    
    * Minor fixes, function is working
    
    * Default values
    
    * type: ignore
    
    * Henry's suggestion - redundant type:ignore comments
    
    ---------
    
    Signed-off-by: Henry Schreiner <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Henry Schreiner <[email protected]>
    Co-authored-by: Saransh Chopra <[email protected]>
    4 people authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    a616cdc View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Configuration menu
    Copy the full SHA
    070cda9 View commit details
    Browse the repository at this point in the history
  2. chore: update copyright and license for 2022 and 2023 (#321)

    * chore: update copyright and license for 2022 and 2023
    
    * changelog
    Saransh-cpp authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    17af58f View commit details
    Browse the repository at this point in the history
  3. feat: allow passing coordinates to to_Vector*D (#319)

    * feat: allow passing coordinates to to_Vector*D
    
    * Add tests
    
    * Add docstrings
    
    * import or skip awkward for light tests
    
    * Update src/vector/_methods.py
    
    * Add a note for momentum type coords
    
    * Fix repr of MomentumObject3D
    
    * Update src/vector/_methods.py
    
    Co-authored-by: Jim Pivarski <[email protected]>
    
    * style: pre-commit fixes
    
    * Better error message
    
    ---------
    
    Co-authored-by: Jim Pivarski <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    5d54670 View commit details
    Browse the repository at this point in the history
Loading