Skip to content

Temporarily add ignore codes to .pre-commit-config.yaml #4793

Closed

Description

@ajpotts

Temporarily add ignore codes to .pre-commit-config.yaml to mitigate new errors, likely due to updates in ruff or ruff dependencies. For example:

tests/numpy/pdarray_creation_test.py:206:9: SIM117 Use a single `with` statement with multiple contexts instead of nested `with` statements
    |
204 |           Ensure that ak.array() rejects unsupported inputs with a TypeError.
205 |           """
206 | /         with subtests.test(input_data=input_data):
207 | |             with pytest.raises(TypeError):
    | |__________________________________________^ SIM117
208 |                   ak.array(input_data)
    |
    = help: Combine `with` statements

Found 70 errors (16 fixed, 54 remaining).


Activity

  1. self-assigned this
    on Aug 18, 2025
  2. added a commit that references this issue on Aug 18, 2025
    15fe4ce
  3. added a commit that references this issue on Aug 19, 2025
    147a08b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions