From 015a362026d3ae68b1d3f4ffd19307dc41354bc7 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Tue, 7 Nov 2023 09:55:17 +0000 Subject: [PATCH] chore: drop `isort` config, require annotation imports (#2801) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: drop isort config This is now not needed, and isort is handled by ruff * chore: require annotations with isort * chore: make annotations required * Clean up the header text of all source files: license, GitHub URL, __all__ placement, vertical spacing. * chore: update pre-commit hooks (#2802) updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.3...v0.1.4) - [github.com/python-jsonschema/check-jsonschema: 0.27.0 → 0.27.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.27.0...0.27.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * chore: drop `-1.0` * style: pre-commit fixes --------- Co-authored-by: Jim Pivarski Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 4 ++-- .../include/awkward/builder/ArrayBuilder.h | 2 +- .../include/awkward/builder/BoolBuilder.h | 2 +- awkward-cpp/include/awkward/builder/Builder.h | 2 +- .../awkward/builder/Complex128Builder.h | 2 +- .../include/awkward/builder/DatetimeBuilder.h | 2 +- .../include/awkward/builder/Float64Builder.h | 2 +- .../include/awkward/builder/Int64Builder.h | 2 +- .../include/awkward/builder/ListBuilder.h | 2 +- .../include/awkward/builder/OptionBuilder.h | 2 +- .../include/awkward/builder/RecordBuilder.h | 2 +- .../include/awkward/builder/StringBuilder.h | 2 +- .../include/awkward/builder/TupleBuilder.h | 2 +- .../include/awkward/builder/UnionBuilder.h | 2 +- .../include/awkward/builder/UnknownBuilder.h | 2 +- awkward-cpp/include/awkward/common.h | 2 +- .../include/awkward/forth/ForthInputBuffer.h | 2 +- .../include/awkward/forth/ForthMachine.h | 2 +- .../include/awkward/forth/ForthOutputBuffer.h | 2 +- awkward-cpp/include/awkward/io/json.h | 2 +- awkward-cpp/include/awkward/kernel-utils.h | 2 +- awkward-cpp/include/awkward/python/content.h | 2 +- awkward-cpp/include/awkward/python/forth.h | 2 +- awkward-cpp/include/awkward/python/io.h | 2 +- .../include/awkward/python/kernel_utils.h | 2 +- awkward-cpp/include/awkward/python/util.h | 2 +- awkward-cpp/include/awkward/unicode.h | 2 +- awkward-cpp/include/awkward/util.h | 4 ++-- awkward-cpp/src/awkward_cpp/__init__.py | 4 ++++ awkward-cpp/src/awkward_cpp/cpu_kernels.py | 4 ++-- awkward-cpp/src/awkward_cpp/libawkward.py | 4 ++-- ...ward_BitMaskedArray_to_ByteMaskedArray.cpp | 2 +- ...d_BitMaskedArray_to_IndexedOptionArray.cpp | 2 +- ...ward_ByteMaskedArray_getitem_nextcarry.cpp | 2 +- ...MaskedArray_getitem_nextcarry_outindex.cpp | 2 +- .../awkward_ByteMaskedArray_numnull.cpp | 2 +- .../awkward_ByteMaskedArray_overlay_mask.cpp | 2 +- ...awkward_ByteMaskedArray_reduce_next_64.cpp | 2 +- ...ray_reduce_next_nonlocal_nextshifts_64.cpp | 2 +- ...next_nonlocal_nextshifts_fromshifts_64.cpp | 2 +- ...d_ByteMaskedArray_toIndexedOptionArray.cpp | 2 +- ...m_next_missing_jagged_getmaskstartstop.cpp | 2 +- .../awkward_Index_nones_as_index.cpp | 2 +- .../cpu-kernels/awkward_IndexedArray_fill.cpp | 2 +- .../awkward_IndexedArray_fill_count.cpp | 2 +- ...awkward_IndexedArray_flatten_nextcarry.cpp | 2 +- ...wkward_IndexedArray_flatten_none2empty.cpp | 2 +- ...awkward_IndexedArray_getitem_nextcarry.cpp | 2 +- ...ndexedArray_getitem_nextcarry_outindex.cpp | 2 +- .../awkward_IndexedArray_index_of_nulls.cpp | 2 +- ...ward_IndexedArray_local_preparenext_64.cpp | 2 +- .../awkward_IndexedArray_numnull.cpp | 2 +- .../awkward_IndexedArray_numnull_parents.cpp | 2 +- .../awkward_IndexedArray_numnull_unique.cpp | 2 +- .../awkward_IndexedArray_overlay_mask.cpp | 2 +- ...ward_IndexedArray_ranges_carry_next_64.cpp | 2 +- .../awkward_IndexedArray_ranges_next_64.cpp | 2 +- .../awkward_IndexedArray_reduce_next_64.cpp | 2 +- ...ndexedArray_reduce_next_fix_offsets_64.cpp | 2 +- ...ray_reduce_next_nonlocal_nextshifts_64.cpp | 2 +- ...next_nonlocal_nextshifts_fromshifts_64.cpp | 2 +- .../awkward_IndexedArray_simplify.cpp | 2 +- ...Array_unique_next_index_and_offsets_64.cpp | 2 +- .../awkward_IndexedArray_validity.cpp | 2 +- ...edOptionArray_rpad_and_clip_mask_axis1.cpp | 2 +- .../awkward_ListArray_broadcast_tooffsets.cpp | 2 +- .../awkward_ListArray_combinations.cpp | 2 +- .../awkward_ListArray_combinations_length.cpp | 2 +- .../awkward_ListArray_compact_offsets.cpp | 2 +- .../cpu-kernels/awkward_ListArray_fill.cpp | 2 +- ...awkward_ListArray_getitem_jagged_apply.cpp | 2 +- ...ward_ListArray_getitem_jagged_carrylen.cpp | 2 +- ...kward_ListArray_getitem_jagged_descend.cpp | 2 +- ...wkward_ListArray_getitem_jagged_expand.cpp | 2 +- ...ward_ListArray_getitem_jagged_numvalid.cpp | 2 +- ...wkward_ListArray_getitem_jagged_shrink.cpp | 2 +- .../awkward_ListArray_getitem_next_array.cpp | 2 +- ..._ListArray_getitem_next_array_advanced.cpp | 2 +- .../awkward_ListArray_getitem_next_at.cpp | 2 +- .../awkward_ListArray_getitem_next_range.cpp | 2 +- ...stArray_getitem_next_range_carrylength.cpp | 2 +- ...rd_ListArray_getitem_next_range_counts.cpp | 2 +- ...rray_getitem_next_range_spreadadvanced.cpp | 2 +- .../awkward_ListArray_localindex.cpp | 2 +- .../awkward_ListArray_min_range.cpp | 2 +- ...d_ListArray_rpad_and_clip_length_axis1.cpp | 2 +- .../awkward_ListArray_rpad_axis1.cpp | 2 +- .../awkward_ListArray_validity.cpp | 2 +- ...wkward_ListOffsetArray_argsort_strings.cpp | 2 +- ...ward_ListOffsetArray_drop_none_indexes.cpp | 2 +- ...wkward_ListOffsetArray_flatten_offsets.cpp | 2 +- ...d_ListOffsetArray_local_preparenext_64.cpp | 2 +- ...ffsetArray_reduce_local_nextparents_64.cpp | 2 +- ...OffsetArray_reduce_local_outoffsets_64.cpp | 2 +- ...educe_nonlocal_maxcount_offsetscopy_64.cpp | 2 +- ...setArray_reduce_nonlocal_nextshifts_64.cpp | 2 +- ...setArray_reduce_nonlocal_nextstarts_64.cpp | 2 +- ...rray_reduce_nonlocal_outstartsstops_64.cpp | 2 +- ...etArray_reduce_nonlocal_preparenext_64.cpp | 2 +- ...rd_ListOffsetArray_rpad_and_clip_axis1.cpp | 2 +- .../awkward_ListOffsetArray_rpad_axis1.cpp | 2 +- ...ward_ListOffsetArray_rpad_length_axis1.cpp | 2 +- ...awkward_ListOffsetArray_toRegularArray.cpp | 2 +- ...askedArray_getitem_next_jagged_project.cpp | 2 +- .../cpu-kernels/awkward_NumpyArray_fill.cpp | 2 +- .../awkward_NumpyArray_pad_zero_to_length.cpp | 2 +- ...umpyArray_prepare_utf8_to_utf32_padded.cpp | 2 +- .../awkward_NumpyArray_rearrange_shifted.cpp | 2 +- ...ard_NumpyArray_reduce_adjust_starts_64.cpp | 2 +- ...pyArray_reduce_adjust_starts_shifts_64.cpp | 2 +- ...pyArray_reduce_mask_ByteMaskedArray_64.cpp | 2 +- ...wkward_NumpyArray_sort_asstrings_uint8.cpp | 2 +- .../awkward_NumpyArray_subrange_equal.cpp | 2 +- ...wkward_NumpyArray_unique_strings_uint8.cpp | 2 +- ...wkward_NumpyArray_utf8_to_utf32_padded.cpp | 2 +- ...ordArray_reduce_nonlocal_outoffsets_64.cpp | 2 +- .../awkward_RegularArray_combinations.cpp | 2 +- .../awkward_RegularArray_getitem_carry.cpp | 2 +- ...ard_RegularArray_getitem_jagged_expand.cpp | 2 +- ...wkward_RegularArray_getitem_next_array.cpp | 2 +- ...gularArray_getitem_next_array_advanced.cpp | 2 +- ...larArray_getitem_next_array_regularize.cpp | 2 +- .../awkward_RegularArray_getitem_next_at.cpp | 2 +- ...wkward_RegularArray_getitem_next_range.cpp | 2 +- ...rray_getitem_next_range_spreadadvanced.cpp | 2 +- .../awkward_RegularArray_localindex.cpp | 2 +- ...gularArray_reduce_local_nextparents_64.cpp | 2 +- ...arArray_reduce_nonlocal_preparenext_64.cpp | 2 +- ...kward_RegularArray_rpad_and_clip_axis1.cpp | 2 +- .../awkward_UnionArray_fillindex.cpp | 2 +- .../awkward_UnionArray_fillindex_count.cpp | 2 +- .../cpu-kernels/awkward_UnionArray_fillna.cpp | 2 +- .../awkward_UnionArray_filltags.cpp | 2 +- .../awkward_UnionArray_filltags_const.cpp | 2 +- .../awkward_UnionArray_flatten_combine.cpp | 2 +- .../awkward_UnionArray_flatten_length.cpp | 2 +- ...kward_UnionArray_nestedfill_tags_index.cpp | 2 +- .../awkward_UnionArray_project.cpp | 2 +- .../awkward_UnionArray_regular_index.cpp | 2 +- ...kward_UnionArray_regular_index_getsize.cpp | 2 +- .../awkward_UnionArray_simplify.cpp | 2 +- .../awkward_UnionArray_simplify_one.cpp | 2 +- .../awkward_UnionArray_validity.cpp | 2 +- .../src/cpu-kernels/awkward_argsort.cpp | 2 +- .../awkward_index_rpad_and_clip_axis0.cpp | 2 +- .../awkward_index_rpad_and_clip_axis1.cpp | 2 +- .../src/cpu-kernels/awkward_localindex.cpp | 2 +- .../cpu-kernels/awkward_missing_repeat.cpp | 2 +- .../src/cpu-kernels/awkward_reduce_argmax.cpp | 2 +- .../awkward_reduce_argmax_complex.cpp | 2 +- .../src/cpu-kernels/awkward_reduce_argmin.cpp | 2 +- .../awkward_reduce_argmin_complex.cpp | 2 +- .../cpu-kernels/awkward_reduce_count_64.cpp | 2 +- .../awkward_reduce_countnonzero.cpp | 2 +- .../awkward_reduce_countnonzero_complex.cpp | 2 +- .../src/cpu-kernels/awkward_reduce_max.cpp | 2 +- .../awkward_reduce_max_complex.cpp | 2 +- .../src/cpu-kernels/awkward_reduce_min.cpp | 2 +- .../awkward_reduce_min_complex.cpp | 2 +- .../src/cpu-kernels/awkward_reduce_prod.cpp | 2 +- .../cpu-kernels/awkward_reduce_prod_bool.cpp | 2 +- .../awkward_reduce_prod_bool_complex.cpp | 2 +- .../awkward_reduce_prod_complex.cpp | 2 +- .../src/cpu-kernels/awkward_reduce_sum.cpp | 2 +- .../cpu-kernels/awkward_reduce_sum_bool.cpp | 2 +- .../awkward_reduce_sum_bool_complex.cpp | 2 +- .../awkward_reduce_sum_complex.cpp | 2 +- .../awkward_reduce_sum_int32_bool_64.cpp | 2 +- .../awkward_reduce_sum_int64_bool_64.cpp | 2 +- awkward-cpp/src/cpu-kernels/awkward_sort.cpp | 2 +- .../cpu-kernels/awkward_sorting_ranges.cpp | 2 +- .../awkward_sorting_ranges_length.cpp | 2 +- .../src/cpu-kernels/awkward_unique.cpp | 2 +- .../src/cpu-kernels/awkward_unique_copy.cpp | 2 +- .../cpu-kernels/awkward_unique_offsets.cpp | 2 +- .../src/cpu-kernels/awkward_unique_ranges.cpp | 2 +- awkward-cpp/src/cpu-kernels/kernel-utils.cpp | 2 +- awkward-cpp/src/cpu-kernels/unicode.cpp | 2 +- .../src/libawkward/builder/ArrayBuilder.cpp | 2 +- .../src/libawkward/builder/BoolBuilder.cpp | 2 +- .../src/libawkward/builder/Builder.cpp | 2 +- .../libawkward/builder/Complex128Builder.cpp | 2 +- .../libawkward/builder/DatetimeBuilder.cpp | 2 +- .../src/libawkward/builder/Float64Builder.cpp | 2 +- .../src/libawkward/builder/Int64Builder.cpp | 2 +- .../src/libawkward/builder/ListBuilder.cpp | 2 +- .../src/libawkward/builder/OptionBuilder.cpp | 2 +- .../src/libawkward/builder/RecordBuilder.cpp | 2 +- .../src/libawkward/builder/StringBuilder.cpp | 2 +- .../src/libawkward/builder/TupleBuilder.cpp | 2 +- .../src/libawkward/builder/UnionBuilder.cpp | 2 +- .../src/libawkward/builder/UnknownBuilder.cpp | 2 +- .../src/libawkward/forth/ForthInputBuffer.cpp | 2 +- .../src/libawkward/forth/ForthMachine.cpp | 2 +- .../libawkward/forth/ForthOutputBuffer.cpp | 2 +- awkward-cpp/src/libawkward/io/json.cpp | 2 +- awkward-cpp/src/libawkward/util.cpp | 2 +- awkward-cpp/src/python/_ext.cpp | 2 +- awkward-cpp/src/python/content.cpp | 2 +- awkward-cpp/src/python/forth.cpp | 2 +- awkward-cpp/src/python/io.cpp | 2 +- dev/check-awkward-cpp-sdist-matches-pypi.py | 4 ++++ dev/check-awkward-uses-awkward-cpp.py | 4 ++++ dev/copy-cpp-headers.py | 5 +++++ dev/download-github-artefact.py | 5 +++++ dev/flake8_awkward.py | 4 ++++ dev/format-release-prs | 2 ++ dev/generate-kernel-docs.py | 3 ++- dev/generate-kernel-signatures.py | 3 ++- dev/generate-redirects.py | 4 ++++ dev/generate-tests.py | 3 ++- dev/kernel-diagnostics.py | 3 ++- dev/validate-test-names.py | 4 ++++ docs/conf.py | 4 ++-- docs/prepare_docstrings.py | 10 ++++----- .../builder-options/awkward/BuilderOptions.h | 2 +- header-only/examples/cython/CMakeLists.txt | 3 +++ header-only/examples/cython/README.md | 2 +- header-only/examples/cython/_demo.pyx | 2 ++ header-only/examples/cython/demo/__init__.py | 4 ++++ header-only/examples/cython/demo_impl.cpp | 2 ++ header-only/examples/cython/demo_impl.pxd | 2 ++ .../examples/cython/include/demo_impl.h | 2 ++ header-only/examples/cython/setup.py | 4 ++++ header-only/examples/pybind11/CMakeLists.txt | 3 +++ header-only/examples/pybind11/README.md | 2 +- header-only/examples/pybind11/demo.cpp | 2 ++ .../growable-buffer/awkward/GrowableBuffer.h | 2 +- .../layout-builder/awkward/LayoutBuilder.h | 2 +- header-only/layout-builder/awkward/utils.h | 2 +- header-only/tests/CMakeLists.txt | 2 +- .../tests/test_1494-layout-builder.cpp | 2 +- header-only/tests/test_1542-array-builder.cpp | 2 +- .../tests/test_1542-growable-buffer.cpp | 2 +- .../tests/test_1560-builder-options.cpp | 2 +- noxfile.py | 4 ++++ pyproject.toml | 8 +------ src/awkward/__init__.py | 3 ++- src/awkward/_backends/__init__.py | 1 + src/awkward/_backends/backend.py | 3 ++- src/awkward/_backends/cupy.py | 3 ++- src/awkward/_backends/dispatch.py | 3 ++- src/awkward/_backends/jax.py | 3 ++- src/awkward/_backends/numpy.py | 3 ++- src/awkward/_backends/typetracer.py | 3 ++- src/awkward/_behavior.py | 3 ++- src/awkward/_broadcasting.py | 3 ++- src/awkward/_categorical.py | 5 ++++- src/awkward/_connect/__init__.py | 2 +- src/awkward/_connect/avro.py | 4 +++- src/awkward/_connect/cling.py | 4 +++- src/awkward/_connect/cuda/__init__.py | 4 +++- src/awkward/_connect/dlpack.py | 6 +++-- src/awkward/_connect/hist.py | 4 +++- src/awkward/_connect/jax/__init__.py | 4 ++++ src/awkward/_connect/jax/reducers.py | 3 ++- src/awkward/_connect/jax/trees.py | 3 ++- src/awkward/_connect/numba/__init__.py | 2 +- src/awkward/_connect/numba/arrayview.py | 5 ++++- src/awkward/_connect/numba/arrayview_cuda.py | 4 +++- src/awkward/_connect/numba/builder.py | 4 +++- src/awkward/_connect/numba/growablebuffer.py | 4 +++- src/awkward/_connect/numba/layout.py | 4 +++- src/awkward/_connect/numba/layoutbuilder.py | 3 ++- src/awkward/_connect/numexpr.py | 5 ++++- src/awkward/_connect/numpy.py | 3 ++- src/awkward/_connect/pyarrow.py | 3 ++- src/awkward/_connect/rdataframe/__init__.py | 2 +- .../_connect/rdataframe/from_rdataframe.py | 5 ++++- .../include/rdataframe/jagged_builders.h | 2 +- .../_connect/rdataframe/to_rdataframe.py | 4 +++- src/awkward/_dispatch.py | 2 ++ src/awkward/_do.py | 3 ++- src/awkward/_errors.py | 3 ++- src/awkward/_ext.py | 4 +++- src/awkward/_kernels.py | 3 ++- src/awkward/_layout.py | 3 ++- src/awkward/_lookup.py | 4 +++- src/awkward/_nplikes/__init__.py | 2 ++ src/awkward/_nplikes/array_like.py | 3 ++- src/awkward/_nplikes/array_module.py | 3 ++- src/awkward/_nplikes/cupy.py | 3 ++- src/awkward/_nplikes/dispatch.py | 2 ++ src/awkward/_nplikes/jax.py | 3 ++- src/awkward/_nplikes/numpy.py | 3 ++- src/awkward/_nplikes/numpy_like.py | 3 ++- src/awkward/_nplikes/placeholder.py | 3 ++- src/awkward/_nplikes/shape.py | 3 ++- src/awkward/_nplikes/typetracer.py | 3 ++- src/awkward/_nplikes/ufuncs.py | 4 ++++ src/awkward/_operators.py | 2 ++ src/awkward/_parameters.py | 2 ++ src/awkward/_pickle.py | 3 +++ src/awkward/_prettyprint.py | 5 ++++- src/awkward/_reducers.py | 3 ++- src/awkward/_regularize.py | 3 ++- src/awkward/_singleton.py | 2 ++ src/awkward/_slicing.py | 3 ++- src/awkward/_typetracer.py | 2 ++ src/awkward/_typing.py | 2 ++ src/awkward/_util.py | 3 ++- src/awkward/_v2.py | 4 +++- src/awkward/behaviors/__init__.py | 2 +- src/awkward/behaviors/categorical.py | 5 ++++- src/awkward/behaviors/mixins.py | 7 ++++-- src/awkward/behaviors/string.py | 5 ++++- src/awkward/builder.py | 4 ++-- src/awkward/contents/__init__.py | 4 +++- src/awkward/contents/bitmaskedarray.py | 3 ++- src/awkward/contents/bytemaskedarray.py | 3 ++- src/awkward/contents/content.py | 3 ++- src/awkward/contents/emptyarray.py | 3 ++- src/awkward/contents/indexedarray.py | 3 ++- src/awkward/contents/indexedoptionarray.py | 3 ++- src/awkward/contents/listarray.py | 3 ++- src/awkward/contents/listoffsetarray.py | 3 ++- src/awkward/contents/numpyarray.py | 3 ++- src/awkward/contents/recordarray.py | 3 ++- src/awkward/contents/regulararray.py | 3 ++- src/awkward/contents/unionarray.py | 3 ++- src/awkward/contents/unmaskedarray.py | 3 ++- src/awkward/cppyy.py | 4 +++- src/awkward/errors.py | 7 +++--- src/awkward/forms/__init__.py | 4 +++- src/awkward/forms/bitmaskedform.py | 7 +++--- src/awkward/forms/bytemaskedform.py | 6 +++-- src/awkward/forms/emptyform.py | 7 +++--- src/awkward/forms/form.py | 7 +++--- src/awkward/forms/indexedform.py | 7 +++--- src/awkward/forms/indexedoptionform.py | 6 +++-- src/awkward/forms/listform.py | 6 +++-- src/awkward/forms/listoffsetform.py | 7 +++--- src/awkward/forms/numpyform.py | 6 +++-- src/awkward/forms/recordform.py | 6 +++-- src/awkward/forms/regularform.py | 6 +++-- src/awkward/forms/unionform.py | 6 +++-- src/awkward/forms/unmaskedform.py | 6 +++-- src/awkward/forth.py | 4 ++-- src/awkward/highlevel.py | 7 +++--- src/awkward/index.py | 3 ++- src/awkward/jax.py | 2 ++ src/awkward/numba/__init__.py | 4 +++- src/awkward/numba/layoutbuilder.py | 4 +++- src/awkward/operations/__init__.py | 4 +++- src/awkward/operations/ak_all.py | 8 +++++-- src/awkward/operations/ak_almost_equal.py | 6 +++-- src/awkward/operations/ak_any.py | 8 +++++-- src/awkward/operations/ak_argcartesian.py | 8 +++++-- src/awkward/operations/ak_argcombinations.py | 8 +++++-- src/awkward/operations/ak_argmax.py | 8 +++++-- src/awkward/operations/ak_argmin.py | 8 +++++-- src/awkward/operations/ak_argsort.py | 8 +++++-- src/awkward/operations/ak_backend.py | 8 +++++-- src/awkward/operations/ak_broadcast_arrays.py | 8 +++++-- src/awkward/operations/ak_broadcast_fields.py | 8 +++++-- src/awkward/operations/ak_cartesian.py | 8 +++++-- src/awkward/operations/ak_categories.py | 8 +++++-- src/awkward/operations/ak_combinations.py | 8 +++++-- src/awkward/operations/ak_concatenate.py | 8 +++++-- src/awkward/operations/ak_copy.py | 8 +++++-- src/awkward/operations/ak_corr.py | 8 +++++-- src/awkward/operations/ak_count.py | 8 +++++-- src/awkward/operations/ak_count_nonzero.py | 8 +++++-- src/awkward/operations/ak_covar.py | 8 +++++-- src/awkward/operations/ak_drop_none.py | 8 +++++-- src/awkward/operations/ak_enforce_type.py | 8 ++++--- src/awkward/operations/ak_fields.py | 8 +++++-- src/awkward/operations/ak_fill_none.py | 7 ++++-- src/awkward/operations/ak_firsts.py | 8 +++++-- src/awkward/operations/ak_flatten.py | 8 +++++-- src/awkward/operations/ak_from_arrow.py | 8 +++++-- .../operations/ak_from_arrow_schema.py | 8 +++++-- src/awkward/operations/ak_from_avro_file.py | 7 ++++-- src/awkward/operations/ak_from_buffers.py | 6 +++-- src/awkward/operations/ak_from_categorical.py | 8 +++++-- src/awkward/operations/ak_from_cupy.py | 8 +++++-- src/awkward/operations/ak_from_dlpack.py | 7 ++++-- src/awkward/operations/ak_from_feather.py | 6 +++-- src/awkward/operations/ak_from_iter.py | 8 +++++-- src/awkward/operations/ak_from_jax.py | 8 +++++-- src/awkward/operations/ak_from_json.py | 8 +++++-- src/awkward/operations/ak_from_numpy.py | 8 +++++-- src/awkward/operations/ak_from_parquet.py | 8 +++++-- src/awkward/operations/ak_from_rdataframe.py | 8 +++++-- src/awkward/operations/ak_from_regular.py | 8 +++++-- src/awkward/operations/ak_full_like.py | 8 +++++-- src/awkward/operations/ak_is_categorical.py | 8 +++++-- src/awkward/operations/ak_is_none.py | 8 +++++-- src/awkward/operations/ak_is_tuple.py | 8 +++++-- src/awkward/operations/ak_is_valid.py | 8 +++++-- src/awkward/operations/ak_isclose.py | 8 +++++-- src/awkward/operations/ak_linear_fit.py | 8 +++++-- src/awkward/operations/ak_local_index.py | 8 +++++-- src/awkward/operations/ak_mask.py | 8 +++++-- src/awkward/operations/ak_max.py | 8 +++++-- src/awkward/operations/ak_mean.py | 8 +++++-- .../operations/ak_merge_option_of_records.py | 8 +++++-- .../operations/ak_merge_union_of_records.py | 8 +++++-- .../operations/ak_metadata_from_parquet.py | 9 +++++--- src/awkward/operations/ak_min.py | 8 +++++-- src/awkward/operations/ak_moment.py | 8 +++++-- src/awkward/operations/ak_nan_to_none.py | 8 +++++-- src/awkward/operations/ak_nan_to_num.py | 8 +++++-- src/awkward/operations/ak_num.py | 8 +++++-- src/awkward/operations/ak_ones_like.py | 8 +++++-- src/awkward/operations/ak_pad_none.py | 8 +++++-- src/awkward/operations/ak_parameters.py | 8 +++++-- src/awkward/operations/ak_prod.py | 8 +++++-- src/awkward/operations/ak_ptp.py | 8 +++++-- src/awkward/operations/ak_ravel.py | 8 +++++-- src/awkward/operations/ak_run_lengths.py | 8 +++++-- src/awkward/operations/ak_singletons.py | 8 +++++-- src/awkward/operations/ak_softmax.py | 8 +++++-- src/awkward/operations/ak_sort.py | 8 +++++-- src/awkward/operations/ak_std.py | 8 +++++-- src/awkward/operations/ak_strings_astype.py | 8 +++++-- src/awkward/operations/ak_sum.py | 8 +++++-- src/awkward/operations/ak_to_arrow.py | 8 +++++-- src/awkward/operations/ak_to_arrow_table.py | 6 +++-- src/awkward/operations/ak_to_backend.py | 8 +++++-- src/awkward/operations/ak_to_buffers.py | 8 +++++-- src/awkward/operations/ak_to_categorical.py | 0 src/awkward/operations/ak_to_cupy.py | 8 +++++-- src/awkward/operations/ak_to_dataframe.py | 8 +++++-- src/awkward/operations/ak_to_feather.py | 7 +++--- src/awkward/operations/ak_to_jax.py | 8 +++++-- src/awkward/operations/ak_to_json.py | 8 +++++-- src/awkward/operations/ak_to_layout.py | 7 ++++-- src/awkward/operations/ak_to_list.py | 8 +++++-- src/awkward/operations/ak_to_numpy.py | 8 +++++-- src/awkward/operations/ak_to_packed.py | 8 +++++-- src/awkward/operations/ak_to_parquet.py | 8 +++++-- src/awkward/operations/ak_to_rdataframe.py | 8 +++++-- src/awkward/operations/ak_to_regular.py | 8 +++++-- src/awkward/operations/ak_transform.py | 8 +++++-- src/awkward/operations/ak_type.py | 8 +++++-- src/awkward/operations/ak_unflatten.py | 8 +++++-- src/awkward/operations/ak_unzip.py | 8 +++++-- src/awkward/operations/ak_validity_error.py | 8 +++++-- src/awkward/operations/ak_values_astype.py | 8 +++++-- src/awkward/operations/ak_var.py | 8 +++++-- src/awkward/operations/ak_where.py | 8 +++++-- src/awkward/operations/ak_with_field.py | 10 +++++---- src/awkward/operations/ak_with_name.py | 8 +++++-- src/awkward/operations/ak_with_parameter.py | 8 +++++-- src/awkward/operations/ak_without_field.py | 8 +++++-- .../operations/ak_without_parameters.py | 8 +++++-- src/awkward/operations/ak_zeros_like.py | 9 +++++--- src/awkward/operations/ak_zip.py | 8 +++++-- src/awkward/operations/str/__init__.py | 4 ++-- .../operations/str/akstr_capitalize.py | 6 +++-- src/awkward/operations/str/akstr_center.py | 7 +++--- .../operations/str/akstr_count_substring.py | 7 +++--- .../str/akstr_count_substring_regex.py | 7 +++--- src/awkward/operations/str/akstr_ends_with.py | 7 +++--- .../operations/str/akstr_extract_regex.py | 7 +++--- .../operations/str/akstr_find_substring.py | 7 +++--- .../str/akstr_find_substring_regex.py | 7 +++--- src/awkward/operations/str/akstr_index_in.py | 7 +++--- src/awkward/operations/str/akstr_is_alnum.py | 6 +++-- src/awkward/operations/str/akstr_is_alpha.py | 6 +++-- src/awkward/operations/str/akstr_is_ascii.py | 6 +++-- .../operations/str/akstr_is_decimal.py | 6 +++-- src/awkward/operations/str/akstr_is_digit.py | 6 +++-- src/awkward/operations/str/akstr_is_in.py | 7 +++--- src/awkward/operations/str/akstr_is_lower.py | 6 +++-- .../operations/str/akstr_is_numeric.py | 6 +++-- .../operations/str/akstr_is_printable.py | 6 +++-- src/awkward/operations/str/akstr_is_space.py | 6 +++-- src/awkward/operations/str/akstr_is_title.py | 6 +++-- src/awkward/operations/str/akstr_is_upper.py | 6 +++-- src/awkward/operations/str/akstr_join.py | 6 +++-- .../operations/str/akstr_join_element_wise.py | 6 +++-- src/awkward/operations/str/akstr_length.py | 6 +++-- src/awkward/operations/str/akstr_lower.py | 6 +++-- src/awkward/operations/str/akstr_lpad.py | 7 +++--- src/awkward/operations/str/akstr_ltrim.py | 7 +++--- .../operations/str/akstr_ltrim_whitespace.py | 7 +++--- .../operations/str/akstr_match_like.py | 7 +++--- .../operations/str/akstr_match_substring.py | 7 +++--- .../str/akstr_match_substring_regex.py | 7 +++--- src/awkward/operations/str/akstr_repeat.py | 6 +++-- .../operations/str/akstr_replace_slice.py | 7 +++--- .../operations/str/akstr_replace_substring.py | 7 +++--- .../str/akstr_replace_substring_regex.py | 7 +++--- src/awkward/operations/str/akstr_reverse.py | 6 +++-- src/awkward/operations/str/akstr_rpad.py | 7 +++--- src/awkward/operations/str/akstr_rtrim.py | 7 +++--- .../operations/str/akstr_rtrim_whitespace.py | 7 +++--- src/awkward/operations/str/akstr_slice.py | 7 +++--- .../operations/str/akstr_split_pattern.py | 7 +++--- .../str/akstr_split_pattern_regex.py | 7 +++--- .../operations/str/akstr_split_whitespace.py | 7 +++--- .../operations/str/akstr_starts_with.py | 7 +++--- src/awkward/operations/str/akstr_swapcase.py | 6 +++-- src/awkward/operations/str/akstr_title.py | 6 +++-- .../operations/str/akstr_to_categorical.py | 6 +++-- src/awkward/operations/str/akstr_trim.py | 7 +++--- .../operations/str/akstr_trim_whitespace.py | 7 +++--- src/awkward/operations/str/akstr_upper.py | 6 +++-- src/awkward/record.py | 3 ++- src/awkward/types/__init__.py | 4 +++- src/awkward/types/arraytype.py | 3 ++- src/awkward/types/listtype.py | 3 ++- src/awkward/types/numpytype.py | 3 ++- src/awkward/types/optiontype.py | 3 ++- src/awkward/types/recordtype.py | 3 ++- src/awkward/types/regulartype.py | 3 ++- src/awkward/types/scalartype.py | 3 ++- src/awkward/types/type.py | 3 ++- src/awkward/types/uniontype.py | 3 ++- src/awkward/types/unknowntype.py | 3 ++- src/awkward/typetracer.py | 22 ++++++++++--------- tests-cuda/__init__.py | 2 +- tests-cuda/test_1276_cuda_num.py | 4 +++- tests-cuda/test_1276_cuda_transfers.py | 4 +++- tests-cuda/test_1276_cupy_interop.py | 4 +++- tests-cuda/test_1276_from_cupy.py | 4 +++- tests-cuda/test_1300_same_for_numba_cuda.py | 4 +++- tests-cuda/test_1381_check_errors.py | 4 +++- tests-cuda/test_1809_array_cuda_jit.py | 4 +++- tests/__init__.py | 2 +- tests/samples/__init__.py | 2 +- tests/test_0002_minimal_listarray.py | 4 +++- tests/test_0006_deep_iteration.py | 4 +++- tests/test_0008_slices_and_getitem.py | 4 +++- tests/test_0011_listarray.py | 4 +++- tests/test_0013_error_handling_struct.py | 4 +++- tests/test_0014_finish_up_getitem.py | 4 +++- tests/test_0018_fromiter_fillable.py | 4 +++- tests/test_0019_use_json_library.py | 4 +++- tests/test_0020_support_unsigned_indexes.py | 4 +++- tests/test_0021_emptyarray.py | 4 +++- tests/test_0023_regular_array.py | 4 +++- tests/test_0024_use_regular_array.py | 4 +++- tests/test_0025_record_array.py | 4 +++- tests/test_0028_add_dressed_types.py | 4 +++- tests/test_0032_replace_dressedtype.py | 4 +++- tests/test_0046_start_indexedarray.py | 4 +++- ...nguish_record_and_recordarray_behaviors.py | 4 +++- tests/test_0057_introducing_forms.py | 4 +++- tests/test_0070_argmin_and_argmax.py | 4 +++- tests/test_0072_fillna_operation.py | 4 +++- tests/test_0074_argsort_and_sort.py | 4 +++- tests/test_0077_zip_operation.py | 4 +++- tests/test_0078_argcross_and_cross.py | 4 +++- tests/test_0079_argchoose_and_choose.py | 4 +++- ..._flatpandas_multiindex_rows_and_columns.py | 4 +++- tests/test_0084_start_unionarray.py | 4 +++- tests/test_0086_nep13_ufunc.py | 4 +++- tests/test_0089_numpy_functions.py | 4 +++- ...093_simplify_uniontypes_and_optiontypes.py | 4 +++- tests/test_0107_assign_fields_to_records.py | 4 +++- tests/test_0111_jagged_and_masked_getitem.py | 5 ++++- tests/test_0115_generic_reducer_operation.py | 4 +++- tests/test_0118_numba_cpointers.py | 4 +++- .../test_0119_numexpr_and_broadcast_arrays.py | 4 +++- tests/test_0124_strings_in_numba.py | 4 +++- tests/test_0127_tomask_operation.py | 4 +++- tests/test_0127b_tomask_operation_numba.py | 4 +++- tests/test_0138_emptyarray_type.py | 4 +++- tests/test_0150_flatten.py | 4 +++- tests/test_0163_negative_axis_wrap.py | 4 +++- tests/test_0166_0167_0170_random_issues.py | 4 +++- tests/test_0173_astype_operation.py | 4 +++- tests/test_0184_concatenate_operation.py | 4 +++- tests/test_0193_is_none_axis_parameter.py | 4 +++- tests/test_0198_tutorial_documentation_1.py | 4 +++- tests/test_0222_count_with_axis0.py | 4 +++- tests/test_0224_arrow_to_awkward.py | 4 +++- tests/test_0264_reduce_last_empty.py | 4 +++- tests/test_0273_path_for_with_field.py | 4 +++- ..._0286_broadcast_single_value_with_field.py | 4 +++- tests/test_0290_bug_fixes_for_hats.py | 4 +++- tests/test_0315_integerindex.py | 4 +++- tests/test_0331_pandas_indexedarray.py | 4 +++- tests/test_0334_fully_broadcastable_where.py | 4 +++- tests/test_0339_highlevel_sorting_function.py | 4 +++- tests/test_0348_form_keys.py | 4 +++- tests/test_0355_mixins.py | 3 ++- tests/test_0395_complex_type_arrays.py | 4 +++- tests/test_0395_fix_numba_indexedarray.py | 4 +++- .../test_0397_arrays_as_constants_in_numba.py | 4 +++- ...d_categorical_type_for_arrow_dictionary.py | 4 +++- tests/test_0404_array_validity_check.py | 4 +++- ..._argminmax_positions_for_missing_values.py | 4 +++- tests/test_0437_stream_of_many_json_files.py | 4 +++- ...est_0447_preserve_regularness_in_reduce.py | 4 +++- ...test_0449_merge_many_arrays_in_one_pass.py | 4 +++- tests/test_0493_zeros_ones_full_like.py | 4 +++- tests/test_0496_provide_local_index.py | 4 +++- tests/test_0499_getitem_indexedarray_bug.py | 4 +++- tests/test_0504_block_ufuncs_for_strings.py | 5 ++++- tests/test_0511_copy_and_deepcopy.py | 4 +++- ...narray_ufuncs_and_parameters_in_merging.py | 6 +++-- ...t_0546_fill_none_replacement_value_type.py | 4 +++- tests/test_0549_numba_array_asarray.py | 4 +++- tests/test_0557_min_max_initial_argument.py | 4 +++- tests/test_0559_fix_booleans_in_numba.py | 4 +++- tests/test_0572_numba_array_ndim.py | 4 +++- ...ropagate_context_in_broadcast_and_apply.py | 4 +++- .../test_0583_implement_unflatten_function.py | 4 +++- .../test_0590_allow_regulararray_size_zero.py | 4 +++- ...eserve_nullability_in_arrow_and_parquet.py | 4 ++-- .../test_0627_behavior_from_dict_of_arrays.py | 4 +++- tests/test_0652_tests_of_complex_numbers.py | 4 +++- tests/test_0674_categorical_validation.py | 4 +++- ...etitem_field_should_simplify_optiontype.py | 4 +++- ...ure_that_jagged_slice_fits_array_length.py | 4 +++- tests/test_0730_unflatten_axis_parameter.py | 4 +++- tests/test_0733_run_lengths.py | 4 +++- ...test_0736_implement_argsort_for_strings.py | 4 +++- tests/test_0758_ak_zip_scallars.py | 4 +++- ...0766_prevent_combinations_of_characters.py | 4 +++- tests/test_0773_typeparser.py | 4 +++- ...edarray_carrying_recordarray_parameters.py | 4 +++- .../test_0794_ak_cartesian_on_empty_array.py | 4 +++- tests/test_0803_argsort_fix_type.py | 4 +++- tests/test_0806_empty_lists_cartesian_fix.py | 4 +++- tests/test_0813_full_like_dtype_arg.py | 4 +++- ...adcast_union_types_to_all_possibilities.py | 4 +++- tests/test_0819_issue.py | 4 +++- tests/test_0828_arrow_datatype_null.py | 4 +++- tests/test_0835_datetime_type.py | 4 +++- tests/test_0835_datetime_type_pandas.py | 4 +++- tests/test_0835_datetime_type_pyarrow.py | 4 +++- tests/test_0850_argsort_mask_array.py | 4 +++- tests/test_0863_is_none_numpy_array.py | 4 +++- ...t_0866_getitem_field_and_flatten_unions.py | 4 +++- tests/test_0875_arrow_null_type.py | 4 +++- tests/test_0879_non_primitive_with_field.py | 4 +++- ...t_0884_index_and_identifier_refactoring.py | 4 +++- tests/test_0889_ptp.py | 4 +++- .../test_0896_content_classes_refactoring.py | 4 +++- .../test_0898_unzip_heterogeneous_records.py | 4 +++- ...rrayView_expects_contiguous_NumpyArrays.py | 4 +++- tests/test_0905_leading_zeros_in_unflatten.py | 4 +++- tests/test_0906_arrow_fixed_size_list_type.py | 4 +++- tests/test_0910_unflatten_counts_relation.py | 4 +++- tests/test_0912_packed.py | 4 +++- tests/test_0914_types_and_forms.py | 6 ++--- tests/test_0916_datetime_values_astype.py | 4 +++- tests/test_0927_numpy_array_nbytes.py | 4 +++- ...30_bug_in_unionarray_purelist_parameter.py | 4 +++- tests/test_0945_argsort_sort_nan_array.py | 4 +++- ...958_new_forms_must_accept_old_form_json.py | 4 +++- ...test_0959__getitem_array_implementation.py | 4 +++- ..._0975_mask_multidimensional_numpy_array.py | 4 +++- ...0979_where_multidimentional_numpy_array.py | 4 +++- ..._0982_missing_case_in_nonlocal_reducers.py | 4 +++- tests/test_0984_ravel.py | 4 +++- tests/test_0992_correct_ptp_unmasking.py | 4 +++- ..._for_ListOffsetArray_with_nonzero_start.py | 4 +++- ...est_1006_packed_regular_array_zero_size.py | 4 +++- tests/test_1007_from_buffers_empty_ndarray.py | 4 +++- tests/test_1017_numpyarray_broadcast.py | 4 +++- tests/test_1030_mixin_class_name.py | 4 +++- tests/test_1031_start_getitem_next.py | 4 +++- ...st_1031b_start_getitem_next_specialized.py | 4 +++- tests/test_1049_concatenate_single_array.py | 4 +++- tests/test_1055_fill_none_numpy_dimension.py | 4 +++- tests/test_1059_localindex.py | 4 +++- ...t_1066_to_numpy_masked_structured_array.py | 4 +++- ...ity_false_should_not_return_option_type.py | 4 +++- tests/test_1072_sort.py | 4 +++- tests/test_1074_combinations.py | 4 +++- tests/test_1075_validityerror.py | 4 +++- ...1106_argminmax_axis_None_missing_values.py | 4 +++- tests/test_1110_type_tracer_1.py | 4 +++- tests/test_1116_project_maskedarrays.py | 4 +++- tests/test_1125_to_arrow_from_arrow.py | 4 +++- ...utility_methods_for_highlevel_functions.py | 4 +++- tests/test_1134_from_buffers_to_buffers.py | 4 +++- tests/test_1135_rpad_operation.py | 4 +++- .../test_1136_regulararray_zeros_in_shape.py | 4 +++- tests/test_1137_num.py | 4 +++- tests/test_1142_numbers_to_type.py | 4 +++- tests/test_1149_datetime_sort.py | 4 +++- ...arrow_tables_should_preserve_parameters.py | 4 +++- tests/test_1162_ak_from_json_schema.py | 4 +++- .../test_1183_bugs_found_by_dask_project_2.py | 4 +++- ...89_fix_singletons_for_non_optional_data.py | 4 +++- ...st_1192_iterables_in___array_function__.py | 4 +++- tests/test_1193_is_none_nested_option.py | 4 +++- tests/test_1233_ak_with_name.py | 4 +++- .../test_1240_v2_implementation_of_numba_1.py | 4 +++- tests/test_1259_simplify_optiontype.py | 4 +++- .../test_1260_simplify_masked_option_types.py | 4 +++- tests/test_1271_fix_4D_reducers.py | 4 +++- tests/test_1294_to_and_from_parquet.py | 4 +++- ...allow_nan_to_num_arguments_to_be_arrays.py | 4 +++- ...300_awkward_to_cpp_converter_with_cling.py | 4 +++- tests/test_1300b_same_for_numba.py | 4 +++- .../test_1305_mixed_awkward_numpy_slicing.py | 4 +++- tests/test_1308_zip_after_option.py | 4 +++- tests/test_1318_array_function_types.py | 5 ++++- tests/test_1320_mask_identity_defaults.py | 4 +++- .../test_1344_broadcast_arrays_depth_limit.py | 4 +++- tests/test_1345_avro_reader.py | 4 +++- tests/test_1351_is_tuple.py | 4 +++- tests/test_1374_to_rdataframe.py | 4 +++- tests/test_1377_ravel_string.py | 4 +++- ...reducers_with_axis_None_and_typetracers.py | 4 +++- tests/test_1399_from_jax.py | 4 +++- tests/test_1399_to_jax.py | 4 +++- tests/test_1400_with_name_record.py | 4 +++- tests/test_1403_from_numpy_strings.py | 4 +++- tests/test_1405_slicing_untested_cases.py | 4 +++- tests/test_1415_behaviour_forwarding.py | 4 +++- tests/test_1440_start_v2_to_parquet.py | 4 +++- tests/test_1447_jax_autodiff_slices_ufuncs.py | 4 +++- ...est_1449_v2_to_json_from_json_functions.py | 4 +++- ...st_1453_write_single_records_to_parquet.py | 4 +++- tests/test_1473_from_rdataframe.py | 4 +++- .../test_1477_generator_entry_type_as_rvec.py | 4 +++- tests/test_1490_jax_reducers_combinations.py | 4 +++- tests/test_1502_getitem_jagged_issue1406.py | 4 +++- tests/test_1504_typetracer_like.py | 4 ++++ tests/test_1508_awkward_from_rdataframe.py | 4 +++- tests/test_1511_set_attribute.py | 4 +++- .../test_1539_isnone_axis_check_issue1417.py | 4 +++- tests/test_1559_fix_ufuncs_records_1439.py | 4 +++- .../test_1565_axis_wrap_if_negative_record.py | 4 +++- tests/test_1567_fix_longlong_in_Index.py | 4 +++- ...t_1568_fix_lengths_empty_regular_slices.py | 4 +++- tests/test_1578_to_arrow_empty_recordarray.py | 4 +++- ...oncatenate_should_preserve_regulararray.py | 4 +++- tests/test_1593_empty_slice_list_record.py | 4 ++++ .../test_1604_preserve_form_in_concatenate.py | 4 +++- tests/test_1607_no_reducers_on_records.py | 4 +++- tests/test_1613_generator_tolayout_records.py | 4 +++- tests/test_1619_from_parquet_empty_field.py | 4 +++- tests/test_1620_layout_builders.py | 4 +++- ...t_1625_multiple_columns_from_rdataframe.py | 4 +++- tests/test_1642_from_iter_of_tuples.py | 4 +++- tests/test_1644_concatenate_zeros_length.py | 4 +++- ...50_Record_to_list_should_listify_itself.py | 4 +++- tests/test_1671_categorical_type.py | 4 +++- tests/test_1672_broadcast_parameters.py | 4 +++- tests/test_1677_array_builder_in_numba.py | 4 +++- ...st_1685_IndexedArray_project_parameters.py | 4 +++- ...ionArray_simplified_preserve_parameters.py | 4 +++- tests/test_1688_pack_categorical.py | 4 +++- tests/test_1703_fill_none_typetracer.py | 4 +++- tests/test_1707_broadcast_parameters_ufunc.py | 4 +++- ...test_1709_ak_array_constructor_behavior.py | 4 +++- tests/test_1735_from_numpy_mask.py | 4 +++- tests/test_1747_bytemaskedarray_mergemany.py | 4 +++- tests/test_1753_indexedarray_merge_kernel.py | 4 +++- tests/test_1762_jax_behavior_support.py | 4 +++- tests/test_1764_jax_jacobian.py | 4 +++- ...est_1765_add_ioanas_test_of_to_arraylib.py | 4 +++- tests/test_1766_record_form_fields.py | 4 +++- tests/test_1781_rdataframe_snapshot.py | 4 +++- tests/test_1784_reduce_leading_sublist.py | 4 +++- tests/test_1790_reduce_regulararray.py | 4 +++- tests/test_1791_reduce_trailing_sublist.py | 4 +++- tests/test_1794_run_lengths_empty_sublist.py | 4 +++- tests/test_1823_fill_none_axis_none.py | 4 +++- tests/test_1826_ravel_preserve_none.py | 4 +++- tests/test_1829_to_from_rdataframe_bool.py | 4 +++- ...ype_to_handle_ndarray_dtype_and_nptypes.py | 4 +++- tests/test_1847_numpy_array_contiguous.py | 4 +++- ...850_bytemasked_array_to_bytemaskedarray.py | 4 +++- ...1867_pass_behavior_through_combinations.py | 4 +++- tests/test_1904_drop_none.py | 4 +++- tests/test_1914_improved_axis_to_posaxis.py | 4 +++- ...ify_method_with_classmethod_constructor.py | 4 +++- tests/test_1930_unflatten_counts_checks.py | 4 +++- tests/test_1936_with_field_broadcasting.py | 4 +++- tests/test_1940_ak_backend.py | 4 +++- tests/test_1943_regular_indexing.py | 4 +++- .../test_1944_to_numpy_empty_record_array.py | 4 +++- tests/test_1960_awkward_from_rdataframe.py | 4 +++- tests/test_1961_ak_without_field.py | 5 ++++- ...akRecord_constructor_should_retain_type.py | 4 +++- ..._NumpyArray_raw_call_without_underscore.py | 4 +++- tests/test_2008_ak_type_layout.py | 4 +++- tests/test_2020_reduce_axis_none.py | 4 +++- ..._2021_check_TypeTracerArray_in_ak_where.py | 4 +++- tests/test_2023_from_rdataframe.py | 4 +++- ...data_touch_reporting_to_TypeTracerArray.py | 4 +++- ...est_2047_ak_transform_regular_to_jagged.py | 4 +++- ..._2051_arraybuilder_behavior_propagation.py | 4 ++++ tests/test_2055_array_builder_check.py | 4 +++- tests/test_2058_merge_numpy_array.py | 4 +++- tests/test_2064_fill_none_record.py | 4 +++- tests/test_2067_to_buffers_byteorder.py | 4 +++- tests/test_2070_to_layout_string.py | 4 +++- .../test_2071_unflatten_non_packed_counts.py | 4 +++- tests/test_2076_ak_unzip_record.py | 4 +++- tests/test_2078_array_function_wrap.py | 4 +++- tests/test_2082_broadcast_zero_size.py | 4 +++- tests/test_2085_empty_if_typetracer.py | 4 +++- tests/test_2096_ak_scalar_type.py | 4 +++- tests/test_2101_pickle_behavior_class.py | 4 +++- tests/test_2104_numpy_merge_option.py | 4 +++- tests/test_2106_pickle_class.py | 5 ++++- tests/test_2108_fill_none_indexed.py | 4 +++- tests/test_2115_fix_up_typetracers.py | 4 +++- tests/test_2120_missing_field_error.py | 4 +++- tests/test_2125_type_of_scalar.py | 4 +++- .../test_2150_typetracer_high_level_ufunc.py | 4 +++- tests/test_2179_parameter_merging_rules.py | 4 +++- tests/test_2181_with_name_len.py | 3 ++- tests/test_2185_merge_union_of_records.py | 4 +++- ...astype_turns_EmptyArray_into_NumpyArray.py | 4 +++- tests/test_2192_union_absorb_indexed.py | 4 +++- tests/test_2198_almost_equal.py | 4 +++- ...filter_multiple_columns_from_rdataframe.py | 4 +++- tests/test_2214_offset_bool_index.py | 4 +++- tests/test_2219_flatten_empty.py | 4 +++- ...test_2226_slice_regulararray_typetracer.py | 4 +++- tests/test_2229_getitem_range_slice.py | 4 +++- tests/test_2234_from_rdataframe_keep_order.py | 4 +++- ...test_2236_merge_union_of_records_option.py | 4 +++- tests/test_2240_merge_union_parameters.py | 4 +++- tests/test_2240_simplify_merge_as_union.py | 3 ++- tests/test_2246_slice_not_packed.py | 4 +++- tests/test_2250_full_like_bool.py | 4 +++- ...est_2258_from_rdataframe_with_arguments.py | 4 +++- tests/test_2259_run_lengths_typetracer.py | 4 +++- tests/test_2263_to_packed_list.py | 4 +++- tests/test_2266_fix_nan_to_num.py | 4 +++- tests/test_2267_broadcast_fields.py | 4 +++- tests/test_2293_unflatten_typetracer.py | 4 +++- tests/test_2294_view_unknown_scalar.py | 4 +++- tests/test_2296_duplicate_field.py | 4 +++- tests/test_2297_common_backend.py | 4 +++- tests/test_2304_index_typetracer.py | 4 +++- tests/test_2305_nep_18_lazy_conversion.py | 4 +++- tests/test_2306_cppyy_jit.py | 3 ++- tests/test_2319_from_buffers_array.py | 4 +++- tests/test_2327_array_interface.py | 4 +++- .../test_2329_cartesian_broadcasting_fixes.py | 4 +++- tests/test_2346_broadcast_depth_limit.py | 4 +++- tests/test_2349_growablebuffer_in_numba.py | 4 +++- tests/test_2354_ufunc_same_backend.py | 4 +++- tests/test_2355_to_backend_record.py | 4 +++- tests/test_2361_typetracer_asarray_nd.py | 4 +++- tests/test_2364_empty_list_of_string.py | 4 +++- tests/test_2365_enforce_type.py | 4 +++- tests/test_2368_type_is_equal.py | 4 +++- tests/test_2373_unzip_touching.py | 4 ++++ tests/test_2374_cartesian_touching.py | 4 ++++ tests/test_2385_with_field_empty_record.py | 4 +++- tests/test_2395_copy_asarray_touch.py | 4 +++- tests/test_2407_broadcast_no_arrays.py | 4 +++- tests/test_2408_layoutbuilder_in_numba.py | 4 +++- tests/test_2410_string_broadcast.py | 3 ++- tests/test_2411_cartesian_axis_validation.py | 4 +++- tests/test_2417_bytemasked_singletons.py | 4 +++- tests/test_2418_union_broadcast_unknown.py | 3 ++- tests/test_2424_almost_equal_union_record.py | 4 +++- tests/test_2425_forms_from_type.py | 4 +++- tests/test_2426_is_equal_to.py | 4 +++- tests/test_2444_minimal_listarray.py | 4 ++++ tests/test_2471_flatten_string.py | 4 +++- tests/test_2484_reduce_starts_empty.py | 3 ++- tests/test_2487_broadcast_list_offsets.py | 4 +++- ...est_2490_reduce_regulararray_positional.py | 4 +++- tests/test_2495_concatenate_typetracer.py | 4 +++- tests/test_2501_positional_record_reducer.py | 4 +++- tests/test_2503_deprecate_to_numpyform.py | 4 +++- tests/test_2512_record_array_carry.py | 4 +++- .../test_2518_datetime_units_as_parameter.py | 4 +++- tests/test_2536_select_columns.py | 4 +++- tests/test_2548_record_form_fields.py | 4 +++- tests/test_2549_list_nominal_type.py | 4 +++- tests/test_2550_validity_error_recursive.py | 4 +++- tests/test_2560_minimal_listarray.py | 4 +++- tests/test_2564_string_broadcast_regular.py | 4 +++- ...OffsetArray_reduce_local_nextparents_64.py | 4 +++- tests/test_2591_nan_to_num.py | 4 +++- tests/test_2595_transform_termination.py | 4 +++- tests/test_2604_read_awkward1_pickles.py | 4 +++- tests/test_2616_use_pyarrow_for_strings.py | 4 +++- ..._2623_optiontype_outside_record_strings.py | 4 +++- tests/test_2630_akstr_to_categorical.py | 4 +++- .../test_2631_vectorised_to_numpy_strings.py | 4 +++- tests/test_2632_unflatten_length.py | 4 +++- tests/test_2634_listarray_pad_none.py | 4 +++- tests/test_2646_from_parquet_highlevel.py | 4 +++- tests/test_2649_dlpack_support.py | 4 +++- tests/test_2650_arrow_array_highlevel.py | 4 +++- tests/test_2651_parameter_union.py | 4 +++- tests/test_2653_slice_listoffsetarray.py | 4 +++- tests/test_2654_divmod.py | 4 +++- tests/test_2656_unflatten_axis_typetracer.py | 4 +++- ..._2660_expected_container_keys_from_form.py | 4 +++- tests/test_2663_broadcast_tuples.py | 4 +++- tests/test_2665_out_of_band_pickle.py | 3 ++- ...ypetracer_with_report_deprecated_length.py | 4 +++- tests/test_2672_touch_data.py | 4 +++- tests/test_2678_same_backend.py | 4 +++- tests/test_2682_custom_pickler.py | 3 ++- tests/test_2683_to_and_from_feather.py | 4 +++- tests/test_2693_to_buffers_placeholders.py | 5 ++++- tests/test_2710_pickle_unknown_length.py | 4 +++- ...st_2713_from_buffers_allow_noncanonical.py | 4 +++- tests/test_2714_from_buffers_placeholders.py | 3 ++- tests/test_2718_frombuffer_typetracer.py | 4 +++- tests/test_2719_typetracer_buffer_key.py | 3 ++- ...st_2724_expected_from_buffers_recursive.py | 4 +++- tests/test_2727_remove_structure_regular.py | 4 +++- tests/test_2754_highlevel_behavior_missing.py | 4 +++- tests/test_2759_update_class_consistently.py | 3 ++- tests/test_2763_to_layout_granularity.py | 5 ++++- tests/test_2765_slice_from_typetracer.py | 2 ++ tests/test_2769_argsort_all_none.py | 4 +++- ...ize_and_deserialize_behaviour_for_numba.py | 4 +++- tests/test_2785_ak_num_typetracer_axis_0.py | 3 ++- tests/test_2793_nep_50_gradual_support.py | 5 ++++- tests/test_2799_numba_ufunc_resolution.py | 4 +++- 914 files changed, 2620 insertions(+), 1117 deletions(-) create mode 100644 src/awkward/operations/ak_to_categorical.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0a58f723b0..abe04c9ff6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: additional_dependencies: [pyyaml] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.3 + rev: v0.1.4 hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -62,7 +62,7 @@ repos: files: ^tests/ - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.0 + rev: 0.27.1 hooks: - id: check-github-workflows args: ["--verbose"] diff --git a/awkward-cpp/include/awkward/builder/ArrayBuilder.h b/awkward-cpp/include/awkward/builder/ArrayBuilder.h index d664d6b823..c7a090403d 100644 --- a/awkward-cpp/include/awkward/builder/ArrayBuilder.h +++ b/awkward-cpp/include/awkward/builder/ArrayBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_ARRAYBUILDER_H_ #define AWKWARD_ARRAYBUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/BoolBuilder.h b/awkward-cpp/include/awkward/builder/BoolBuilder.h index 5fe007ac9b..82dda90eed 100644 --- a/awkward-cpp/include/awkward/builder/BoolBuilder.h +++ b/awkward-cpp/include/awkward/builder/BoolBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_BOOLBUILDER_H_ #define AWKWARD_BOOLBUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/Builder.h b/awkward-cpp/include/awkward/builder/Builder.h index 28067343bc..ef8737b7ba 100644 --- a/awkward-cpp/include/awkward/builder/Builder.h +++ b/awkward-cpp/include/awkward/builder/Builder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_FILLABLE_H_ #define AWKWARD_FILLABLE_H_ diff --git a/awkward-cpp/include/awkward/builder/Complex128Builder.h b/awkward-cpp/include/awkward/builder/Complex128Builder.h index 1af98a0e1a..2c20cc646a 100644 --- a/awkward-cpp/include/awkward/builder/Complex128Builder.h +++ b/awkward-cpp/include/awkward/builder/Complex128Builder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_COMPLEX128BUILDER_H_ #define AWKWARD_COMPLEX128BUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/DatetimeBuilder.h b/awkward-cpp/include/awkward/builder/DatetimeBuilder.h index 5e313f25d1..d195d432fd 100644 --- a/awkward-cpp/include/awkward/builder/DatetimeBuilder.h +++ b/awkward-cpp/include/awkward/builder/DatetimeBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_DATETIMEBUILDER_H_ #define AWKWARD_DATETIMEBUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/Float64Builder.h b/awkward-cpp/include/awkward/builder/Float64Builder.h index 186926ee6e..fa4e06e158 100644 --- a/awkward-cpp/include/awkward/builder/Float64Builder.h +++ b/awkward-cpp/include/awkward/builder/Float64Builder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_FLOAT64BUILDER_H_ #define AWKWARD_FLOAT64BUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/Int64Builder.h b/awkward-cpp/include/awkward/builder/Int64Builder.h index 2b7e9bac12..00a88d3765 100644 --- a/awkward-cpp/include/awkward/builder/Int64Builder.h +++ b/awkward-cpp/include/awkward/builder/Int64Builder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_INT64BUILDER_H_ #define AWKWARD_INT64BUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/ListBuilder.h b/awkward-cpp/include/awkward/builder/ListBuilder.h index 849807ab92..e2cf6fc8ca 100644 --- a/awkward-cpp/include/awkward/builder/ListBuilder.h +++ b/awkward-cpp/include/awkward/builder/ListBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_LISTBUILDER_H_ #define AWKWARD_LISTBUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/OptionBuilder.h b/awkward-cpp/include/awkward/builder/OptionBuilder.h index 845b1b4040..65e911aabe 100644 --- a/awkward-cpp/include/awkward/builder/OptionBuilder.h +++ b/awkward-cpp/include/awkward/builder/OptionBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_OPTIONBUILDER_H_ #define AWKWARD_OPTIONBUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/RecordBuilder.h b/awkward-cpp/include/awkward/builder/RecordBuilder.h index 7824016831..ed099ba424 100644 --- a/awkward-cpp/include/awkward/builder/RecordBuilder.h +++ b/awkward-cpp/include/awkward/builder/RecordBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_RECORDBUILDER_H_ #define AWKWARD_RECORDBUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/StringBuilder.h b/awkward-cpp/include/awkward/builder/StringBuilder.h index 8984ee3ab8..8ba26bdae6 100644 --- a/awkward-cpp/include/awkward/builder/StringBuilder.h +++ b/awkward-cpp/include/awkward/builder/StringBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_STRINGBUILDER_H_ #define AWKWARD_STRINGBUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/TupleBuilder.h b/awkward-cpp/include/awkward/builder/TupleBuilder.h index b2096176eb..f5a9ff4326 100644 --- a/awkward-cpp/include/awkward/builder/TupleBuilder.h +++ b/awkward-cpp/include/awkward/builder/TupleBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_TUPLEBUILDER_H_ #define AWKWARD_TUPLEBUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/UnionBuilder.h b/awkward-cpp/include/awkward/builder/UnionBuilder.h index dea31ac332..b1e12c0201 100644 --- a/awkward-cpp/include/awkward/builder/UnionBuilder.h +++ b/awkward-cpp/include/awkward/builder/UnionBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_UNIONBUILDER_H_ #define AWKWARD_UNIONBUILDER_H_ diff --git a/awkward-cpp/include/awkward/builder/UnknownBuilder.h b/awkward-cpp/include/awkward/builder/UnknownBuilder.h index ed3eee6559..a6d87fb600 100644 --- a/awkward-cpp/include/awkward/builder/UnknownBuilder.h +++ b/awkward-cpp/include/awkward/builder/UnknownBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_UNKNOWNBUILDER_H_ #define AWKWARD_UNKNOWNBUILDER_H_ diff --git a/awkward-cpp/include/awkward/common.h b/awkward-cpp/include/awkward/common.h index cc84c6de47..dab4869912 100644 --- a/awkward-cpp/include/awkward/common.h +++ b/awkward-cpp/include/awkward/common.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_COMMON_H_ #define AWKWARD_COMMON_H_ diff --git a/awkward-cpp/include/awkward/forth/ForthInputBuffer.h b/awkward-cpp/include/awkward/forth/ForthInputBuffer.h index f2f6969584..107f1c5a68 100644 --- a/awkward-cpp/include/awkward/forth/ForthInputBuffer.h +++ b/awkward-cpp/include/awkward/forth/ForthInputBuffer.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_FORTHINPUTBUFFER_H_ #define AWKWARD_FORTHINPUTBUFFER_H_ diff --git a/awkward-cpp/include/awkward/forth/ForthMachine.h b/awkward-cpp/include/awkward/forth/ForthMachine.h index 9744298271..73b5fa9384 100644 --- a/awkward-cpp/include/awkward/forth/ForthMachine.h +++ b/awkward-cpp/include/awkward/forth/ForthMachine.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_FORTHMACHINE_H_ #define AWKWARD_FORTHMACHINE_H_ diff --git a/awkward-cpp/include/awkward/forth/ForthOutputBuffer.h b/awkward-cpp/include/awkward/forth/ForthOutputBuffer.h index 3a0bb8e714..d393859066 100644 --- a/awkward-cpp/include/awkward/forth/ForthOutputBuffer.h +++ b/awkward-cpp/include/awkward/forth/ForthOutputBuffer.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_FORTHOUTPUTBUFFER_H_ #define AWKWARD_FORTHOUTPUTBUFFER_H_ diff --git a/awkward-cpp/include/awkward/io/json.h b/awkward-cpp/include/awkward/io/json.h index 4beec5145f..6eaf19735f 100644 --- a/awkward-cpp/include/awkward/io/json.h +++ b/awkward-cpp/include/awkward/io/json.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_IO_JSON_H_ #define AWKWARD_IO_JSON_H_ diff --git a/awkward-cpp/include/awkward/kernel-utils.h b/awkward-cpp/include/awkward/kernel-utils.h index ee7068a399..fb95133e70 100644 --- a/awkward-cpp/include/awkward/kernel-utils.h +++ b/awkward-cpp/include/awkward/kernel-utils.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_KERNEL_UTILS_H_ #define AWKWARD_KERNEL_UTILS_H_ diff --git a/awkward-cpp/include/awkward/python/content.h b/awkward-cpp/include/awkward/python/content.h index 215078e3e1..413f0999c7 100644 --- a/awkward-cpp/include/awkward/python/content.h +++ b/awkward-cpp/include/awkward/python/content.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARDPY_CONTENT_H_ #define AWKWARDPY_CONTENT_H_ diff --git a/awkward-cpp/include/awkward/python/forth.h b/awkward-cpp/include/awkward/python/forth.h index 0688bf137b..a8c4ce1c02 100644 --- a/awkward-cpp/include/awkward/python/forth.h +++ b/awkward-cpp/include/awkward/python/forth.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARDPY_FORTH_H_ #define AWKWARDPY_FORTH_H_ diff --git a/awkward-cpp/include/awkward/python/io.h b/awkward-cpp/include/awkward/python/io.h index bd7ed6c6f4..d06c481166 100644 --- a/awkward-cpp/include/awkward/python/io.h +++ b/awkward-cpp/include/awkward/python/io.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARDPY_IO_H_ #define AWKWARDPY_IO_H_ diff --git a/awkward-cpp/include/awkward/python/kernel_utils.h b/awkward-cpp/include/awkward/python/kernel_utils.h index 5868c93672..5653af2c36 100644 --- a/awkward-cpp/include/awkward/python/kernel_utils.h +++ b/awkward-cpp/include/awkward/python/kernel_utils.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_KERNEL_UTILS_H #define AWKWARD_KERNEL_UTILS_H diff --git a/awkward-cpp/include/awkward/python/util.h b/awkward-cpp/include/awkward/python/util.h index 53b2c5f39c..5aafcc6b56 100644 --- a/awkward-cpp/include/awkward/python/util.h +++ b/awkward-cpp/include/awkward/python/util.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARDPY_UTIL_H_ #define AWKWARDPY_UTIL_H_ diff --git a/awkward-cpp/include/awkward/unicode.h b/awkward-cpp/include/awkward/unicode.h index ac4d5a4ba1..7703f67ce0 100644 --- a/awkward-cpp/include/awkward/unicode.h +++ b/awkward-cpp/include/awkward/unicode.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #include #include diff --git a/awkward-cpp/include/awkward/util.h b/awkward-cpp/include/awkward/util.h index 25d79f3395..712b73980f 100644 --- a/awkward-cpp/include/awkward/util.h +++ b/awkward-cpp/include/awkward/util.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_UTIL_H_ #define AWKWARD_UTIL_H_ @@ -59,7 +59,7 @@ namespace awkward { /// /// @note The implementation does not yet escape characters: it only adds /// strings. See issue - /// [scikit-hep/awkward-1.0#186](https://github.com/scikit-hep/awkward-1.0/issues/186). + /// [scikit-hep/awkward#186](https://github.com/scikit-hep/awkward/issues/186). std::string quote(const std::string& x); diff --git a/awkward-cpp/src/awkward_cpp/__init__.py b/awkward-cpp/src/awkward_cpp/__init__.py index 345bb3b677..da00e7d322 100644 --- a/awkward-cpp/src/awkward_cpp/__init__.py +++ b/awkward-cpp/src/awkward_cpp/__init__.py @@ -1,2 +1,6 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward_cpp.cpu_kernels import awkward_cpp.libawkward # noqa: F401 diff --git a/awkward-cpp/src/awkward_cpp/cpu_kernels.py b/awkward-cpp/src/awkward_cpp/cpu_kernels.py index 5f8047823c..20e18fdd7a 100644 --- a/awkward-cpp/src/awkward_cpp/cpu_kernels.py +++ b/awkward-cpp/src/awkward_cpp/cpu_kernels.py @@ -1,6 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -# v2: no change; keep this file. +from __future__ import annotations import ctypes import platform diff --git a/awkward-cpp/src/awkward_cpp/libawkward.py b/awkward-cpp/src/awkward_cpp/libawkward.py index c523fad67d..2cf9f85e7a 100644 --- a/awkward-cpp/src/awkward_cpp/libawkward.py +++ b/awkward-cpp/src/awkward_cpp/libawkward.py @@ -1,6 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -# v2: no change; keep this file. +from __future__ import annotations import ctypes import platform diff --git a/awkward-cpp/src/cpu-kernels/awkward_BitMaskedArray_to_ByteMaskedArray.cpp b/awkward-cpp/src/cpu-kernels/awkward_BitMaskedArray_to_ByteMaskedArray.cpp index 610bb18c45..f96be8bfa1 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_BitMaskedArray_to_ByteMaskedArray.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_BitMaskedArray_to_ByteMaskedArray.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_BitMaskedArray_to_ByteMaskedArray.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_BitMaskedArray_to_IndexedOptionArray.cpp b/awkward-cpp/src/cpu-kernels/awkward_BitMaskedArray_to_IndexedOptionArray.cpp index e0cbbfabab..7947c91d87 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_BitMaskedArray_to_IndexedOptionArray.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_BitMaskedArray_to_IndexedOptionArray.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_BitMaskedArray_to_IndexedOptionArray.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry.cpp b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry.cpp index 2902417158..2985c804d6 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry_outindex.cpp b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry_outindex.cpp index 773caff1ce..09f1cbff5d 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry_outindex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry_outindex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ByteMaskedArray_getitem_nextcarry_outindex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_numnull.cpp b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_numnull.cpp index f28e571229..e791ff4626 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_numnull.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_numnull.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ByteMaskedArray_numnull.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_overlay_mask.cpp b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_overlay_mask.cpp index 37d648e15c..53e105a39b 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_overlay_mask.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_overlay_mask.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ByteMaskedArray_overlay_mask.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_64.cpp index c9992212c1..966f92fdab 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_64.cpp index 6a1871ca86..8820686d39 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp index 50b6f27b7b..d0831d0386 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_toIndexedOptionArray.cpp b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_toIndexedOptionArray.cpp index 11b0b309a6..eb96a7b450 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_toIndexedOptionArray.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ByteMaskedArray_toIndexedOptionArray.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ByteMaskedArray_toIndexedOptionArray.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_Content_getitem_next_missing_jagged_getmaskstartstop.cpp b/awkward-cpp/src/cpu-kernels/awkward_Content_getitem_next_missing_jagged_getmaskstartstop.cpp index 2b8f70b0b4..f1afca212e 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_Content_getitem_next_missing_jagged_getmaskstartstop.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_Content_getitem_next_missing_jagged_getmaskstartstop.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_Content_getitem_next_missing_jagged_getmaskstartstop.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_Index_nones_as_index.cpp b/awkward-cpp/src/cpu-kernels/awkward_Index_nones_as_index.cpp index ad2febc39e..ffe1997daf 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_Index_nones_as_index.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_Index_nones_as_index.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_Index_nones_as_index.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_fill.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_fill.cpp index b2bbde0209..d4636bb6c5 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_fill.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_fill.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_fill.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_fill_count.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_fill_count.cpp index 496227a3e7..4f03cef939 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_fill_count.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_fill_count.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_fill_count.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_flatten_nextcarry.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_flatten_nextcarry.cpp index ce430674d1..5be4628483 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_flatten_nextcarry.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_flatten_nextcarry.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_flatten_nextcarry.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_flatten_none2empty.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_flatten_none2empty.cpp index 92365f8080..e41134913e 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_flatten_none2empty.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_flatten_none2empty.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_flatten_none2empty.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry.cpp index 458caed8d0..196597a07c 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry_outindex.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry_outindex.cpp index 3b9c5e3f8d..711d6977e9 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry_outindex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry_outindex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_getitem_nextcarry_outindex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_index_of_nulls.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_index_of_nulls.cpp index 1a8e9c6feb..857c12cbca 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_index_of_nulls.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_index_of_nulls.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_index_of_nulls.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_local_preparenext_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_local_preparenext_64.cpp index 53035f8730..c8338ec40f 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_local_preparenext_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_local_preparenext_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_local_preparenext_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull.cpp index 3e53ed6a0c..cefec39d74 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_numnull.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull_parents.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull_parents.cpp index 8cd336c79c..487fdabe72 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull_parents.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull_parents.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_numnull_parents.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull_unique.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull_unique.cpp index 41b4e73c43..b955bc8e14 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull_unique.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_numnull_unique.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_numnull_unique.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_overlay_mask.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_overlay_mask.cpp index de98cecdc5..813e0195cb 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_overlay_mask.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_overlay_mask.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_overlay_mask.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_ranges_carry_next_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_ranges_carry_next_64.cpp index 420368014b..97968da430 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_ranges_carry_next_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_ranges_carry_next_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_ranges_carry_next_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_ranges_next_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_ranges_next_64.cpp index b1d22a868f..11d3d7d84f 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_ranges_next_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_ranges_next_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_ranges_next_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_64.cpp index d4e82f7c3f..ebee30a898 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_reduce_next_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_fix_offsets_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_fix_offsets_64.cpp index b45fb6d00c..b431dbd440 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_fix_offsets_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_fix_offsets_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_reduce_next_fix_offsets_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_64.cpp index 16b3c9cdd7..96cd51a572 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp index 848e3462d3..611f370687 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_simplify.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_simplify.cpp index 7284432868..363aeb4b60 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_simplify.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_simplify.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_simplify.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_unique_next_index_and_offsets_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_unique_next_index_and_offsets_64.cpp index 1284ff218a..ab0d8bd512 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_unique_next_index_and_offsets_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_unique_next_index_and_offsets_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_unique_next_index_and_offsets_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_validity.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_validity.cpp index a4c0ea506f..894e5c9c52 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_validity.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedArray_validity.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_validity.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_IndexedOptionArray_rpad_and_clip_mask_axis1.cpp b/awkward-cpp/src/cpu-kernels/awkward_IndexedOptionArray_rpad_and_clip_mask_axis1.cpp index 3783b7b6ab..14aa9ca6a8 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_IndexedOptionArray_rpad_and_clip_mask_axis1.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_IndexedOptionArray_rpad_and_clip_mask_axis1.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedOptionArray_rpad_and_clip_mask_axis1.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_broadcast_tooffsets.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_broadcast_tooffsets.cpp index 9bb973584d..15608b17d4 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_broadcast_tooffsets.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_broadcast_tooffsets.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_broadcast_tooffsets.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_combinations.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_combinations.cpp index a7a1b14fe7..ba00c814fb 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_combinations.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_combinations.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_combinations.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_combinations_length.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_combinations_length.cpp index bdd1979803..6de602217b 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_combinations_length.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_combinations_length.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_combinations_length.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_compact_offsets.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_compact_offsets.cpp index 0a3c8c3500..95b250b0fc 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_compact_offsets.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_compact_offsets.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_compact_offsets.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_fill.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_fill.cpp index 5a424fc341..1f84b79a6b 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_fill.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_fill.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_fill.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_apply.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_apply.cpp index c89a82fadf..f3f253c649 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_apply.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_apply.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_jagged_apply.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_carrylen.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_carrylen.cpp index e6f7ea881f..55ad3187e2 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_carrylen.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_carrylen.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_jagged_carrylen.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_descend.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_descend.cpp index e03b2c0308..df55ce180b 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_descend.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_descend.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_jagged_descend.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_expand.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_expand.cpp index 0aa33288d8..791d438454 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_expand.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_expand.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_jagged_expand.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_numvalid.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_numvalid.cpp index 8f84bb9440..5094ff43a2 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_numvalid.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_numvalid.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_jagged_numvalid.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_shrink.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_shrink.cpp index 6e52854495..aa88478c29 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_shrink.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_jagged_shrink.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_jagged_shrink.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_array.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_array.cpp index 767f9c9485..cd2fa57caf 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_array.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_array.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_next_array.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_array_advanced.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_array_advanced.cpp index 6327874388..316fb4d9dd 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_array_advanced.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_array_advanced.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_next_array_advanced.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_at.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_at.cpp index c51067ca1f..47dfe12d4e 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_at.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_at.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_getitem_next_at.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range.cpp index b8c068e9c4..f066a66aec 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_next_range.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_carrylength.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_carrylength.cpp index 8cdc6642e5..2d37e35509 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_carrylength.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_carrylength.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_next_range_carrylength.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_counts.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_counts.cpp index 37b68a4294..a9d401f975 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_counts.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_counts.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_next_range_counts.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_spreadadvanced.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_spreadadvanced.cpp index a8bdb3d34c..d104453296 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_spreadadvanced.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_getitem_next_range_spreadadvanced.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_next_range_spreadadvanced.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_localindex.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_localindex.cpp index 89ec512ba7..23c6cec18c 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_localindex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_localindex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_localindex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_min_range.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_min_range.cpp index 177c2bb5ce..b402731497 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_min_range.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_min_range.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_min_range.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_rpad_and_clip_length_axis1.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_rpad_and_clip_length_axis1.cpp index 9f9a16846b..05093abe18 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_rpad_and_clip_length_axis1.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_rpad_and_clip_length_axis1.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_rpad_and_clip_length_axis1.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_rpad_axis1.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_rpad_axis1.cpp index 65106cada2..c5ecfced95 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_rpad_axis1.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_rpad_axis1.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_rpad_axis1.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListArray_validity.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListArray_validity.cpp index b63d4c4cf6..090245acb7 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListArray_validity.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListArray_validity.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_validity.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_argsort_strings.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_argsort_strings.cpp index 2b26f2112a..38e51d79af 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_argsort_strings.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_argsort_strings.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_argsort_strings.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_drop_none_indexes.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_drop_none_indexes.cpp index 58c3b3617c..ce242303ab 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_drop_none_indexes.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_drop_none_indexes.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_drop_none_indexes.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_flatten_offsets.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_flatten_offsets.cpp index 0704c75f62..683dab7682 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_flatten_offsets.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_flatten_offsets.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_flatten_offsets.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_local_preparenext_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_local_preparenext_64.cpp index 39540b252b..bbe677ec36 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_local_preparenext_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_local_preparenext_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_local_preparenext_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_local_nextparents_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_local_nextparents_64.cpp index fe5f90e8f0..02cc6226f0 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_local_nextparents_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_local_nextparents_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_reduce_local_nextparents_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_local_outoffsets_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_local_outoffsets_64.cpp index 6bb2744428..1ebcc69ad7 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_local_outoffsets_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_local_outoffsets_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_reduce_local_outoffsets_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64.cpp index 040ccfa0ed..066a244edd 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextshifts_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextshifts_64.cpp index 0ce622f123..3c1fccc944 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextshifts_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextshifts_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextshifts_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextstarts_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextstarts_64.cpp index 5beecc9d67..07e5e362c9 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextstarts_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextstarts_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_nextstarts_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_outstartsstops_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_outstartsstops_64.cpp index 9fa3a1695d..0b22425fb3 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_outstartsstops_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_outstartsstops_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) \ FILENAME_FOR_EXCEPTIONS_C( \ diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_preparenext_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_preparenext_64.cpp index a1dfa47c84..fa90de8fa8 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_preparenext_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_preparenext_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_preparenext_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_and_clip_axis1.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_and_clip_axis1.cpp index f5f6bcd2b7..8dd6ec365e 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_and_clip_axis1.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_and_clip_axis1.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_rpad_and_clip_axis1.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_axis1.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_axis1.cpp index 80210bff5b..5d9427a68e 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_axis1.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_axis1.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_rpad_axis1.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_length_axis1.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_length_axis1.cpp index b4bf8e5559..f43bcabf77 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_length_axis1.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_rpad_length_axis1.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_rpad_length_axis1.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_toRegularArray.cpp b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_toRegularArray.cpp index 74b956ae6d..ecaf34f16f 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_toRegularArray.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_ListOffsetArray_toRegularArray.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_toRegularArray.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_MaskedArray_getitem_next_jagged_project.cpp b/awkward-cpp/src/cpu-kernels/awkward_MaskedArray_getitem_next_jagged_project.cpp index 3a7cb7c912..1b3ef83bd7 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_MaskedArray_getitem_next_jagged_project.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_MaskedArray_getitem_next_jagged_project.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_MaskedArray_getitem_next_jagged_project.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_fill.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_fill.cpp index 7f3aa9949e..02f4e7be2f 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_fill.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_fill.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_fill.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_pad_zero_to_length.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_pad_zero_to_length.cpp index a55ac66310..89a31aafb1 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_pad_zero_to_length.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_pad_zero_to_length.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_pad_zero_to_length.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_prepare_utf8_to_utf32_padded.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_prepare_utf8_to_utf32_padded.cpp index 36a160db2e..4fbc4b634b 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_prepare_utf8_to_utf32_padded.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_prepare_utf8_to_utf32_padded.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_prepare_utf8_to_utf32_padded.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_rearrange_shifted.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_rearrange_shifted.cpp index ddd18145c6..f9768cae84 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_rearrange_shifted.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_rearrange_shifted.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_rearrange_shifted.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_64.cpp index 39deb5d70f..2462a10037 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_shifts_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_shifts_64.cpp index 500d61bf17..114ba9e798 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_shifts_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_shifts_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_reduce_adjust_starts_shifts_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_mask_ByteMaskedArray_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_mask_ByteMaskedArray_64.cpp index c149cc0f66..7149c62d28 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_mask_ByteMaskedArray_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_reduce_mask_ByteMaskedArray_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_reduce_mask_ByteMaskedArray_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_sort_asstrings_uint8.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_sort_asstrings_uint8.cpp index fe55538c17..e6244fd0aa 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_sort_asstrings_uint8.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_sort_asstrings_uint8.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_sort_asstrings_uint8.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_subrange_equal.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_subrange_equal.cpp index f04084c9c8..7e95b352e3 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_subrange_equal.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_subrange_equal.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_subrange_equal.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_unique_strings_uint8.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_unique_strings_uint8.cpp index 3de2b2211f..661a005d6c 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_unique_strings_uint8.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_unique_strings_uint8.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_unique_strings_uint8.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_utf8_to_utf32_padded.cpp b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_utf8_to_utf32_padded.cpp index 435fcc6c76..622aa928df 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_utf8_to_utf32_padded.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_NumpyArray_utf8_to_utf32_padded.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_utf8_to_utf32_padded.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RecordArray_reduce_nonlocal_outoffsets_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_RecordArray_reduce_nonlocal_outoffsets_64.cpp index 5f3ab89174..e7e9560b16 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RecordArray_reduce_nonlocal_outoffsets_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RecordArray_reduce_nonlocal_outoffsets_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RecordArray_reduce_local_outoffsets_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_combinations.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_combinations.cpp index 118f5d3f76..6d903d0851 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_combinations.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_combinations.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_combinations.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_carry.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_carry.cpp index 7dd6ab1f3b..53f2268511 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_carry.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_carry.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_getitem_carry.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_jagged_expand.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_jagged_expand.cpp index 0cadb402a8..0a964b55df 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_jagged_expand.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_jagged_expand.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_getitem_jagged_expand.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array.cpp index cd152a6a2b..788e9d4f2e 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_getitem_next_array.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array_advanced.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array_advanced.cpp index f31f669d91..3e1f17ead8 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array_advanced.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array_advanced.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_getitem_next_array_advanced.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array_regularize.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array_regularize.cpp index 8e8d4a12f6..7626235eac 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array_regularize.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_array_regularize.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_getitem_next_array_regularize.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_at.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_at.cpp index daffe6def4..9af2e8bccd 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_at.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_at.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_getitem_next_at.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_range.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_range.cpp index 4055758107..0b7921a4d6 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_range.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_range.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_getitem_next_range.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_range_spreadadvanced.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_range_spreadadvanced.cpp index a52df6927f..c49995444f 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_range_spreadadvanced.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_getitem_next_range_spreadadvanced.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_getitem_next_range_spreadadvanced.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_localindex.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_localindex.cpp index d2d46e843d..750386c210 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_localindex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_localindex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_localindex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_reduce_local_nextparents_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_reduce_local_nextparents_64.cpp index 24efc8157d..2ee4b579cc 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_reduce_local_nextparents_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_reduce_local_nextparents_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_reduce_local_nextparents_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_reduce_nonlocal_preparenext_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_reduce_nonlocal_preparenext_64.cpp index 4664ffe017..8816593716 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_reduce_nonlocal_preparenext_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_reduce_nonlocal_preparenext_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_reduce_nonlocal_preparenext_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_rpad_and_clip_axis1.cpp b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_rpad_and_clip_axis1.cpp index adb0450c59..01f02c169e 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_RegularArray_rpad_and_clip_axis1.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_RegularArray_rpad_and_clip_axis1.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_RegularArray_rpad_and_clip_axis1.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillindex.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillindex.cpp index 5988c8706f..d1b4dee428 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillindex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillindex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_fillindex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillindex_count.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillindex_count.cpp index fcb11e1592..064d07bae3 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillindex_count.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillindex_count.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_fillindex_count.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillna.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillna.cpp index f5bb10cb3c..3a7df4c9d5 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillna.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_fillna.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_fillna.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_filltags.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_filltags.cpp index 326faf8387..4cb63a4fde 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_filltags.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_filltags.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_filltags.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_filltags_const.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_filltags_const.cpp index afd1c793c9..db6721a90b 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_filltags_const.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_filltags_const.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_filltags_const.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_flatten_combine.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_flatten_combine.cpp index c71a0da1c1..db5ed6501b 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_flatten_combine.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_flatten_combine.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_flatten_combine.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_flatten_length.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_flatten_length.cpp index f43dc3a467..1afe377de1 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_flatten_length.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_flatten_length.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_flatten_length.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_nestedfill_tags_index.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_nestedfill_tags_index.cpp index 082154c84e..39152d87c0 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_nestedfill_tags_index.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_nestedfill_tags_index.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_nestedfill_tags_index.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_project.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_project.cpp index 422a460abf..f368cd9bb4 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_project.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_project.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_project.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_regular_index.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_regular_index.cpp index 323e0b0e6a..bd7deb8c56 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_regular_index.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_regular_index.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_regular_index.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_regular_index_getsize.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_regular_index_getsize.cpp index 90ca912bb8..f660fd8343 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_regular_index_getsize.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_regular_index_getsize.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_regular_index_getsize.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_simplify.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_simplify.cpp index 77201e4d34..8dd8f86c75 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_simplify.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_simplify.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_simplify.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_simplify_one.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_simplify_one.cpp index ee5e968918..227f9614f5 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_simplify_one.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_simplify_one.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_simplify_one.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_validity.cpp b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_validity.cpp index 6c66c25de4..833d5e5290 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_UnionArray_validity.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_UnionArray_validity.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_UnionArray_validity.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_argsort.cpp b/awkward-cpp/src/cpu-kernels/awkward_argsort.cpp index a40ca84400..50c9c4e551 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_argsort.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_argsort.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_argsort.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_index_rpad_and_clip_axis0.cpp b/awkward-cpp/src/cpu-kernels/awkward_index_rpad_and_clip_axis0.cpp index aab3a0a9e7..a95c5f9410 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_index_rpad_and_clip_axis0.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_index_rpad_and_clip_axis0.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_index_rpad_and_clip_axis0.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_index_rpad_and_clip_axis1.cpp b/awkward-cpp/src/cpu-kernels/awkward_index_rpad_and_clip_axis1.cpp index 95629ee220..5ec1c9de60 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_index_rpad_and_clip_axis1.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_index_rpad_and_clip_axis1.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_index_rpad_and_clip_axis1.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_localindex.cpp b/awkward-cpp/src/cpu-kernels/awkward_localindex.cpp index b152f0f389..bff1dd0278 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_localindex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_localindex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_localindex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_missing_repeat.cpp b/awkward-cpp/src/cpu-kernels/awkward_missing_repeat.cpp index 853a796a19..ec4e865b48 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_missing_repeat.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_missing_repeat.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_missing_repeat.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_argmax.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_argmax.cpp index 5ea5cf51a4..247bdf2e94 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_argmax.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_argmax.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_argmax.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_argmax_complex.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_argmax_complex.cpp index 37069b7d9f..1670f4bfd2 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_argmax_complex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_argmax_complex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_argmax_complex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_argmin.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_argmin.cpp index 86d640aeb9..51500940df 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_argmin.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_argmin.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_argmin.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_argmin_complex.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_argmin_complex.cpp index 711c0504e0..ecfbb681d6 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_argmin_complex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_argmin_complex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_argmin_complex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_count_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_count_64.cpp index 1312fe8a66..b1c604328e 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_count_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_count_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_count_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_countnonzero.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_countnonzero.cpp index 4575f133a6..ff338b123e 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_countnonzero.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_countnonzero.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_countnonzero.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_countnonzero_complex.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_countnonzero_complex.cpp index 8fd44846c9..b7e4b8a647 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_countnonzero_complex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_countnonzero_complex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_countnonzero_complex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_max.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_max.cpp index 005a77b235..2f2c62c134 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_max.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_max.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_max.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_max_complex.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_max_complex.cpp index 5a7c986ba7..eec236958f 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_max_complex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_max_complex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_max_complex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_min.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_min.cpp index 28f3742b62..9d6e9baa55 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_min.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_min.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_min.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_min_complex.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_min_complex.cpp index a4d079a904..b41810d472 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_min_complex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_min_complex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_min_complex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_prod.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_prod.cpp index 8c2ca45723..ecab582617 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_prod.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_prod.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_prod.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_bool.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_bool.cpp index b2754af9bb..03159eeb44 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_bool.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_bool.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_prod_bool.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_bool_complex.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_bool_complex.cpp index 3b7c729828..add492fed8 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_bool_complex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_bool_complex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_prod_bool_complex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_complex.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_complex.cpp index 3815f2b209..860c010045 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_complex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_prod_complex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_prod_complex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum.cpp index 392b2b590f..42730387bd 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_sum.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_bool.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_bool.cpp index ec0f96bf26..8be1fcdc25 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_bool.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_bool.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_sum_bool.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_bool_complex.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_bool_complex.cpp index fe88057f8e..10fcc1436d 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_bool_complex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_bool_complex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_sum_bool_complex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_complex.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_complex.cpp index c52f728afd..ba6e40a89a 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_complex.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_complex.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_sum_complex.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_int32_bool_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_int32_bool_64.cpp index 7ac7b32f36..1c0cc6ce08 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_int32_bool_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_int32_bool_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_sum_int32_bool_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_int64_bool_64.cpp b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_int64_bool_64.cpp index 03711276a2..4ed0a44f29 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_int64_bool_64.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_reduce_sum_int64_bool_64.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_reduce_sum_int64_bool_64.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_sort.cpp b/awkward-cpp/src/cpu-kernels/awkward_sort.cpp index 55c42e2952..2b19438b55 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_sort.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_sort.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_sort.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_sorting_ranges.cpp b/awkward-cpp/src/cpu-kernels/awkward_sorting_ranges.cpp index 6a3a6d814b..f8e1427b4c 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_sorting_ranges.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_sorting_ranges.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_sorting_ranges.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_sorting_ranges_length.cpp b/awkward-cpp/src/cpu-kernels/awkward_sorting_ranges_length.cpp index 2f0222e7f8..94d9ffcdd7 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_sorting_ranges_length.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_sorting_ranges_length.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_sorting_ranges_length.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_unique.cpp b/awkward-cpp/src/cpu-kernels/awkward_unique.cpp index aba36d2348..fc9730edaf 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_unique.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_unique.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_unique.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_unique_copy.cpp b/awkward-cpp/src/cpu-kernels/awkward_unique_copy.cpp index 15a7d3c24b..0b0f0e04b6 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_unique_copy.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_unique_copy.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_unique_copy.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_unique_offsets.cpp b/awkward-cpp/src/cpu-kernels/awkward_unique_offsets.cpp index ac0a45354e..b61fc3defb 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_unique_offsets.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_unique_offsets.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_unique_offsets.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/awkward_unique_ranges.cpp b/awkward-cpp/src/cpu-kernels/awkward_unique_ranges.cpp index e483ea90ba..496f55279b 100644 --- a/awkward-cpp/src/cpu-kernels/awkward_unique_ranges.cpp +++ b/awkward-cpp/src/cpu-kernels/awkward_unique_ranges.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_unique_ranges.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/kernel-utils.cpp b/awkward-cpp/src/cpu-kernels/kernel-utils.cpp index 171502edd0..22ca679629 100644 --- a/awkward-cpp/src/cpu-kernels/kernel-utils.cpp +++ b/awkward-cpp/src/cpu-kernels/kernel-utils.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/kernel-utils.cpp", line) diff --git a/awkward-cpp/src/cpu-kernels/unicode.cpp b/awkward-cpp/src/cpu-kernels/unicode.cpp index 625167a21d..4f4620636b 100644 --- a/awkward-cpp/src/cpu-kernels/unicode.cpp +++ b/awkward-cpp/src/cpu-kernels/unicode.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/unicode.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/ArrayBuilder.cpp b/awkward-cpp/src/libawkward/builder/ArrayBuilder.cpp index 6cdc130888..d5f0db73e3 100644 --- a/awkward-cpp/src/libawkward/builder/ArrayBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/ArrayBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/ArrayBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/BoolBuilder.cpp b/awkward-cpp/src/libawkward/builder/BoolBuilder.cpp index bd6161894e..b499d2ed35 100644 --- a/awkward-cpp/src/libawkward/builder/BoolBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/BoolBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/BoolBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/Builder.cpp b/awkward-cpp/src/libawkward/builder/Builder.cpp index ce30e4114c..819c69d7c2 100644 --- a/awkward-cpp/src/libawkward/builder/Builder.cpp +++ b/awkward-cpp/src/libawkward/builder/Builder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #include "awkward/builder/Builder.h" diff --git a/awkward-cpp/src/libawkward/builder/Complex128Builder.cpp b/awkward-cpp/src/libawkward/builder/Complex128Builder.cpp index 159c7759c1..d1cf13da32 100644 --- a/awkward-cpp/src/libawkward/builder/Complex128Builder.cpp +++ b/awkward-cpp/src/libawkward/builder/Complex128Builder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/Complex128Builder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/DatetimeBuilder.cpp b/awkward-cpp/src/libawkward/builder/DatetimeBuilder.cpp index b7ea9b95ef..a46cf96cfe 100644 --- a/awkward-cpp/src/libawkward/builder/DatetimeBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/DatetimeBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/DatetimeBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/Float64Builder.cpp b/awkward-cpp/src/libawkward/builder/Float64Builder.cpp index 5ae463ea71..59f4713392 100644 --- a/awkward-cpp/src/libawkward/builder/Float64Builder.cpp +++ b/awkward-cpp/src/libawkward/builder/Float64Builder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/Float64Builder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/Int64Builder.cpp b/awkward-cpp/src/libawkward/builder/Int64Builder.cpp index b4b6265e5f..6b070576b4 100644 --- a/awkward-cpp/src/libawkward/builder/Int64Builder.cpp +++ b/awkward-cpp/src/libawkward/builder/Int64Builder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/Int64Builder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/ListBuilder.cpp b/awkward-cpp/src/libawkward/builder/ListBuilder.cpp index 9d1e750294..7aaf41005d 100644 --- a/awkward-cpp/src/libawkward/builder/ListBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/ListBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/ListBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/OptionBuilder.cpp b/awkward-cpp/src/libawkward/builder/OptionBuilder.cpp index 251ab2eddd..882e1e0f18 100644 --- a/awkward-cpp/src/libawkward/builder/OptionBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/OptionBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/OptionBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/RecordBuilder.cpp b/awkward-cpp/src/libawkward/builder/RecordBuilder.cpp index c024101b08..5e41caffb9 100644 --- a/awkward-cpp/src/libawkward/builder/RecordBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/RecordBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/RecordBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/StringBuilder.cpp b/awkward-cpp/src/libawkward/builder/StringBuilder.cpp index 6af4e68d11..cf658f88b2 100644 --- a/awkward-cpp/src/libawkward/builder/StringBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/StringBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/StringBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/TupleBuilder.cpp b/awkward-cpp/src/libawkward/builder/TupleBuilder.cpp index 4c4391d438..a487eb0c81 100644 --- a/awkward-cpp/src/libawkward/builder/TupleBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/TupleBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/TupleBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/UnionBuilder.cpp b/awkward-cpp/src/libawkward/builder/UnionBuilder.cpp index 49e5ad305b..9f51cb4f95 100644 --- a/awkward-cpp/src/libawkward/builder/UnionBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/UnionBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/UnionBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/builder/UnknownBuilder.cpp b/awkward-cpp/src/libawkward/builder/UnknownBuilder.cpp index a0096cab26..60b85aa60e 100644 --- a/awkward-cpp/src/libawkward/builder/UnknownBuilder.cpp +++ b/awkward-cpp/src/libawkward/builder/UnknownBuilder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/UnknownBuilder.cpp", line) diff --git a/awkward-cpp/src/libawkward/forth/ForthInputBuffer.cpp b/awkward-cpp/src/libawkward/forth/ForthInputBuffer.cpp index 852df6dfca..821577dc64 100644 --- a/awkward-cpp/src/libawkward/forth/ForthInputBuffer.cpp +++ b/awkward-cpp/src/libawkward/forth/ForthInputBuffer.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/forth/ForthInputBuffer.cpp", line) diff --git a/awkward-cpp/src/libawkward/forth/ForthMachine.cpp b/awkward-cpp/src/libawkward/forth/ForthMachine.cpp index 7393547781..cffa8f6a91 100644 --- a/awkward-cpp/src/libawkward/forth/ForthMachine.cpp +++ b/awkward-cpp/src/libawkward/forth/ForthMachine.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/forth/ForthMachine.cpp", line) diff --git a/awkward-cpp/src/libawkward/forth/ForthOutputBuffer.cpp b/awkward-cpp/src/libawkward/forth/ForthOutputBuffer.cpp index c49d3417bc..ee130c6e6c 100644 --- a/awkward-cpp/src/libawkward/forth/ForthOutputBuffer.cpp +++ b/awkward-cpp/src/libawkward/forth/ForthOutputBuffer.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/forth/ForthOutputBuffer.cpp", line) diff --git a/awkward-cpp/src/libawkward/io/json.cpp b/awkward-cpp/src/libawkward/io/json.cpp index cac71286aa..b77de08848 100644 --- a/awkward-cpp/src/libawkward/io/json.cpp +++ b/awkward-cpp/src/libawkward/io/json.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/io/json.cpp", line) diff --git a/awkward-cpp/src/libawkward/util.cpp b/awkward-cpp/src/libawkward/util.cpp index 02b941559a..104bc2d3fd 100644 --- a/awkward-cpp/src/libawkward/util.cpp +++ b/awkward-cpp/src/libawkward/util.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/util.cpp", line) diff --git a/awkward-cpp/src/python/_ext.cpp b/awkward-cpp/src/python/_ext.cpp index 10b63f96b1..846bd33f54 100644 --- a/awkward-cpp/src/python/_ext.cpp +++ b/awkward-cpp/src/python/_ext.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #include diff --git a/awkward-cpp/src/python/content.cpp b/awkward-cpp/src/python/content.cpp index 336d23ca8b..4af2c7ce9e 100644 --- a/awkward-cpp/src/python/content.cpp +++ b/awkward-cpp/src/python/content.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/python/content.cpp", line) diff --git a/awkward-cpp/src/python/forth.cpp b/awkward-cpp/src/python/forth.cpp index 7cb1befc1c..7f0ee1eae2 100644 --- a/awkward-cpp/src/python/forth.cpp +++ b/awkward-cpp/src/python/forth.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/python/forth.cpp", line) diff --git a/awkward-cpp/src/python/io.cpp b/awkward-cpp/src/python/io.cpp index f5310ed0d7..a95ec11970 100644 --- a/awkward-cpp/src/python/io.cpp +++ b/awkward-cpp/src/python/io.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/python/io.cpp", line) diff --git a/dev/check-awkward-cpp-sdist-matches-pypi.py b/dev/check-awkward-cpp-sdist-matches-pypi.py index 34fbd81268..518119c7b9 100644 --- a/dev/check-awkward-cpp-sdist-matches-pypi.py +++ b/dev/check-awkward-cpp-sdist-matches-pypi.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import argparse import hashlib import json diff --git a/dev/check-awkward-uses-awkward-cpp.py b/dev/check-awkward-uses-awkward-cpp.py index f4991f4271..66b39aa974 100644 --- a/dev/check-awkward-uses-awkward-cpp.py +++ b/dev/check-awkward-uses-awkward-cpp.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import pathlib import packaging.requirements diff --git a/dev/copy-cpp-headers.py b/dev/copy-cpp-headers.py index 42080ba40a..b565178cdb 100644 --- a/dev/copy-cpp-headers.py +++ b/dev/copy-cpp-headers.py @@ -1,4 +1,9 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + """Copy the header-only cpp headers into the various package directories that they are required""" + +from __future__ import annotations + import pathlib import shutil diff --git a/dev/download-github-artefact.py b/dev/download-github-artefact.py index acea631549..814217bef9 100755 --- a/dev/download-github-artefact.py +++ b/dev/download-github-artefact.py @@ -1,6 +1,11 @@ #!/usr/bin/env python + +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + """Download and extract a GitHub asset by name and SHA""" +from __future__ import annotations + import argparse import io import os diff --git a/dev/flake8_awkward.py b/dev/flake8_awkward.py index cdad186f2c..bc5e5d9063 100644 --- a/dev/flake8_awkward.py +++ b/dev/flake8_awkward.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import ast import sys from typing import Iterator, NamedTuple diff --git a/dev/format-release-prs b/dev/format-release-prs index a517af7e4f..8184e6b5b4 100755 --- a/dev/format-release-prs +++ b/dev/format-release-prs @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +from __future__ import annotations + import argparse import re import sys diff --git a/dev/generate-kernel-docs.py b/dev/generate-kernel-docs.py index eaa9b713d0..126899daf6 100644 --- a/dev/generate-kernel-docs.py +++ b/dev/generate-kernel-docs.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import os diff --git a/dev/generate-kernel-signatures.py b/dev/generate-kernel-signatures.py index 2cea9748cb..865348b9a8 100644 --- a/dev/generate-kernel-signatures.py +++ b/dev/generate-kernel-signatures.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import datetime import os diff --git a/dev/generate-redirects.py b/dev/generate-redirects.py index 9d182cadf1..4b11afd4a7 100644 --- a/dev/generate-redirects.py +++ b/dev/generate-redirects.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import argparse import json import pathlib diff --git a/dev/generate-tests.py b/dev/generate-tests.py index 63ef72d275..20b9855850 100644 --- a/dev/generate-tests.py +++ b/dev/generate-tests.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import copy import datetime diff --git a/dev/kernel-diagnostics.py b/dev/kernel-diagnostics.py index f028d7467d..31add18135 100644 --- a/dev/kernel-diagnostics.py +++ b/dev/kernel-diagnostics.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import argparse import copy diff --git a/dev/validate-test-names.py b/dev/validate-test-names.py index a641dbe61b..dde19ae930 100755 --- a/dev/validate-test-names.py +++ b/dev/validate-test-names.py @@ -1,5 +1,9 @@ #!/usr/bin/env python3 +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import argparse import pathlib import re diff --git a/docs/conf.py b/docs/conf.py index 02464ef72e..7d1df9b8be 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -101,8 +101,8 @@ { "name": "Gitter", "url": "https://gitter.im/Scikit-HEP/awkward-array", - "icon": "fa-brands fa-gitter" - } + "icon": "fa-brands fa-gitter", + }, ], "use_edit_page_button": True, "external_links": [ diff --git a/docs/prepare_docstrings.py b/docs/prepare_docstrings.py index 35756f516a..1c7218d439 100644 --- a/docs/prepare_docstrings.py +++ b/docs/prepare_docstrings.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import re @@ -287,7 +288,6 @@ def dofunction(link, linelink, shortname, name, astfcn): for filename in glob.glob("../src/awkward/**/*.py", recursive=True): - modulename = ( filename.replace("../src/", "") .replace("/__init__.py", "") @@ -311,9 +311,9 @@ def dofunction(link, linelink, shortname, name, astfcn): or modulename == "awkward.nplikes" or modulename == "awkward.types._awkward_datashape_parser" ): - continue # don't show awkward._*, including _v2 + continue # don't show awkward._* - link = "`{0} `__".format( + link = "`{0} `__".format( modulename, latest_commit, filename.replace("../", "") ) @@ -322,7 +322,7 @@ def dofunction(link, linelink, shortname, name, astfcn): for toplevel in module.body: if hasattr(toplevel, "lineno"): linelink = ( - " on `line {0} `__".format( toplevel.lineno, latest_commit, filename.replace("../", "") ) diff --git a/header-only/builder-options/awkward/BuilderOptions.h b/header-only/builder-options/awkward/BuilderOptions.h index 036aa0cc11..9791ebdfdb 100644 --- a/header-only/builder-options/awkward/BuilderOptions.h +++ b/header-only/builder-options/awkward/BuilderOptions.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_BUILDEROPTIONS_H_ #define AWKWARD_BUILDEROPTIONS_H_ diff --git a/header-only/examples/cython/CMakeLists.txt b/header-only/examples/cython/CMakeLists.txt index 5bc10a007b..e4dd08cd99 100644 --- a/header-only/examples/cython/CMakeLists.txt +++ b/header-only/examples/cython/CMakeLists.txt @@ -1,3 +1,6 @@ +# BSD 3-Clause License; see +# https://github.com/scikit-hep/awkward/blob/main/LICENSE + cmake_minimum_required(VERSION 3.15...3.26) project(demo LANGUAGES CXX C) diff --git a/header-only/examples/cython/README.md b/header-only/examples/cython/README.md index 37c9744d8d..6fd1a2a824 100644 --- a/header-only/examples/cython/README.md +++ b/header-only/examples/cython/README.md @@ -1,4 +1,5 @@ # Cython header-only example + This example demonstrates the use of Cython to build Awkward Arrays using `LayoutBuilder` and return them to a Python caller. The important files are: 1. `demo_impl.cpp` — an example C++ source file that builds an Awkward Array using `LayoutBuilder`. @@ -8,7 +9,6 @@ and return them to a Python caller. The important files are: The remaining files are associated with Python/CMake configuration, and are not an important part of this example. - ## Usage 1. Install the library diff --git a/header-only/examples/cython/_demo.pyx b/header-only/examples/cython/_demo.pyx index d3f1e4618f..d59524a456 100644 --- a/header-only/examples/cython/_demo.pyx +++ b/header-only/examples/cython/_demo.pyx @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from demo_impl cimport ArrayBuffers, create_demo_array as create_demo_array_impl from cython.operator cimport dereference as deref from cython.view cimport array as cvarray diff --git a/header-only/examples/cython/demo/__init__.py b/header-only/examples/cython/demo/__init__.py index 15f2e6ebf6..ed690a76c5 100644 --- a/header-only/examples/cython/demo/__init__.py +++ b/header-only/examples/cython/demo/__init__.py @@ -1 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from ._demo import create_demo_array # noqa: F401 diff --git a/header-only/examples/cython/demo_impl.cpp b/header-only/examples/cython/demo_impl.cpp index 07ed45796b..61a786e403 100644 --- a/header-only/examples/cython/demo_impl.cpp +++ b/header-only/examples/cython/demo_impl.cpp @@ -1,3 +1,5 @@ +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + #include #include "awkward/LayoutBuilder.h" #include "demo_impl.h" diff --git a/header-only/examples/cython/demo_impl.pxd b/header-only/examples/cython/demo_impl.pxd index 117db2ee72..3741c3ea74 100644 --- a/header-only/examples/cython/demo_impl.pxd +++ b/header-only/examples/cython/demo_impl.pxd @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from libcpp.map cimport map from libcpp.string cimport string diff --git a/header-only/examples/cython/include/demo_impl.h b/header-only/examples/cython/include/demo_impl.h index 6568ee2cd2..4051d53d29 100644 --- a/header-only/examples/cython/include/demo_impl.h +++ b/header-only/examples/cython/include/demo_impl.h @@ -1,3 +1,5 @@ +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + #include #include diff --git a/header-only/examples/cython/setup.py b/header-only/examples/cython/setup.py index d2b082e57c..bdb2d9e354 100644 --- a/header-only/examples/cython/setup.py +++ b/header-only/examples/cython/setup.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from skbuild import setup # This line replaces 'from setuptools import setup' setup( diff --git a/header-only/examples/pybind11/CMakeLists.txt b/header-only/examples/pybind11/CMakeLists.txt index 55bc27d55e..7bb3d8947a 100644 --- a/header-only/examples/pybind11/CMakeLists.txt +++ b/header-only/examples/pybind11/CMakeLists.txt @@ -1,3 +1,6 @@ +# BSD 3-Clause License; see +# https://github.com/scikit-hep/awkward/blob/main/LICENSE + cmake_minimum_required(VERSION 3.15...3.26) project( diff --git a/header-only/examples/pybind11/README.md b/header-only/examples/pybind11/README.md index ec39a6d1c5..2fbfd85367 100644 --- a/header-only/examples/pybind11/README.md +++ b/header-only/examples/pybind11/README.md @@ -1,4 +1,5 @@ # Pybind11 header-only example + This example demonstrates the use of pybind11 to build Awkward Arrays using `LayoutBuilder` and return them to a Python caller. The important files are: 1. `demo.cpp` — an example C++ source file that builds an Awkward Array using `LayoutBuilder`, @@ -6,7 +7,6 @@ and return them to a Python caller. The important files are: The remaining files are associated with Python/CMake configuration, and are not an important part of this example. - ## Usage 1. Install the library diff --git a/header-only/examples/pybind11/demo.cpp b/header-only/examples/pybind11/demo.cpp index 48cd63c62a..94c216d0af 100644 --- a/header-only/examples/pybind11/demo.cpp +++ b/header-only/examples/pybind11/demo.cpp @@ -1,3 +1,5 @@ +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + #include #include #include "awkward/LayoutBuilder.h" diff --git a/header-only/growable-buffer/awkward/GrowableBuffer.h b/header-only/growable-buffer/awkward/GrowableBuffer.h index 3d0e340080..54a42d2b93 100644 --- a/header-only/growable-buffer/awkward/GrowableBuffer.h +++ b/header-only/growable-buffer/awkward/GrowableBuffer.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_GROWABLEBUFFER_H_ #define AWKWARD_GROWABLEBUFFER_H_ diff --git a/header-only/layout-builder/awkward/LayoutBuilder.h b/header-only/layout-builder/awkward/LayoutBuilder.h index fbc4021578..fad3da1c2e 100644 --- a/header-only/layout-builder/awkward/LayoutBuilder.h +++ b/header-only/layout-builder/awkward/LayoutBuilder.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_LAYOUTBUILDER_H_ #define AWKWARD_LAYOUTBUILDER_H_ diff --git a/header-only/layout-builder/awkward/utils.h b/header-only/layout-builder/awkward/utils.h index 186b846db2..cd222e643f 100644 --- a/header-only/layout-builder/awkward/utils.h +++ b/header-only/layout-builder/awkward/utils.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_CPP_HEADERS_UTILS_H_ #define AWKWARD_CPP_HEADERS_UTILS_H_ diff --git a/header-only/tests/CMakeLists.txt b/header-only/tests/CMakeLists.txt index 99ddddfbf0..3d16722ce7 100644 --- a/header-only/tests/CMakeLists.txt +++ b/header-only/tests/CMakeLists.txt @@ -1,5 +1,5 @@ # BSD 3-Clause License; see -# https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# https://github.com/scikit-hep/awkward/blob/main/LICENSE macro(addtest_nolibs name filename) add_executable(${name} ${filename}) diff --git a/header-only/tests/test_1494-layout-builder.cpp b/header-only/tests/test_1494-layout-builder.cpp index 659ccdbd9a..c9c6201fef 100644 --- a/header-only/tests/test_1494-layout-builder.cpp +++ b/header-only/tests/test_1494-layout-builder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #include "awkward/LayoutBuilder.h" diff --git a/header-only/tests/test_1542-array-builder.cpp b/header-only/tests/test_1542-array-builder.cpp index a38801bb78..9e602ccf1c 100644 --- a/header-only/tests/test_1542-array-builder.cpp +++ b/header-only/tests/test_1542-array-builder.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #include "awkward/builder/ArrayBuilder.h" diff --git a/header-only/tests/test_1542-growable-buffer.cpp b/header-only/tests/test_1542-growable-buffer.cpp index 34c5758aa8..a9ab5334a6 100644 --- a/header-only/tests/test_1542-growable-buffer.cpp +++ b/header-only/tests/test_1542-growable-buffer.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #include "awkward/BuilderOptions.h" #include "awkward/GrowableBuffer.h" diff --git a/header-only/tests/test_1560-builder-options.cpp b/header-only/tests/test_1560-builder-options.cpp index 84d3f311ec..656e311234 100644 --- a/header-only/tests/test_1560-builder-options.cpp +++ b/header-only/tests/test_1560-builder-options.cpp @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #include "awkward/BuilderOptions.h" #include diff --git a/noxfile.py b/noxfile.py index b1c2e7b650..d66837ab97 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import argparse import os import pathlib diff --git a/pyproject.toml b/pyproject.toml index f6d1701b86..93bdae63fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -128,13 +128,6 @@ filterwarnings = [ ] log_cli_level = "info" -[tool.isort] -profile = "black" -skip_glob = [ - "src/awkward/__init__.py", - "src/awkward/_nplikes/__init__.py", -] - [tool.pylint.master] py-version = "3.7" jobs = "0" @@ -294,6 +287,7 @@ unfixable = [ typing-modules = ["awkward._typing"] external = [] mccabe.max-complexity = 100 +isort.required-imports = ["from __future__ import annotations"] [tool.ruff.lint.per-file-ignores] "dev/*" = ["T20", "TID251"] diff --git a/src/awkward/__init__.py b/src/awkward/__init__.py index c8d871a111..c82e83777f 100644 --- a/src/awkward/__init__.py +++ b/src/awkward/__init__.py @@ -1,6 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE # Versioning +from __future__ import annotations from awkward._version import __version__ # NumPy-like alternatives diff --git a/src/awkward/_backends/__init__.py b/src/awkward/_backends/__init__.py index e69de29bb2..895865eade 100644 --- a/src/awkward/_backends/__init__.py +++ b/src/awkward/_backends/__init__.py @@ -0,0 +1 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE diff --git a/src/awkward/_backends/backend.py b/src/awkward/_backends/backend.py index b9dd327440..18d3db98b3 100644 --- a/src/awkward/_backends/backend.py +++ b/src/awkward/_backends/backend.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from abc import ABC, abstractmethod diff --git a/src/awkward/_backends/cupy.py b/src/awkward/_backends/cupy.py index 1d3e78f3a2..03ddaf0ed9 100644 --- a/src/awkward/_backends/cupy.py +++ b/src/awkward/_backends/cupy.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from awkward._backends.backend import Backend, KernelKeyType diff --git a/src/awkward/_backends/dispatch.py b/src/awkward/_backends/dispatch.py index e0c6aef581..724d0637f6 100644 --- a/src/awkward/_backends/dispatch.py +++ b/src/awkward/_backends/dispatch.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Collection diff --git a/src/awkward/_backends/jax.py b/src/awkward/_backends/jax.py index c6784daf07..a7ed75da1a 100644 --- a/src/awkward/_backends/jax.py +++ b/src/awkward/_backends/jax.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import awkward_cpp diff --git a/src/awkward/_backends/numpy.py b/src/awkward/_backends/numpy.py index b0ea5be599..56f278491d 100644 --- a/src/awkward/_backends/numpy.py +++ b/src/awkward/_backends/numpy.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import awkward_cpp diff --git a/src/awkward/_backends/typetracer.py b/src/awkward/_backends/typetracer.py index ca37ad353a..c1b33de070 100644 --- a/src/awkward/_backends/typetracer.py +++ b/src/awkward/_backends/typetracer.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from awkward._backends.backend import Backend, KernelKeyType diff --git a/src/awkward/_behavior.py b/src/awkward/_behavior.py index 64d983305a..e47051b65b 100644 --- a/src/awkward/_behavior.py +++ b/src/awkward/_behavior.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections import ChainMap diff --git a/src/awkward/_broadcasting.py b/src/awkward/_broadcasting.py index 117bc4157c..1bbaf9693f 100644 --- a/src/awkward/_broadcasting.py +++ b/src/awkward/_broadcasting.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/_categorical.py b/src/awkward/_categorical.py index 008bb05430..36318c04d8 100644 --- a/src/awkward/_categorical.py +++ b/src/awkward/_categorical.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from awkward._nplikes.numpy import Numpy from awkward._nplikes.numpy_like import NumpyMetadata diff --git a/src/awkward/_connect/__init__.py b/src/awkward/_connect/__init__.py index 3f37305187..895865eade 100644 --- a/src/awkward/_connect/__init__.py +++ b/src/awkward/_connect/__init__.py @@ -1 +1 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE diff --git a/src/awkward/_connect/avro.py b/src/awkward/_connect/avro.py index bd0f7edd14..0beef367e4 100644 --- a/src/awkward/_connect/avro.py +++ b/src/awkward/_connect/avro.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json diff --git a/src/awkward/_connect/cling.py b/src/awkward/_connect/cling.py index 3be6d811d6..83fd79421d 100644 --- a/src/awkward/_connect/cling.py +++ b/src/awkward/_connect/cling.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import ctypes import json diff --git a/src/awkward/_connect/cuda/__init__.py b/src/awkward/_connect/cuda/__init__.py index 1db57ef087..379c2ac9d0 100644 --- a/src/awkward/_connect/cuda/__init__.py +++ b/src/awkward/_connect/cuda/__init__.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import glob import math diff --git a/src/awkward/_connect/dlpack.py b/src/awkward/_connect/dlpack.py index d979372d25..7aeb434386 100644 --- a/src/awkward/_connect/dlpack.py +++ b/src/awkward/_connect/dlpack.py @@ -1,9 +1,11 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("DLPackDevice",) from enum import IntEnum +__all__ = ("DLPackDevice",) + class DLPackDevice(IntEnum): CPU = 1 # CPU diff --git a/src/awkward/_connect/hist.py b/src/awkward/_connect/hist.py index 43722e27c6..27d6f226b6 100644 --- a/src/awkward/_connect/hist.py +++ b/src/awkward/_connect/hist.py @@ -1,7 +1,9 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + """ Provide native support for Awkward Arrays in Hist via `Hist.fill_flattened`. """ + from __future__ import annotations import numpy as np diff --git a/src/awkward/_connect/jax/__init__.py b/src/awkward/_connect/jax/__init__.py index 5b7b88f48b..d66ea654c4 100644 --- a/src/awkward/_connect/jax/__init__.py +++ b/src/awkward/_connect/jax/__init__.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import jax.numpy from awkward._connect.jax.reducers import get_jax_reducer # noqa: F401 diff --git a/src/awkward/_connect/jax/reducers.py b/src/awkward/_connect/jax/reducers.py index 417a39424d..51492cabfd 100644 --- a/src/awkward/_connect/jax/reducers.py +++ b/src/awkward/_connect/jax/reducers.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from abc import abstractmethod diff --git a/src/awkward/_connect/jax/trees.py b/src/awkward/_connect/jax/trees.py index 33be6860ea..27ea8a57fd 100644 --- a/src/awkward/_connect/jax/trees.py +++ b/src/awkward/_connect/jax/trees.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import jax diff --git a/src/awkward/_connect/numba/__init__.py b/src/awkward/_connect/numba/__init__.py index 3f37305187..895865eade 100644 --- a/src/awkward/_connect/numba/__init__.py +++ b/src/awkward/_connect/numba/__init__.py @@ -1 +1 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE diff --git a/src/awkward/_connect/numba/arrayview.py b/src/awkward/_connect/numba/arrayview.py index c28bd587f9..1bc5482785 100644 --- a/src/awkward/_connect/numba/arrayview.py +++ b/src/awkward/_connect/numba/arrayview.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import operator import numba diff --git a/src/awkward/_connect/numba/arrayview_cuda.py b/src/awkward/_connect/numba/arrayview_cuda.py index 6403ad4cbe..7c9c12f9e3 100644 --- a/src/awkward/_connect/numba/arrayview_cuda.py +++ b/src/awkward/_connect/numba/arrayview_cuda.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numba from numba.core.errors import NumbaTypeError diff --git a/src/awkward/_connect/numba/builder.py b/src/awkward/_connect/numba/builder.py index a7eafcd463..5c50e19f64 100644 --- a/src/awkward/_connect/numba/builder.py +++ b/src/awkward/_connect/numba/builder.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numba import numba.core.typing diff --git a/src/awkward/_connect/numba/growablebuffer.py b/src/awkward/_connect/numba/growablebuffer.py index a6b4e0ef6e..429e9ede29 100644 --- a/src/awkward/_connect/numba/growablebuffer.py +++ b/src/awkward/_connect/numba/growablebuffer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import math diff --git a/src/awkward/_connect/numba/layout.py b/src/awkward/_connect/numba/layout.py index b48d09df71..f4a69eb02d 100644 --- a/src/awkward/_connect/numba/layout.py +++ b/src/awkward/_connect/numba/layout.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json diff --git a/src/awkward/_connect/numba/layoutbuilder.py b/src/awkward/_connect/numba/layoutbuilder.py index 0ae772c911..1fa0f007ed 100644 --- a/src/awkward/_connect/numba/layoutbuilder.py +++ b/src/awkward/_connect/numba/layoutbuilder.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import math diff --git a/src/awkward/_connect/numexpr.py b/src/awkward/_connect/numexpr.py index c3b07abe7a..3bda451353 100644 --- a/src/awkward/_connect/numexpr.py +++ b/src/awkward/_connect/numexpr.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import sys import warnings diff --git a/src/awkward/_connect/numpy.py b/src/awkward/_connect/numpy.py index c671fbd551..b4afbbf7c6 100644 --- a/src/awkward/_connect/numpy.py +++ b/src/awkward/_connect/numpy.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import collections diff --git a/src/awkward/_connect/pyarrow.py b/src/awkward/_connect/pyarrow.py index 07f459cf65..8e75f2ee00 100644 --- a/src/awkward/_connect/pyarrow.py +++ b/src/awkward/_connect/pyarrow.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import json diff --git a/src/awkward/_connect/rdataframe/__init__.py b/src/awkward/_connect/rdataframe/__init__.py index 3f37305187..895865eade 100644 --- a/src/awkward/_connect/rdataframe/__init__.py +++ b/src/awkward/_connect/rdataframe/__init__.py @@ -1 +1 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE diff --git a/src/awkward/_connect/rdataframe/from_rdataframe.py b/src/awkward/_connect/rdataframe/from_rdataframe.py index d7db80ad3d..f654abbf63 100644 --- a/src/awkward/_connect/rdataframe/from_rdataframe.py +++ b/src/awkward/_connect/rdataframe/from_rdataframe.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import ctypes import os import textwrap diff --git a/src/awkward/_connect/rdataframe/include/rdataframe/jagged_builders.h b/src/awkward/_connect/rdataframe/include/rdataframe/jagged_builders.h index aa071a4598..840ad21557 100644 --- a/src/awkward/_connect/rdataframe/include/rdataframe/jagged_builders.h +++ b/src/awkward/_connect/rdataframe/include/rdataframe/jagged_builders.h @@ -1,4 +1,4 @@ -// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE #ifndef AWKWARD_RDATAFRAME_JAGGED_BUILDERS_H_ #define AWKWARD_RDATAFRAME_JAGGED_BUILDERS_H_ diff --git a/src/awkward/_connect/rdataframe/to_rdataframe.py b/src/awkward/_connect/rdataframe/to_rdataframe.py index 00a862429e..51ddf0cabc 100644 --- a/src/awkward/_connect/rdataframe/to_rdataframe.py +++ b/src/awkward/_connect/rdataframe/to_rdataframe.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import threading diff --git a/src/awkward/_dispatch.py b/src/awkward/_dispatch.py index 6fd4d2bf15..2eff616552 100644 --- a/src/awkward/_dispatch.py +++ b/src/awkward/_dispatch.py @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Callable, Collection, Generator diff --git a/src/awkward/_do.py b/src/awkward/_do.py index ac66ab3d36..1c85a1855c 100644 --- a/src/awkward/_do.py +++ b/src/awkward/_do.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/_errors.py b/src/awkward/_errors.py index 58d64fdf6d..2041a7cf91 100644 --- a/src/awkward/_errors.py +++ b/src/awkward/_errors.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import builtins diff --git a/src/awkward/_ext.py b/src/awkward/_ext.py index f768030d2b..282424cfa2 100644 --- a/src/awkward/_ext.py +++ b/src/awkward/_ext.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations from awkward.forms import ( BitMaskedForm, diff --git a/src/awkward/_kernels.py b/src/awkward/_kernels.py index da99185261..fe557fa9e6 100644 --- a/src/awkward/_kernels.py +++ b/src/awkward/_kernels.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import ctypes diff --git a/src/awkward/_layout.py b/src/awkward/_layout.py index 9a1bc3375d..374441b176 100644 --- a/src/awkward/_layout.py +++ b/src/awkward/_layout.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Mapping diff --git a/src/awkward/_lookup.py b/src/awkward/_lookup.py index 23343b1c06..b1c256c4dd 100644 --- a/src/awkward/_lookup.py +++ b/src/awkward/_lookup.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import awkward as ak from awkward._nplikes.numpy_like import NumpyMetadata diff --git a/src/awkward/_nplikes/__init__.py b/src/awkward/_nplikes/__init__.py index 5dbb990243..23ca08ef50 100644 --- a/src/awkward/_nplikes/__init__.py +++ b/src/awkward/_nplikes/__init__.py @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import awkward._nplikes.cupy diff --git a/src/awkward/_nplikes/array_like.py b/src/awkward/_nplikes/array_like.py index a13598bf48..56c847b153 100644 --- a/src/awkward/_nplikes/array_like.py +++ b/src/awkward/_nplikes/array_like.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from abc import abstractmethod diff --git a/src/awkward/_nplikes/array_module.py b/src/awkward/_nplikes/array_module.py index 1be31cea19..87a7c9bb6e 100644 --- a/src/awkward/_nplikes/array_module.py +++ b/src/awkward/_nplikes/array_module.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import math diff --git a/src/awkward/_nplikes/cupy.py b/src/awkward/_nplikes/cupy.py index b315f7d2e9..572008315f 100644 --- a/src/awkward/_nplikes/cupy.py +++ b/src/awkward/_nplikes/cupy.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import numpy diff --git a/src/awkward/_nplikes/dispatch.py b/src/awkward/_nplikes/dispatch.py index f8e678673e..87978a3ece 100644 --- a/src/awkward/_nplikes/dispatch.py +++ b/src/awkward/_nplikes/dispatch.py @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from awkward._nplikes.array_like import ArrayLike diff --git a/src/awkward/_nplikes/jax.py b/src/awkward/_nplikes/jax.py index b210fc760a..b9a7ade9c4 100644 --- a/src/awkward/_nplikes/jax.py +++ b/src/awkward/_nplikes/jax.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import awkward as ak diff --git a/src/awkward/_nplikes/numpy.py b/src/awkward/_nplikes/numpy.py index c02da0a7c8..3e23b685cd 100644 --- a/src/awkward/_nplikes/numpy.py +++ b/src/awkward/_nplikes/numpy.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import numpy diff --git a/src/awkward/_nplikes/numpy_like.py b/src/awkward/_nplikes/numpy_like.py index 3d24c354c9..da9c70b0b7 100644 --- a/src/awkward/_nplikes/numpy_like.py +++ b/src/awkward/_nplikes/numpy_like.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from abc import abstractmethod diff --git a/src/awkward/_nplikes/placeholder.py b/src/awkward/_nplikes/placeholder.py index 8d73676da0..20a2af6ee7 100644 --- a/src/awkward/_nplikes/placeholder.py +++ b/src/awkward/_nplikes/placeholder.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from functools import reduce diff --git a/src/awkward/_nplikes/shape.py b/src/awkward/_nplikes/shape.py index 82493b1b56..9020c88157 100644 --- a/src/awkward/_nplikes/shape.py +++ b/src/awkward/_nplikes/shape.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from awkward._singleton import PrivateSingleton diff --git a/src/awkward/_nplikes/typetracer.py b/src/awkward/_nplikes/typetracer.py index 2e98018a56..fff50255a4 100644 --- a/src/awkward/_nplikes/typetracer.py +++ b/src/awkward/_nplikes/typetracer.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Sequence diff --git a/src/awkward/_nplikes/ufuncs.py b/src/awkward/_nplikes/ufuncs.py index 3af5e9522a..ce98f0b613 100644 --- a/src/awkward/_nplikes/ufuncs.py +++ b/src/awkward/_nplikes/ufuncs.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from numpy import ( abs, absolute, diff --git a/src/awkward/_operators.py b/src/awkward/_operators.py index 3d532f9fae..bde09c7744 100644 --- a/src/awkward/_operators.py +++ b/src/awkward/_operators.py @@ -30,6 +30,8 @@ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. """ +from __future__ import annotations + from numpy.core import umath as um diff --git a/src/awkward/_parameters.py b/src/awkward/_parameters.py index 08947ba3f5..e8b0b03e4c 100644 --- a/src/awkward/_parameters.py +++ b/src/awkward/_parameters.py @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Collection diff --git a/src/awkward/_pickle.py b/src/awkward/_pickle.py index 6cc4988352..c0d65c8508 100644 --- a/src/awkward/_pickle.py +++ b/src/awkward/_pickle.py @@ -1,4 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + """Interface for plugin-configurable pickle __reduce_ex__ implementation""" + from __future__ import annotations import sys diff --git a/src/awkward/_prettyprint.py b/src/awkward/_prettyprint.py index 3bd6907c51..cdfb079ad4 100644 --- a/src/awkward/_prettyprint.py +++ b/src/awkward/_prettyprint.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import math import numbers import re diff --git a/src/awkward/_reducers.py b/src/awkward/_reducers.py index 494e0c19d6..5c413840d7 100644 --- a/src/awkward/_reducers.py +++ b/src/awkward/_reducers.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from abc import abstractmethod diff --git a/src/awkward/_regularize.py b/src/awkward/_regularize.py index 608ac314ae..663d9eb01a 100644 --- a/src/awkward/_regularize.py +++ b/src/awkward/_regularize.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import numbers diff --git a/src/awkward/_singleton.py b/src/awkward/_singleton.py index 3ab7a4e2e6..a936a57974 100644 --- a/src/awkward/_singleton.py +++ b/src/awkward/_singleton.py @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from awkward._typing import Protocol, Self diff --git a/src/awkward/_slicing.py b/src/awkward/_slicing.py index cb030890c0..ca301126da 100644 --- a/src/awkward/_slicing.py +++ b/src/awkward/_slicing.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import operator diff --git a/src/awkward/_typetracer.py b/src/awkward/_typetracer.py index 070588ac63..7e8701c38a 100644 --- a/src/awkward/_typetracer.py +++ b/src/awkward/_typetracer.py @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + """ Compatibility module for existing users of `_typetracer """ diff --git a/src/awkward/_typing.py b/src/awkward/_typing.py index cceb7d9b7d..3b1ffaf894 100644 --- a/src/awkward/_typing.py +++ b/src/awkward/_typing.py @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + # pylint: disable=wildcard-import, unused-wildcard-import # ruff: noqa: PLE0604 from __future__ import annotations diff --git a/src/awkward/_util.py b/src/awkward/_util.py index be459f5a30..251e59521d 100644 --- a/src/awkward/_util.py +++ b/src/awkward/_util.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import base64 diff --git a/src/awkward/_v2.py b/src/awkward/_v2.py index 6ee5bc4550..75b55f8a77 100644 --- a/src/awkward/_v2.py +++ b/src/awkward/_v2.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations raise ModuleNotFoundError( """The awkward._v2 submodule was provided for early access to awkward>=2, as it developed. diff --git a/src/awkward/behaviors/__init__.py b/src/awkward/behaviors/__init__.py index 3f37305187..895865eade 100644 --- a/src/awkward/behaviors/__init__.py +++ b/src/awkward/behaviors/__init__.py @@ -1 +1 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE diff --git a/src/awkward/behaviors/categorical.py b/src/awkward/behaviors/categorical.py index 09d5d42426..cdca9853d5 100644 --- a/src/awkward/behaviors/categorical.py +++ b/src/awkward/behaviors/categorical.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from awkward.highlevel import Array CategoricalBehavior = Array diff --git a/src/awkward/behaviors/mixins.py b/src/awkward/behaviors/mixins.py index 2adb54afbd..b8d0d3fd21 100644 --- a/src/awkward/behaviors/mixins.py +++ b/src/awkward/behaviors/mixins.py @@ -1,11 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("mixin_class", "mixin_class_method") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import functools import sys import awkward as ak +__all__ = ("mixin_class", "mixin_class_method") + def mixin_class(registry, name=None): """ diff --git a/src/awkward/behaviors/string.py b/src/awkward/behaviors/string.py index ff34d7dd41..403927667b 100644 --- a/src/awkward/behaviors/string.py +++ b/src/awkward/behaviors/string.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from awkward.highlevel import Array ByteBehavior = Array diff --git a/src/awkward/builder.py b/src/awkward/builder.py index 5558e5b5b2..20cb281da8 100644 --- a/src/awkward/builder.py +++ b/src/awkward/builder.py @@ -1,6 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -# v2: no change; keep this file. +from __future__ import annotations from awkward_cpp.lib._ext import ArrayBuilder diff --git a/src/awkward/contents/__init__.py b/src/awkward/contents/__init__.py index 6a72600ab8..ff9233d18f 100644 --- a/src/awkward/contents/__init__.py +++ b/src/awkward/contents/__init__.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations from awkward.contents.bitmaskedarray import BitMaskedArray # noqa: F401 from awkward.contents.bytemaskedarray import ByteMaskedArray # noqa: F401 diff --git a/src/awkward/contents/bitmaskedarray.py b/src/awkward/contents/bitmaskedarray.py index ae03530c27..cf59eb50df 100644 --- a/src/awkward/contents/bitmaskedarray.py +++ b/src/awkward/contents/bitmaskedarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/bytemaskedarray.py b/src/awkward/contents/bytemaskedarray.py index 5140ffe3d2..470957de59 100644 --- a/src/awkward/contents/bytemaskedarray.py +++ b/src/awkward/contents/bytemaskedarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/content.py b/src/awkward/contents/content.py index a631315ac8..5999f7663a 100644 --- a/src/awkward/contents/content.py +++ b/src/awkward/contents/content.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/emptyarray.py b/src/awkward/contents/emptyarray.py index 0bd6de32cd..c4d9d4ea2d 100644 --- a/src/awkward/contents/emptyarray.py +++ b/src/awkward/contents/emptyarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import MutableMapping, Sequence diff --git a/src/awkward/contents/indexedarray.py b/src/awkward/contents/indexedarray.py index d84d13c337..026b1c987a 100644 --- a/src/awkward/contents/indexedarray.py +++ b/src/awkward/contents/indexedarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/indexedoptionarray.py b/src/awkward/contents/indexedoptionarray.py index 7588ce4657..b593bbdcfa 100644 --- a/src/awkward/contents/indexedoptionarray.py +++ b/src/awkward/contents/indexedoptionarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/listarray.py b/src/awkward/contents/listarray.py index e7ea51d7c9..0679a6c5db 100644 --- a/src/awkward/contents/listarray.py +++ b/src/awkward/contents/listarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/listoffsetarray.py b/src/awkward/contents/listoffsetarray.py index 010c885ea8..736b27d4db 100644 --- a/src/awkward/contents/listoffsetarray.py +++ b/src/awkward/contents/listoffsetarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/numpyarray.py b/src/awkward/contents/numpyarray.py index 9005cdbb5b..520070d9fc 100644 --- a/src/awkward/contents/numpyarray.py +++ b/src/awkward/contents/numpyarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/recordarray.py b/src/awkward/contents/recordarray.py index 8442c4fc91..2946af29bb 100644 --- a/src/awkward/contents/recordarray.py +++ b/src/awkward/contents/recordarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/regulararray.py b/src/awkward/contents/regulararray.py index a00be4e323..fd5950b7e8 100644 --- a/src/awkward/contents/regulararray.py +++ b/src/awkward/contents/regulararray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/contents/unionarray.py b/src/awkward/contents/unionarray.py index 8cc3514097..f225efcb08 100644 --- a/src/awkward/contents/unionarray.py +++ b/src/awkward/contents/unionarray.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE # pylint: disable=consider-using-enumerate + from __future__ import annotations import copy diff --git a/src/awkward/contents/unmaskedarray.py b/src/awkward/contents/unmaskedarray.py index 096a499620..f71b0c0901 100644 --- a/src/awkward/contents/unmaskedarray.py +++ b/src/awkward/contents/unmaskedarray.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/cppyy.py b/src/awkward/cppyy.py index 4b58394c23..1a982d7fc8 100644 --- a/src/awkward/cppyy.py +++ b/src/awkward/cppyy.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import packaging.version diff --git a/src/awkward/errors.py b/src/awkward/errors.py index f11a63a6a2..eb159a270e 100644 --- a/src/awkward/errors.py +++ b/src/awkward/errors.py @@ -1,10 +1,11 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -from __future__ import annotations +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("FieldNotFoundError", "AxisError") +from __future__ import annotations import numpy +__all__ = ("FieldNotFoundError", "AxisError") + class FieldNotFoundError(IndexError): ... diff --git a/src/awkward/forms/__init__.py b/src/awkward/forms/__init__.py index 378b84d515..4843cf00c7 100644 --- a/src/awkward/forms/__init__.py +++ b/src/awkward/forms/__init__.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations from awkward.forms.bitmaskedform import BitMaskedForm # noqa: F401 from awkward.forms.bytemaskedform import ByteMaskedForm # noqa: F401 diff --git a/src/awkward/forms/bitmaskedform.py b/src/awkward/forms/bitmaskedform.py index 6022651bc0..df91be1b85 100644 --- a/src/awkward/forms/bitmaskedform.py +++ b/src/awkward/forms/bitmaskedform.py @@ -1,7 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -from __future__ import annotations +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("BitMaskedForm",) +from __future__ import annotations from collections.abc import Callable @@ -12,6 +11,8 @@ from awkward._util import UNSET from awkward.forms.form import Form, _SpecifierMatcher, index_to_dtype +__all__ = ("BitMaskedForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/bytemaskedform.py b/src/awkward/forms/bytemaskedform.py index aaf97f9204..3eea6096fc 100644 --- a/src/awkward/forms/bytemaskedform.py +++ b/src/awkward/forms/bytemaskedform.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("ByteMaskedForm",) from collections.abc import Callable import awkward as ak @@ -11,6 +11,8 @@ from awkward._util import UNSET from awkward.forms.form import Form, _SpecifierMatcher, index_to_dtype +__all__ = ("ByteMaskedForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/emptyform.py b/src/awkward/forms/emptyform.py index 63f299380b..178755ffc4 100644 --- a/src/awkward/forms/emptyform.py +++ b/src/awkward/forms/emptyform.py @@ -1,7 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -from __future__ import annotations +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("EmptyForm",) +from __future__ import annotations from collections.abc import Callable from inspect import signature @@ -14,6 +13,8 @@ from awkward._util import UNSET, Sentinel from awkward.forms.form import Form, JSONMapping, _SpecifierMatcher +__all__ = ("EmptyForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/form.py b/src/awkward/forms/form.py index 5b402248c2..9b65e97269 100644 --- a/src/awkward/forms/form.py +++ b/src/awkward/forms/form.py @@ -1,7 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -from __future__ import annotations +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("from_dict", "from_type", "from_json", "reserved_nominal_parameters", "Form") +from __future__ import annotations import itertools import json @@ -27,6 +26,8 @@ Self, ) +__all__ = ("from_dict", "from_type", "from_json", "reserved_nominal_parameters", "Form") + np = NumpyMetadata.instance() numpy_backend = NumpyBackend.instance() diff --git a/src/awkward/forms/indexedform.py b/src/awkward/forms/indexedform.py index e36f353408..a98e716eca 100644 --- a/src/awkward/forms/indexedform.py +++ b/src/awkward/forms/indexedform.py @@ -1,7 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -from __future__ import annotations +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("IndexedForm",) +from __future__ import annotations from collections.abc import Callable @@ -12,6 +11,8 @@ from awkward._util import UNSET from awkward.forms.form import Form, _SpecifierMatcher, index_to_dtype +__all__ = ("IndexedForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/indexedoptionform.py b/src/awkward/forms/indexedoptionform.py index 8d6884d89b..f907d66adb 100644 --- a/src/awkward/forms/indexedoptionform.py +++ b/src/awkward/forms/indexedoptionform.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("IndexedOptionForm",) from collections.abc import Callable import awkward as ak @@ -11,6 +11,8 @@ from awkward._util import UNSET from awkward.forms.form import Form, _SpecifierMatcher, index_to_dtype +__all__ = ("IndexedOptionForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/listform.py b/src/awkward/forms/listform.py index 898e881b4b..7df63cd2da 100644 --- a/src/awkward/forms/listform.py +++ b/src/awkward/forms/listform.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("ListForm",) from collections.abc import Callable import awkward as ak @@ -11,6 +11,8 @@ from awkward._util import UNSET from awkward.forms.form import Form, _SpecifierMatcher, index_to_dtype +__all__ = ("ListForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/listoffsetform.py b/src/awkward/forms/listoffsetform.py index 67b5bb37e4..cea5a99ede 100644 --- a/src/awkward/forms/listoffsetform.py +++ b/src/awkward/forms/listoffsetform.py @@ -1,7 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -from __future__ import annotations +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("ListOffsetForm",) +from __future__ import annotations from collections.abc import Callable @@ -19,6 +18,8 @@ from awkward._util import UNSET from awkward.forms.form import Form, _SpecifierMatcher, index_to_dtype +__all__ = ("ListOffsetForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/numpyform.py b/src/awkward/forms/numpyform.py index fc1416e978..f0463b4d05 100644 --- a/src/awkward/forms/numpyform.py +++ b/src/awkward/forms/numpyform.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("NumpyForm",) from collections.abc import Callable, Iterable, Iterator import awkward as ak @@ -13,6 +13,8 @@ from awkward._util import UNSET, Sentinel from awkward.forms.form import Form, _SpecifierMatcher +__all__ = ("NumpyForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/recordform.py b/src/awkward/forms/recordform.py index 72a05136c2..a6cd4e98fa 100644 --- a/src/awkward/forms/recordform.py +++ b/src/awkward/forms/recordform.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("RecordForm",) from collections.abc import Callable, Iterable, Iterator import awkward as ak @@ -13,6 +13,8 @@ from awkward.errors import FieldNotFoundError from awkward.forms.form import Form, _SpecifierMatcher +__all__ = ("RecordForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/regularform.py b/src/awkward/forms/regularform.py index 996004f05d..4bcf7f592c 100644 --- a/src/awkward/forms/regularform.py +++ b/src/awkward/forms/regularform.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("RegularForm",) from collections.abc import Callable, Iterator import awkward as ak @@ -13,6 +13,8 @@ from awkward._util import UNSET from awkward.forms.form import Form, _SpecifierMatcher +__all__ = ("RegularForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/unionform.py b/src/awkward/forms/unionform.py index 8a602e3e20..ff7f9db1ca 100644 --- a/src/awkward/forms/unionform.py +++ b/src/awkward/forms/unionform.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("UnionForm",) from collections import Counter from collections.abc import Callable, Iterable @@ -12,6 +12,8 @@ from awkward._util import UNSET from awkward.forms.form import Form, _SpecifierMatcher, index_to_dtype +__all__ = ("UnionForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forms/unmaskedform.py b/src/awkward/forms/unmaskedform.py index 0cda82f447..ff1c34f685 100644 --- a/src/awkward/forms/unmaskedform.py +++ b/src/awkward/forms/unmaskedform.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("UnmaskedForm",) from collections.abc import Callable, Iterator import awkward as ak @@ -11,6 +11,8 @@ from awkward._util import UNSET from awkward.forms.form import Form, _SpecifierMatcher +__all__ = ("UnmaskedForm",) + np = NumpyMetadata.instance() diff --git a/src/awkward/forth.py b/src/awkward/forth.py index 92066c2784..e85acefc16 100644 --- a/src/awkward/forth.py +++ b/src/awkward/forth.py @@ -1,6 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -# v2: no change; keep this file. +from __future__ import annotations from awkward_cpp.lib._ext import ForthMachine32, ForthMachine64 diff --git a/src/awkward/highlevel.py b/src/awkward/highlevel.py index bd3abc415a..4e0b605c10 100644 --- a/src/awkward/highlevel.py +++ b/src/awkward/highlevel.py @@ -1,7 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -from __future__ import annotations +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("Array", "ArrayBuilder", "Record") +from __future__ import annotations import builtins import copy @@ -31,6 +30,8 @@ from awkward._regularize import is_non_string_like_iterable from awkward._typing import TypeVar +__all__ = ("Array", "ArrayBuilder", "Record") + np = NumpyMetadata.instance() numpy = Numpy.instance() diff --git a/src/awkward/index.py b/src/awkward/index.py index 791ed421a5..984c1cfd24 100644 --- a/src/awkward/index.py +++ b/src/awkward/index.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/jax.py b/src/awkward/jax.py index 1d3dd13508..b2fa1f0126 100644 --- a/src/awkward/jax.py +++ b/src/awkward/jax.py @@ -1,3 +1,5 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import enum diff --git a/src/awkward/numba/__init__.py b/src/awkward/numba/__init__.py index f062bab6eb..27ffcc45f4 100644 --- a/src/awkward/numba/__init__.py +++ b/src/awkward/numba/__init__.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import math diff --git a/src/awkward/numba/layoutbuilder.py b/src/awkward/numba/layoutbuilder.py index 89eb015f0d..5eba3ac21d 100644 --- a/src/awkward/numba/layoutbuilder.py +++ b/src/awkward/numba/layoutbuilder.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np diff --git a/src/awkward/operations/__init__.py b/src/awkward/operations/__init__.py index 0792544c32..f4901ae15f 100644 --- a/src/awkward/operations/__init__.py +++ b/src/awkward/operations/__init__.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import awkward.operations.str from awkward.operations.ak_all import * diff --git a/src/awkward/operations/ak_all.py b/src/awkward/operations/ak_all.py index 450613d3dc..a007b49fd8 100644 --- a/src/awkward/operations/ak_all.py +++ b/src/awkward/operations/ak_all.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("all",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("all",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_almost_equal.py b/src/awkward/operations/ak_almost_equal.py index e8fbe93c75..19a0bb4db4 100644 --- a/src/awkward/operations/ak_almost_equal.py +++ b/src/awkward/operations/ak_almost_equal.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("almost_equal",) from awkward._backends.dispatch import backend_of from awkward._backends.numpy import NumpyBackend from awkward._behavior import behavior_of, get_array_class, get_record_class @@ -10,6 +10,8 @@ from awkward._parameters import parameters_are_equal from awkward.operations.ak_to_layout import to_layout +__all__ = ("almost_equal",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_any.py b/src/awkward/operations/ak_any.py index 4e5aa464ca..70eb578aef 100644 --- a/src/awkward/operations/ak_any.py +++ b/src/awkward/operations/ak_any.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("any",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("any",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_argcartesian.py b/src/awkward/operations/ak_argcartesian.py index 5f1a3f4545..1bc68bfcb8 100644 --- a/src/awkward/operations/ak_argcartesian.py +++ b/src/awkward/operations/ak_argcartesian.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("argcartesian",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from collections.abc import Mapping import awkward as ak @@ -11,6 +13,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("argcartesian",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_argcombinations.py b/src/awkward/operations/ak_argcombinations.py index c56d0d5756..28b133c5c8 100644 --- a/src/awkward/operations/ak_argcombinations.py +++ b/src/awkward/operations/ak_argcombinations.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("argcombinations",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("argcombinations",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_argmax.py b/src/awkward/operations/ak_argmax.py index 34a4cb055b..8f013d2e57 100644 --- a/src/awkward/operations/ak_argmax.py +++ b/src/awkward/operations/ak_argmax.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("argmax", "nanargmax") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("argmax", "nanargmax") + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_argmin.py b/src/awkward/operations/ak_argmin.py index 338614778d..95f4e10e47 100644 --- a/src/awkward/operations/ak_argmin.py +++ b/src/awkward/operations/ak_argmin.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("argmin", "nanargmin") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("argmin", "nanargmin") + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_argsort.py b/src/awkward/operations/ak_argsort.py index 791754a6e7..73f194471d 100644 --- a/src/awkward/operations/ak_argsort.py +++ b/src/awkward/operations/ak_argsort.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("argsort",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._connect.numpy import UNSUPPORTED from awkward._dispatch import high_level_function @@ -7,6 +9,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("argsort",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_backend.py b/src/awkward/operations/ak_backend.py index d406c77b5c..daa9628a6f 100644 --- a/src/awkward/operations/ak_backend.py +++ b/src/awkward/operations/ak_backend.py @@ -1,8 +1,12 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("backend",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from awkward._backends.dispatch import backend_of from awkward._dispatch import high_level_function +__all__ = ("backend",) + @high_level_function() def backend(*arrays): diff --git a/src/awkward/operations/ak_broadcast_arrays.py b/src/awkward/operations/ak_broadcast_arrays.py index c5d21bc175..6a0be1db72 100644 --- a/src/awkward/operations/ak_broadcast_arrays.py +++ b/src/awkward/operations/ak_broadcast_arrays.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("broadcast_arrays",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.dispatch import backend_of from awkward._backends.numpy import NumpyBackend @@ -9,6 +11,8 @@ from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("broadcast_arrays",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_broadcast_fields.py b/src/awkward/operations/ak_broadcast_fields.py index fbae8d7851..178ba4a49e 100644 --- a/src/awkward/operations/ak_broadcast_fields.py +++ b/src/awkward/operations/ak_broadcast_fields.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("broadcast_fields",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.dispatch import backend_of from awkward._backends.numpy import NumpyBackend @@ -7,6 +9,8 @@ from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("broadcast_fields",) + cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_cartesian.py b/src/awkward/operations/ak_cartesian.py index 98e41f6394..7f75363f4a 100644 --- a/src/awkward/operations/ak_cartesian.py +++ b/src/awkward/operations/ak_cartesian.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("cartesian",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from collections.abc import Mapping import awkward as ak @@ -12,6 +14,8 @@ from awkward._regularize import regularize_axis from awkward.errors import AxisError +__all__ = ("cartesian",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_categories.py b/src/awkward/operations/ak_categories.py index 7f36896b9e..32abb17093 100644 --- a/src/awkward/operations/ak_categories.py +++ b/src/awkward/operations/ak_categories.py @@ -1,10 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("categories",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("categories",) + @high_level_function() def categories(array, highlevel=True): diff --git a/src/awkward/operations/ak_combinations.py b/src/awkward/operations/ak_combinations.py index d140d01177..075bc0ebea 100644 --- a/src/awkward/operations/ak_combinations.py +++ b/src/awkward/operations/ak_combinations.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("combinations",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("combinations",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_concatenate.py b/src/awkward/operations/ak_concatenate.py index 3829d256df..b4f6bf831b 100644 --- a/src/awkward/operations/ak_concatenate.py +++ b/src/awkward/operations/ak_concatenate.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("concatenate",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.dispatch import backend_of from awkward._backends.numpy import NumpyBackend @@ -13,6 +15,8 @@ from awkward.contents import Content from awkward.operations.ak_fill_none import fill_none +__all__ = ("concatenate",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_copy.py b/src/awkward/operations/ak_copy.py index 3cabeec876..a525ea15b4 100644 --- a/src/awkward/operations/ak_copy.py +++ b/src/awkward/operations/ak_copy.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("copy",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import copy as _copy import awkward as ak @@ -7,6 +9,8 @@ from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("copy",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_corr.py b/src/awkward/operations/ak_corr.py index 70fbb55459..253eeeb071 100644 --- a/src/awkward/operations/ak_corr.py +++ b/src/awkward/operations/ak_corr.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("corr",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("corr",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_count.py b/src/awkward/operations/ak_count.py index e24bb288c6..dee302077c 100644 --- a/src/awkward/operations/ak_count.py +++ b/src/awkward/operations/ak_count.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("count",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -7,6 +9,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("count",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_count_nonzero.py b/src/awkward/operations/ak_count_nonzero.py index 03a5c7a11a..567a961686 100644 --- a/src/awkward/operations/ak_count_nonzero.py +++ b/src/awkward/operations/ak_count_nonzero.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("count_nonzero",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -7,6 +9,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("count_nonzero",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_covar.py b/src/awkward/operations/ak_covar.py index eb50731da9..48e87adf73 100644 --- a/src/awkward/operations/ak_covar.py +++ b/src/awkward/operations/ak_covar.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("covar",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -7,6 +9,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("covar",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_drop_none.py b/src/awkward/operations/ak_drop_none.py index 0c6963ea6c..3b9364899e 100644 --- a/src/awkward/operations/ak_drop_none.py +++ b/src/awkward/operations/ak_drop_none.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("drop_none",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import maybe_posaxis, wrap_layout @@ -7,6 +9,8 @@ from awkward._regularize import regularize_axis from awkward.errors import AxisError +__all__ = ("drop_none",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_enforce_type.py b/src/awkward/operations/ak_enforce_type.py index e685a39b47..2d5e3d2229 100644 --- a/src/awkward/operations/ak_enforce_type.py +++ b/src/awkward/operations/ak_enforce_type.py @@ -1,8 +1,8 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +# ruff: noqa: B023 + from __future__ import annotations -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -# ruff: noqa: B023 -__all__ = ("enforce_type",) from itertools import permutations import awkward as ak @@ -14,6 +14,8 @@ from awkward._typing import NamedTuple from awkward.types.numpytype import primitive_to_dtype +__all__ = ("enforce_type",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_fields.py b/src/awkward/operations/ak_fields.py index bc17603404..0f915bd49c 100644 --- a/src/awkward/operations/ak_fields.py +++ b/src/awkward/operations/ak_fields.py @@ -1,9 +1,13 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("fields",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("fields",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_fill_none.py b/src/awkward/operations/ak_fill_none.py index c32ed80956..2105bfdbcd 100644 --- a/src/awkward/operations/ak_fill_none.py +++ b/src/awkward/operations/ak_fill_none.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("fill_none",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import awkward as ak from awkward._backends.dispatch import backend_of @@ -11,6 +12,8 @@ from awkward._regularize import regularize_axis from awkward.errors import AxisError +__all__ = ("fill_none",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_firsts.py b/src/awkward/operations/ak_firsts.py index 0504381389..0c57857042 100644 --- a/src/awkward/operations/ak_firsts.py +++ b/src/awkward/operations/ak_firsts.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("firsts",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -8,6 +10,8 @@ from awkward._regularize import is_integer, regularize_axis from awkward.errors import AxisError +__all__ = ("firsts",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_flatten.py b/src/awkward/operations/ak_flatten.py index 2f30166a9a..e3cc0b4fee 100644 --- a/src/awkward/operations/ak_flatten.py +++ b/src/awkward/operations/ak_flatten.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("flatten",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import maybe_posaxis, wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("flatten",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_from_arrow.py b/src/awkward/operations/ak_from_arrow.py index 81759501fb..4c31027201 100644 --- a/src/awkward/operations/ak_from_arrow.py +++ b/src/awkward/operations/ak_from_arrow.py @@ -1,10 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_arrow",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("from_arrow",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_from_arrow_schema.py b/src/awkward/operations/ak_from_arrow_schema.py index 5bb1224c73..29fa073b50 100644 --- a/src/awkward/operations/ak_from_arrow_schema.py +++ b/src/awkward/operations/ak_from_arrow_schema.py @@ -1,8 +1,12 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_arrow_schema",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("from_arrow_schema",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_from_avro_file.py b/src/awkward/operations/ak_from_avro_file.py index 124ae12092..99c8277bb3 100644 --- a/src/awkward/operations/ak_from_avro_file.py +++ b/src/awkward/operations/ak_from_avro_file.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_avro_file",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations from os import PathLike, fsdecode @@ -7,6 +8,8 @@ from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("from_avro_file",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_from_buffers.py b/src/awkward/operations/ak_from_buffers.py index 4c276010cc..23fdf12cd7 100644 --- a/src/awkward/operations/ak_from_buffers.py +++ b/src/awkward/operations/ak_from_buffers.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("from_buffers",) import math import awkward as ak @@ -16,6 +16,8 @@ from awkward._regularize import is_integer from awkward.forms.form import index_to_dtype, regularize_buffer_key +__all__ = ("from_buffers",) + np = NumpyMetadata.instance() numpy = Numpy.instance() diff --git a/src/awkward/operations/ak_from_categorical.py b/src/awkward/operations/ak_from_categorical.py index ed798cd3cc..2b84f9ca1c 100644 --- a/src/awkward/operations/ak_from_categorical.py +++ b/src/awkward/operations/ak_from_categorical.py @@ -1,10 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_categorical",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("from_categorical",) + @high_level_function() def from_categorical(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/ak_from_cupy.py b/src/awkward/operations/ak_from_cupy.py index 97b7d595bd..d80a5b0688 100644 --- a/src/awkward/operations/ak_from_cupy.py +++ b/src/awkward/operations/ak_from_cupy.py @@ -1,8 +1,12 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_cupy",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from awkward._dispatch import high_level_function from awkward._layout import from_arraylib, wrap_layout +__all__ = ("from_cupy",) + @high_level_function() def from_cupy(array, *, regulararray=False, highlevel=True, behavior=None): diff --git a/src/awkward/operations/ak_from_dlpack.py b/src/awkward/operations/ak_from_dlpack.py index 07f9e32190..ad8b7c4337 100644 --- a/src/awkward/operations/ak_from_dlpack.py +++ b/src/awkward/operations/ak_from_dlpack.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_dlpack",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations from awkward._connect.dlpack import DLPackDevice from awkward._dispatch import high_level_function @@ -8,6 +9,8 @@ from awkward._nplikes.numpy import Numpy from awkward._nplikes.numpy_like import NumpyLike +__all__ = ("from_dlpack",) + @high_level_function() def from_dlpack( diff --git a/src/awkward/operations/ak_from_feather.py b/src/awkward/operations/ak_from_feather.py index 1cc741b796..67e13d2c6e 100644 --- a/src/awkward/operations/ak_from_feather.py +++ b/src/awkward/operations/ak_from_feather.py @@ -1,10 +1,12 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("from_feather",) +from __future__ import annotations import awkward as ak from awkward._dispatch import high_level_function +__all__ = ("from_feather",) + @high_level_function() def from_feather( diff --git a/src/awkward/operations/ak_from_iter.py b/src/awkward/operations/ak_from_iter.py index 2176adb0e6..79d919e8e2 100644 --- a/src/awkward/operations/ak_from_iter.py +++ b/src/awkward/operations/ak_from_iter.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_iter",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from collections.abc import Iterable from awkward_cpp.lib import _ext @@ -8,6 +10,8 @@ from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("from_iter",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_from_jax.py b/src/awkward/operations/ak_from_jax.py index 07b940a825..93a9e11bc7 100644 --- a/src/awkward/operations/ak_from_jax.py +++ b/src/awkward/operations/ak_from_jax.py @@ -1,9 +1,13 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_jax",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from awkward import jax from awkward._dispatch import high_level_function from awkward._layout import from_arraylib, wrap_layout +__all__ = ("from_jax",) + @high_level_function() def from_jax(array, *, regulararray=False, highlevel=True, behavior=None): diff --git a/src/awkward/operations/ak_from_json.py b/src/awkward/operations/ak_from_json.py index 6a045944f3..aa926e637f 100644 --- a/src/awkward/operations/ak_from_json.py +++ b/src/awkward/operations/ak_from_json.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_json",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import json import pathlib from collections.abc import Iterable, Sized @@ -14,6 +16,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import is_integer +__all__ = ("from_json",) + np = NumpyMetadata.instance() numpy = Numpy.instance() diff --git a/src/awkward/operations/ak_from_numpy.py b/src/awkward/operations/ak_from_numpy.py index 7d3b43c99b..6f534019fc 100644 --- a/src/awkward/operations/ak_from_numpy.py +++ b/src/awkward/operations/ak_from_numpy.py @@ -1,8 +1,12 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_numpy",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from awkward._dispatch import high_level_function from awkward._layout import from_arraylib, wrap_layout +__all__ = ("from_numpy",) + @high_level_function() def from_numpy( diff --git a/src/awkward/operations/ak_from_parquet.py b/src/awkward/operations/ak_from_parquet.py index 7b590db8d3..02540fa46f 100644 --- a/src/awkward/operations/ak_from_parquet.py +++ b/src/awkward/operations/ak_from_parquet.py @@ -1,10 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_parquet",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._regularize import is_integer +__all__ = ("from_parquet",) + @high_level_function() def from_parquet( diff --git a/src/awkward/operations/ak_from_rdataframe.py b/src/awkward/operations/ak_from_rdataframe.py index 09ed2ac341..694dba54c5 100644 --- a/src/awkward/operations/ak_from_rdataframe.py +++ b/src/awkward/operations/ak_from_rdataframe.py @@ -1,9 +1,13 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_rdataframe",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("from_rdataframe",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_from_regular.py b/src/awkward/operations/ak_from_regular.py index ba73de50a3..06d03a1a31 100644 --- a/src/awkward/operations/ak_from_regular.py +++ b/src/awkward/operations/ak_from_regular.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("from_regular",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -8,6 +10,8 @@ from awkward._regularize import regularize_axis from awkward.errors import AxisError +__all__ = ("from_regular",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_full_like.py b/src/awkward/operations/ak_full_like.py index fbb0b48deb..edf2df3a21 100644 --- a/src/awkward/operations/ak_full_like.py +++ b/src/awkward/operations/ak_full_like.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("full_like",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -9,6 +11,8 @@ from awkward._nplikes.typetracer import ensure_known_scalar from awkward.operations.ak_zeros_like import _ZEROS +__all__ = ("full_like",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_is_categorical.py b/src/awkward/operations/ak_is_categorical.py index d23c75a2b7..24fe20e0ae 100644 --- a/src/awkward/operations/ak_is_categorical.py +++ b/src/awkward/operations/ak_is_categorical.py @@ -1,8 +1,12 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("is_categorical",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function +__all__ = ("is_categorical",) + @high_level_function() def is_categorical(array): diff --git a/src/awkward/operations/ak_is_none.py b/src/awkward/operations/ak_is_none.py index 0ef86e521e..a31bfcc24f 100644 --- a/src/awkward/operations/ak_is_none.py +++ b/src/awkward/operations/ak_is_none.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("is_none",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -8,6 +10,8 @@ from awkward._regularize import is_integer, regularize_axis from awkward.errors import AxisError +__all__ = ("is_none",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_is_tuple.py b/src/awkward/operations/ak_is_tuple.py index 06617bf1e0..906033dd7c 100644 --- a/src/awkward/operations/ak_is_tuple.py +++ b/src/awkward/operations/ak_is_tuple.py @@ -1,8 +1,12 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("is_tuple",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function +__all__ = ("is_tuple",) + @high_level_function() def is_tuple(array): diff --git a/src/awkward/operations/ak_is_valid.py b/src/awkward/operations/ak_is_valid.py index f2b83b7ada..5d04c6a718 100644 --- a/src/awkward/operations/ak_is_valid.py +++ b/src/awkward/operations/ak_is_valid.py @@ -1,8 +1,12 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("is_valid",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function +__all__ = ("is_valid",) + @high_level_function() def is_valid(array, *, exception=False): diff --git a/src/awkward/operations/ak_isclose.py b/src/awkward/operations/ak_isclose.py index 411e2ecf31..3efb161201 100644 --- a/src/awkward/operations/ak_isclose.py +++ b/src/awkward/operations/ak_isclose.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("isclose",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("isclose",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_linear_fit.py b/src/awkward/operations/ak_linear_fit.py index cf65313f59..32420fb728 100644 --- a/src/awkward/operations/ak_linear_fit.py +++ b/src/awkward/operations/ak_linear_fit.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("linear_fit",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.dispatch import backend_of from awkward._backends.numpy import NumpyBackend @@ -10,6 +12,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("linear_fit",) + cpu = NumpyBackend.instance() np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_local_index.py b/src/awkward/operations/ak_local_index.py index 2675f1c69f..acc157e883 100644 --- a/src/awkward/operations/ak_local_index.py +++ b/src/awkward/operations/ak_local_index.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("local_index",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("local_index",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_mask.py b/src/awkward/operations/ak_mask.py index bee3a1a061..691d28db11 100644 --- a/src/awkward/operations/ak_mask.py +++ b/src/awkward/operations/ak_mask.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("mask",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("mask",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_max.py b/src/awkward/operations/ak_max.py index 1225f55e4a..ecd67b7b9c 100644 --- a/src/awkward/operations/ak_max.py +++ b/src/awkward/operations/ak_max.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("max", "nanmax") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("max", "nanmax") + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_mean.py b/src/awkward/operations/ak_mean.py index a2451425ff..039e0f24a1 100644 --- a/src/awkward/operations/ak_mean.py +++ b/src/awkward/operations/ak_mean.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("mean", "nanmean") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("mean", "nanmean") + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_merge_option_of_records.py b/src/awkward/operations/ak_merge_option_of_records.py index 4c483d2159..b9c2adca20 100644 --- a/src/awkward/operations/ak_merge_option_of_records.py +++ b/src/awkward/operations/ak_merge_option_of_records.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("merge_option_of_records",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.numpy import NumpyBackend from awkward._behavior import behavior_of @@ -9,6 +11,8 @@ from awkward._regularize import regularize_axis from awkward.errors import AxisError +__all__ = ("merge_option_of_records",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_merge_union_of_records.py b/src/awkward/operations/ak_merge_union_of_records.py index 000a99427a..c6670f362c 100644 --- a/src/awkward/operations/ak_merge_union_of_records.py +++ b/src/awkward/operations/ak_merge_union_of_records.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("merge_union_of_records",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.numpy import NumpyBackend from awkward._behavior import behavior_of @@ -10,6 +12,8 @@ from awkward._regularize import regularize_axis from awkward.errors import AxisError +__all__ = ("merge_union_of_records",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_metadata_from_parquet.py b/src/awkward/operations/ak_metadata_from_parquet.py index 6520a12e59..5eedacdc4f 100644 --- a/src/awkward/operations/ak_metadata_from_parquet.py +++ b/src/awkward/operations/ak_metadata_from_parquet.py @@ -1,13 +1,16 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("metadata_from_parquet",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import collections import awkward as ak from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata -np = NumpyMetadata.instance() +__all__ = ("metadata_from_parquet",) +np = NumpyMetadata.instance() ParquetMetadata = collections.namedtuple( "ParquetMetadata", diff --git a/src/awkward/operations/ak_min.py b/src/awkward/operations/ak_min.py index 4e71dbf880..7799201c2b 100644 --- a/src/awkward/operations/ak_min.py +++ b/src/awkward/operations/ak_min.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("min", "nanmin") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("min", "nanmin") + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_moment.py b/src/awkward/operations/ak_moment.py index fd62ffb72c..0e09e15232 100644 --- a/src/awkward/operations/ak_moment.py +++ b/src/awkward/operations/ak_moment.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("moment",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -7,6 +9,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("moment",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_nan_to_none.py b/src/awkward/operations/ak_nan_to_none.py index 0e604c925e..4afafa08a3 100644 --- a/src/awkward/operations/ak_nan_to_none.py +++ b/src/awkward/operations/ak_nan_to_none.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("nan_to_none",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("nan_to_none",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_nan_to_num.py b/src/awkward/operations/ak_nan_to_num.py index a3e4e20b70..c7edb22396 100644 --- a/src/awkward/operations/ak_nan_to_num.py +++ b/src/awkward/operations/ak_nan_to_num.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("nan_to_num",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("nan_to_num",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_num.py b/src/awkward/operations/ak_num.py index 29d69bc689..2c5013c7f6 100644 --- a/src/awkward/operations/ak_num.py +++ b/src/awkward/operations/ak_num.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("num",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -8,6 +10,8 @@ from awkward._regularize import is_integer, regularize_axis from awkward.errors import AxisError +__all__ = ("num",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_ones_like.py b/src/awkward/operations/ak_ones_like.py index 824aea89f0..4cae14ed71 100644 --- a/src/awkward/operations/ak_ones_like.py +++ b/src/awkward/operations/ak_ones_like.py @@ -1,10 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("ones_like",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._connect.numpy import UNSUPPORTED from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("ones_like",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_pad_none.py b/src/awkward/operations/ak_pad_none.py index a16554db01..62cd69b1e4 100644 --- a/src/awkward/operations/ak_pad_none.py +++ b/src/awkward/operations/ak_pad_none.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("pad_none",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("pad_none",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_parameters.py b/src/awkward/operations/ak_parameters.py index de83a87658..99eba9ccaa 100644 --- a/src/awkward/operations/ak_parameters.py +++ b/src/awkward/operations/ak_parameters.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("parameters",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import copy import numbers @@ -9,6 +11,8 @@ from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("parameters",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_prod.py b/src/awkward/operations/ak_prod.py index 2cfc5c2022..915805da8c 100644 --- a/src/awkward/operations/ak_prod.py +++ b/src/awkward/operations/ak_prod.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("prod", "nanprod") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("prod", "nanprod") + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_ptp.py b/src/awkward/operations/ak_ptp.py index d941da9822..4f25e8dda8 100644 --- a/src/awkward/operations/ak_ptp.py +++ b/src/awkward/operations/ak_ptp.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("ptp",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("ptp",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_ravel.py b/src/awkward/operations/ak_ravel.py index f78efb4fd7..25687c2eb8 100644 --- a/src/awkward/operations/ak_ravel.py +++ b/src/awkward/operations/ak_ravel.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("ravel",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._connect.numpy import UNSUPPORTED from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("ravel",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_run_lengths.py b/src/awkward/operations/ak_run_lengths.py index 8c64997d65..f354229cfc 100644 --- a/src/awkward/operations/ak_run_lengths.py +++ b/src/awkward/operations/ak_run_lengths.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("run_lengths",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.dispatch import backend_of from awkward._backends.numpy import NumpyBackend @@ -9,6 +11,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._nplikes.shape import unknown_length +__all__ = ("run_lengths",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_singletons.py b/src/awkward/operations/ak_singletons.py index f298e71aa1..fb9a0f705a 100644 --- a/src/awkward/operations/ak_singletons.py +++ b/src/awkward/operations/ak_singletons.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("singletons",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -8,6 +10,8 @@ from awkward._regularize import is_integer, regularize_axis from awkward.errors import AxisError +__all__ = ("singletons",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_softmax.py b/src/awkward/operations/ak_softmax.py index 5fa3d04b71..dcab326395 100644 --- a/src/awkward/operations/ak_softmax.py +++ b/src/awkward/operations/ak_softmax.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("softmax",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("softmax",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_sort.py b/src/awkward/operations/ak_sort.py index 827ac867f1..6a4409010b 100644 --- a/src/awkward/operations/ak_sort.py +++ b/src/awkward/operations/ak_sort.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("sort",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._connect.numpy import UNSUPPORTED from awkward._dispatch import high_level_function @@ -7,6 +9,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("sort",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_std.py b/src/awkward/operations/ak_std.py index 54f2249532..949c99d1ad 100644 --- a/src/awkward/operations/ak_std.py +++ b/src/awkward/operations/ak_std.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("std", "nanstd") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -9,6 +11,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("std", "nanstd") + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_strings_astype.py b/src/awkward/operations/ak_strings_astype.py index b285cb1707..32be818418 100644 --- a/src/awkward/operations/ak_strings_astype.py +++ b/src/awkward/operations/ak_strings_astype.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("strings_astype",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -7,6 +9,8 @@ from awkward._nplikes.numpy import Numpy from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("strings_astype",) + np = NumpyMetadata.instance() numpy = Numpy.instance() diff --git a/src/awkward/operations/ak_sum.py b/src/awkward/operations/ak_sum.py index e0d2d41f92..cd55a3d715 100644 --- a/src/awkward/operations/ak_sum.py +++ b/src/awkward/operations/ak_sum.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("sum", "nansum") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("sum", "nansum") + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_arrow.py b/src/awkward/operations/ak_to_arrow.py index 2364effa3b..823130d5ba 100644 --- a/src/awkward/operations/ak_to_arrow.py +++ b/src/awkward/operations/ak_to_arrow.py @@ -1,9 +1,13 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_arrow",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("to_arrow",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_arrow_table.py b/src/awkward/operations/ak_to_arrow_table.py index dea80dfaea..d8cf895b71 100644 --- a/src/awkward/operations/ak_to_arrow_table.py +++ b/src/awkward/operations/ak_to_arrow_table.py @@ -1,7 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations -__all__ = ("to_arrow_table",) import json import awkward as ak @@ -9,6 +9,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._typing import Any +__all__ = ("to_arrow_table",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_backend.py b/src/awkward/operations/ak_to_backend.py index ab7c68c1bb..f1c4415dfe 100644 --- a/src/awkward/operations/ak_to_backend.py +++ b/src/awkward/operations/ak_to_backend.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_backend",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.dispatch import regularize_backend from awkward._behavior import behavior_of @@ -7,6 +9,8 @@ from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("to_backend",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_buffers.py b/src/awkward/operations/ak_to_buffers.py index 28ccafdd7e..66c6943ec1 100644 --- a/src/awkward/operations/ak_to_buffers.py +++ b/src/awkward/operations/ak_to_buffers.py @@ -1,10 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_buffers",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.dispatch import regularize_backend from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("to_buffers",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_categorical.py b/src/awkward/operations/ak_to_categorical.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/awkward/operations/ak_to_cupy.py b/src/awkward/operations/ak_to_cupy.py index 73d371aecf..c774a37c1c 100644 --- a/src/awkward/operations/ak_to_cupy.py +++ b/src/awkward/operations/ak_to_cupy.py @@ -1,9 +1,13 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_cupy",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.cupy import CupyBackend from awkward._dispatch import high_level_function +__all__ = ("to_cupy",) + @high_level_function() def to_cupy(array): diff --git a/src/awkward/operations/ak_to_dataframe.py b/src/awkward/operations/ak_to_dataframe.py index 9d4ddcf229..35dbc89a17 100644 --- a/src/awkward/operations/ak_to_dataframe.py +++ b/src/awkward/operations/ak_to_dataframe.py @@ -1,10 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_dataframe",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._nplikes.numpy import Numpy from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("to_dataframe",) + numpy = Numpy.instance() np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_feather.py b/src/awkward/operations/ak_to_feather.py index 1cab699e71..69e3438659 100644 --- a/src/awkward/operations/ak_to_feather.py +++ b/src/awkward/operations/ak_to_feather.py @@ -1,6 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("to_feather",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import os @@ -8,6 +7,8 @@ from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("to_feather",) + metadata = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_jax.py b/src/awkward/operations/ak_to_jax.py index 8732c200bd..02f5e6ef7f 100644 --- a/src/awkward/operations/ak_to_jax.py +++ b/src/awkward/operations/ak_to_jax.py @@ -1,9 +1,13 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_jax",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.jax import JaxBackend from awkward._dispatch import high_level_function +__all__ = ("to_jax",) + @high_level_function() def to_jax(array): diff --git a/src/awkward/operations/ak_to_json.py b/src/awkward/operations/ak_to_json.py index 38ad327c1d..09e2567a0b 100644 --- a/src/awkward/operations/ak_to_json.py +++ b/src/awkward/operations/ak_to_json.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_json",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import json from numbers import Number from os import PathLike, fsdecode @@ -13,6 +15,8 @@ from awkward._nplikes.numpy import Numpy from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("to_json",) + np = NumpyMetadata.instance() numpy = Numpy.instance() diff --git a/src/awkward/operations/ak_to_layout.py b/src/awkward/operations/ak_to_layout.py index 90d9186dd5..b460043cd9 100644 --- a/src/awkward/operations/ak_to_layout.py +++ b/src/awkward/operations/ak_to_layout.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_layout",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations from collections.abc import Iterable from datetime import date, datetime, time @@ -18,6 +19,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._nplikes.typetracer import TypeTracer +__all__ = ("to_layout",) + np = NumpyMetadata.instance() numpy = Numpy.instance() numpy_backend = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_to_list.py b/src/awkward/operations/ak_to_list.py index 272f66a6f5..091e55fcc2 100644 --- a/src/awkward/operations/ak_to_list.py +++ b/src/awkward/operations/ak_to_list.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_list",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from collections.abc import Mapping from awkward_cpp.lib import _ext @@ -9,6 +11,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import is_non_string_like_iterable +__all__ = ("to_list",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_numpy.py b/src/awkward/operations/ak_to_numpy.py index 79dbe25243..ad6f80f5c3 100644 --- a/src/awkward/operations/ak_to_numpy.py +++ b/src/awkward/operations/ak_to_numpy.py @@ -1,9 +1,13 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_numpy",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.numpy import NumpyBackend from awkward._dispatch import high_level_function +__all__ = ("to_numpy",) + @high_level_function() def to_numpy(array, *, allow_missing=True): diff --git a/src/awkward/operations/ak_to_packed.py b/src/awkward/operations/ak_to_packed.py index 2bc3534b25..30e2b009e6 100644 --- a/src/awkward/operations/ak_to_packed.py +++ b/src/awkward/operations/ak_to_packed.py @@ -1,10 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_packed",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("to_packed",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_parquet.py b/src/awkward/operations/ak_to_parquet.py index 851aecd20d..5094902454 100644 --- a/src/awkward/operations/ak_to_parquet.py +++ b/src/awkward/operations/ak_to_parquet.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_parquet",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from collections.abc import Mapping, Sequence from os import fsdecode @@ -7,6 +9,8 @@ from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("to_parquet",) + metadata = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_to_rdataframe.py b/src/awkward/operations/ak_to_rdataframe.py index 8129afa3a1..81484979e5 100644 --- a/src/awkward/operations/ak_to_rdataframe.py +++ b/src/awkward/operations/ak_to_rdataframe.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_rdataframe",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from collections.abc import Mapping import awkward as ak from awkward._backends.numpy import NumpyBackend from awkward._dispatch import high_level_function +__all__ = ("to_rdataframe",) + cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_to_regular.py b/src/awkward/operations/ak_to_regular.py index 1ab069e601..2e63af2d0e 100644 --- a/src/awkward/operations/ak_to_regular.py +++ b/src/awkward/operations/ak_to_regular.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("to_regular",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function @@ -8,6 +10,8 @@ from awkward._regularize import regularize_axis from awkward.errors import AxisError +__all__ = ("to_regular",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_transform.py b/src/awkward/operations/ak_transform.py index ae75215f74..10325da92b 100644 --- a/src/awkward/operations/ak_transform.py +++ b/src/awkward/operations/ak_transform.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("transform",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import copy import awkward as ak @@ -16,6 +18,8 @@ from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("transform",) + cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_type.py b/src/awkward/operations/ak_type.py index 34bc82df0f..f4f8b46e35 100644 --- a/src/awkward/operations/ak_type.py +++ b/src/awkward/operations/ak_type.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("type",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import numbers from datetime import datetime, timedelta @@ -10,6 +12,8 @@ from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("type",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_unflatten.py b/src/awkward/operations/ak_unflatten.py index 7c0b4e151c..b3ef263707 100644 --- a/src/awkward/operations/ak_unflatten.py +++ b/src/awkward/operations/ak_unflatten.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("unflatten",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.dispatch import backend_of from awkward._backends.numpy import NumpyBackend @@ -11,6 +13,8 @@ from awkward._nplikes.typetracer import is_unknown_scalar from awkward._regularize import is_integer_like, regularize_axis +__all__ = ("unflatten",) + np = NumpyMetadata.instance() numpy_backend = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_unzip.py b/src/awkward/operations/ak_unzip.py index 0eb3641d2b..31f29df488 100644 --- a/src/awkward/operations/ak_unzip.py +++ b/src/awkward/operations/ak_unzip.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("unzip",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("unzip",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_validity_error.py b/src/awkward/operations/ak_validity_error.py index ee3347bd36..ee1ecfcdaf 100644 --- a/src/awkward/operations/ak_validity_error.py +++ b/src/awkward/operations/ak_validity_error.py @@ -1,8 +1,12 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("validity_error",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function +__all__ = ("validity_error",) + @high_level_function() def validity_error(array, *, exception=False): diff --git a/src/awkward/operations/ak_values_astype.py b/src/awkward/operations/ak_values_astype.py index c5c793367e..f194ffa861 100644 --- a/src/awkward/operations/ak_values_astype.py +++ b/src/awkward/operations/ak_values_astype.py @@ -1,10 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("values_astype",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("values_astype",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_var.py b/src/awkward/operations/ak_var.py index d782cf77e8..6637618b96 100644 --- a/src/awkward/operations/ak_var.py +++ b/src/awkward/operations/ak_var.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("var", "nanvar") +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._connect.numpy import UNSUPPORTED @@ -8,6 +10,8 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import regularize_axis +__all__ = ("var", "nanvar") + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_where.py b/src/awkward/operations/ak_where.py index 7f00595f6b..88d65b41f9 100644 --- a/src/awkward/operations/ak_where.py +++ b/src/awkward/operations/ak_where.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("where",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._backends.dispatch import backend_of from awkward._backends.numpy import NumpyBackend @@ -8,6 +10,8 @@ from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("where",) + np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_with_field.py b/src/awkward/operations/ak_with_field.py index 16914cb33a..f3469b85c4 100644 --- a/src/awkward/operations/ak_with_field.py +++ b/src/awkward/operations/ak_with_field.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("with_field",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import copy import awkward as ak @@ -11,9 +13,9 @@ from awkward._nplikes.numpy_like import NumpyMetadata from awkward._regularize import is_non_string_like_sequence -np = NumpyMetadata.instance() - +__all__ = ("with_field",) +np = NumpyMetadata.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/ak_with_name.py b/src/awkward/operations/ak_with_name.py index 52aa9ff8df..ed7ace5da4 100644 --- a/src/awkward/operations/ak_with_name.py +++ b/src/awkward/operations/ak_with_name.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("with_name",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("with_name",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_with_parameter.py b/src/awkward/operations/ak_with_parameter.py index cff5c4bd1f..a58b37b585 100644 --- a/src/awkward/operations/ak_with_parameter.py +++ b/src/awkward/operations/ak_with_parameter.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("with_parameter",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("with_parameter",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_without_field.py b/src/awkward/operations/ak_without_field.py index c083d5c377..95a2ffddeb 100644 --- a/src/awkward/operations/ak_without_field.py +++ b/src/awkward/operations/ak_without_field.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("without_field",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from collections.abc import Sequence import awkward as ak @@ -8,6 +10,8 @@ from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("without_field",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_without_parameters.py b/src/awkward/operations/ak_without_parameters.py index 18bc15b62d..6d09bba8f4 100644 --- a/src/awkward/operations/ak_without_parameters.py +++ b/src/awkward/operations/ak_without_parameters.py @@ -1,11 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("without_parameters",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("without_parameters",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/ak_zeros_like.py b/src/awkward/operations/ak_zeros_like.py index 4804f5a678..97452c73eb 100644 --- a/src/awkward/operations/ak_zeros_like.py +++ b/src/awkward/operations/ak_zeros_like.py @@ -1,12 +1,15 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("zeros_like",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak from awkward._connect.numpy import UNSUPPORTED from awkward._dispatch import high_level_function from awkward._nplikes.numpy_like import NumpyMetadata -np = NumpyMetadata.instance() +__all__ = ("zeros_like",) +np = NumpyMetadata.instance() _ZEROS = object() diff --git a/src/awkward/operations/ak_zip.py b/src/awkward/operations/ak_zip.py index 91b804be8b..c84b40f631 100644 --- a/src/awkward/operations/ak_zip.py +++ b/src/awkward/operations/ak_zip.py @@ -1,5 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE -__all__ = ("zip",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from collections.abc import Mapping import awkward as ak @@ -8,6 +10,8 @@ from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("zip",) + np = NumpyMetadata.instance() diff --git a/src/awkward/operations/str/__init__.py b/src/awkward/operations/str/__init__.py index b07d252347..3a6d776904 100644 --- a/src/awkward/operations/str/__init__.py +++ b/src/awkward/operations/str/__init__.py @@ -1,10 +1,10 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE # This set of string-manipulation routines is strongly inspired by Arrow: - # string transforms # https://arrow.apache.org/docs/python/api/compute.html#string-transforms +from __future__ import annotations from awkward.operations.str.akstr_capitalize import * # string padding diff --git a/src/awkward/operations/str/akstr_capitalize.py b/src/awkward/operations/str/akstr_capitalize.py index 1c33e480f8..4771b2cd2e 100644 --- a/src/awkward/operations/str/akstr_capitalize.py +++ b/src/awkward/operations/str/akstr_capitalize.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("capitalize",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("capitalize",) + @high_level_function(module="ak.str") def capitalize(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_center.py b/src/awkward/operations/str/akstr_center.py index d7d1801136..df30cb6574 100644 --- a/src/awkward/operations/str/akstr_center.py +++ b/src/awkward/operations/str/akstr_center.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("center",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("center",) + @high_level_function(module="ak.str") def center(array, width, padding=" ", *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_count_substring.py b/src/awkward/operations/str/akstr_count_substring.py index 00be9489b8..8401a29512 100644 --- a/src/awkward/operations/str/akstr_count_substring.py +++ b/src/awkward/operations/str/akstr_count_substring.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("count_substring",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("count_substring",) + @high_level_function(module="ak.str") def count_substring( diff --git a/src/awkward/operations/str/akstr_count_substring_regex.py b/src/awkward/operations/str/akstr_count_substring_regex.py index c339449667..a058da76ba 100644 --- a/src/awkward/operations/str/akstr_count_substring_regex.py +++ b/src/awkward/operations/str/akstr_count_substring_regex.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("count_substring_regex",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("count_substring_regex",) + @high_level_function(module="ak.str") def count_substring_regex( diff --git a/src/awkward/operations/str/akstr_ends_with.py b/src/awkward/operations/str/akstr_ends_with.py index 993aa68c03..725cf350c8 100644 --- a/src/awkward/operations/str/akstr_ends_with.py +++ b/src/awkward/operations/str/akstr_ends_with.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("ends_with",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("ends_with",) + @high_level_function(module="ak.str") def ends_with(array, pattern, *, ignore_case=False, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_extract_regex.py b/src/awkward/operations/str/akstr_extract_regex.py index 1b96a96c3e..fefe00fb6f 100644 --- a/src/awkward/operations/str/akstr_extract_regex.py +++ b/src/awkward/operations/str/akstr_extract_regex.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("extract_regex",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("extract_regex",) + @high_level_function(module="ak.str") def extract_regex(array, pattern, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_find_substring.py b/src/awkward/operations/str/akstr_find_substring.py index 99de42b650..dff0d1d6ff 100644 --- a/src/awkward/operations/str/akstr_find_substring.py +++ b/src/awkward/operations/str/akstr_find_substring.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("find_substring",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("find_substring",) + @high_level_function(module="ak.str") def find_substring(array, pattern, *, ignore_case=False, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_find_substring_regex.py b/src/awkward/operations/str/akstr_find_substring_regex.py index a470dfc830..748e414e69 100644 --- a/src/awkward/operations/str/akstr_find_substring_regex.py +++ b/src/awkward/operations/str/akstr_find_substring_regex.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("find_substring_regex",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("find_substring_regex",) + @high_level_function(module="ak.str") def find_substring_regex( diff --git a/src/awkward/operations/str/akstr_index_in.py b/src/awkward/operations/str/akstr_index_in.py index cf514fb727..ae93bfca70 100644 --- a/src/awkward/operations/str/akstr_index_in.py +++ b/src/awkward/operations/str/akstr_index_in.py @@ -1,7 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("index_in",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._backends.dispatch import backend_of @@ -11,6 +10,8 @@ from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("index_in",) + cpu = NumpyBackend.instance() typetracer = TypeTracerBackend.instance() diff --git a/src/awkward/operations/str/akstr_is_alnum.py b/src/awkward/operations/str/akstr_is_alnum.py index d18d42f2a9..862b278026 100644 --- a/src/awkward/operations/str/akstr_is_alnum.py +++ b/src/awkward/operations/str/akstr_is_alnum.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_alnum",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_alnum",) + @high_level_function(module="ak.str") def is_alnum(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_alpha.py b/src/awkward/operations/str/akstr_is_alpha.py index 892336f661..8a2c8807e3 100644 --- a/src/awkward/operations/str/akstr_is_alpha.py +++ b/src/awkward/operations/str/akstr_is_alpha.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_alpha",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_alpha",) + @high_level_function(module="ak.str") def is_alpha(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_ascii.py b/src/awkward/operations/str/akstr_is_ascii.py index db7092c842..dfb45dd75a 100644 --- a/src/awkward/operations/str/akstr_is_ascii.py +++ b/src/awkward/operations/str/akstr_is_ascii.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_ascii",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_ascii",) + @high_level_function(module="ak.str") def is_ascii(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_decimal.py b/src/awkward/operations/str/akstr_is_decimal.py index 7599f150d2..c74db0abc9 100644 --- a/src/awkward/operations/str/akstr_is_decimal.py +++ b/src/awkward/operations/str/akstr_is_decimal.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_decimal",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_decimal",) + @high_level_function(module="ak.str") def is_decimal(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_digit.py b/src/awkward/operations/str/akstr_is_digit.py index 2838d5e39a..46422a9fa7 100644 --- a/src/awkward/operations/str/akstr_is_digit.py +++ b/src/awkward/operations/str/akstr_is_digit.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_digit",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_digit",) + @high_level_function(module="ak.str") def is_digit(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_in.py b/src/awkward/operations/str/akstr_is_in.py index 315fb03124..22477ae213 100644 --- a/src/awkward/operations/str/akstr_is_in.py +++ b/src/awkward/operations/str/akstr_is_in.py @@ -1,7 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("is_in",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._backends.dispatch import backend_of @@ -11,6 +10,8 @@ from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_in",) + cpu = NumpyBackend.instance() typetracer = TypeTracerBackend.instance() diff --git a/src/awkward/operations/str/akstr_is_lower.py b/src/awkward/operations/str/akstr_is_lower.py index 5b502ec5e6..a81f319b5f 100644 --- a/src/awkward/operations/str/akstr_is_lower.py +++ b/src/awkward/operations/str/akstr_is_lower.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_lower",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_lower",) + @high_level_function(module="ak.str") def is_lower(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_numeric.py b/src/awkward/operations/str/akstr_is_numeric.py index e7e5a0db49..fbea00db82 100644 --- a/src/awkward/operations/str/akstr_is_numeric.py +++ b/src/awkward/operations/str/akstr_is_numeric.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_numeric",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_numeric",) + @high_level_function(module="ak.str") def is_numeric(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_printable.py b/src/awkward/operations/str/akstr_is_printable.py index 3b825acf6a..b322f952ff 100644 --- a/src/awkward/operations/str/akstr_is_printable.py +++ b/src/awkward/operations/str/akstr_is_printable.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_printable",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_printable",) + @high_level_function(module="ak.str") def is_printable(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_space.py b/src/awkward/operations/str/akstr_is_space.py index 624691cdf5..3d68992858 100644 --- a/src/awkward/operations/str/akstr_is_space.py +++ b/src/awkward/operations/str/akstr_is_space.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_space",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_space",) + @high_level_function(module="ak.str") def is_space(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_title.py b/src/awkward/operations/str/akstr_is_title.py index 05a13377dc..490652c9d0 100644 --- a/src/awkward/operations/str/akstr_is_title.py +++ b/src/awkward/operations/str/akstr_is_title.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_title",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_title",) + @high_level_function(module="ak.str") def is_title(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_is_upper.py b/src/awkward/operations/str/akstr_is_upper.py index b37aa1c843..6d5ab28c6c 100644 --- a/src/awkward/operations/str/akstr_is_upper.py +++ b/src/awkward/operations/str/akstr_is_upper.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("is_upper",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("is_upper",) + @high_level_function(module="ak.str") def is_upper(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_join.py b/src/awkward/operations/str/akstr_join.py index 49794288c2..e696a08b12 100644 --- a/src/awkward/operations/str/akstr_join.py +++ b/src/awkward/operations/str/akstr_join.py @@ -1,6 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("join",) +from __future__ import annotations import awkward as ak from awkward._backends.dispatch import backend_of @@ -10,6 +10,8 @@ from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("join",) + typetracer = TypeTracerBackend.instance() cpu = NumpyBackend.instance() diff --git a/src/awkward/operations/str/akstr_join_element_wise.py b/src/awkward/operations/str/akstr_join_element_wise.py index d9b129287b..f62705351f 100644 --- a/src/awkward/operations/str/akstr_join_element_wise.py +++ b/src/awkward/operations/str/akstr_join_element_wise.py @@ -1,6 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("join_element_wise",) +from __future__ import annotations import awkward as ak from awkward._backends.dispatch import backend_of @@ -10,6 +10,8 @@ from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("join_element_wise",) + cpu = NumpyBackend.instance() typetracer = TypeTracerBackend.instance() diff --git a/src/awkward/operations/str/akstr_length.py b/src/awkward/operations/str/akstr_length.py index 700dbe534c..63e150a27e 100644 --- a/src/awkward/operations/str/akstr_length.py +++ b/src/awkward/operations/str/akstr_length.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("length",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("length",) + @high_level_function(module="ak.str") def length(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_lower.py b/src/awkward/operations/str/akstr_lower.py index ade17e10ac..22f21accea 100644 --- a/src/awkward/operations/str/akstr_lower.py +++ b/src/awkward/operations/str/akstr_lower.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("lower",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("lower",) + @high_level_function(module="ak.str") def lower(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_lpad.py b/src/awkward/operations/str/akstr_lpad.py index 431557d086..876b958ca7 100644 --- a/src/awkward/operations/str/akstr_lpad.py +++ b/src/awkward/operations/str/akstr_lpad.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("lpad",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("lpad",) + @high_level_function(module="ak.str") def lpad(array, width, padding=" ", *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_ltrim.py b/src/awkward/operations/str/akstr_ltrim.py index a6904c1d11..99e5c17b2f 100644 --- a/src/awkward/operations/str/akstr_ltrim.py +++ b/src/awkward/operations/str/akstr_ltrim.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("ltrim",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("ltrim",) + @high_level_function(module="ak.str") def ltrim(array, characters, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_ltrim_whitespace.py b/src/awkward/operations/str/akstr_ltrim_whitespace.py index 060af89288..aa7b85ab55 100644 --- a/src/awkward/operations/str/akstr_ltrim_whitespace.py +++ b/src/awkward/operations/str/akstr_ltrim_whitespace.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("ltrim_whitespace",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("ltrim_whitespace",) + @high_level_function(module="ak.str") def ltrim_whitespace(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_match_like.py b/src/awkward/operations/str/akstr_match_like.py index 525851cd10..4a69d9dae5 100644 --- a/src/awkward/operations/str/akstr_match_like.py +++ b/src/awkward/operations/str/akstr_match_like.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("match_like",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("match_like",) + @high_level_function(module="ak.str") def match_like(array, pattern, *, ignore_case=False, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_match_substring.py b/src/awkward/operations/str/akstr_match_substring.py index 862db45827..c0a6bb265f 100644 --- a/src/awkward/operations/str/akstr_match_substring.py +++ b/src/awkward/operations/str/akstr_match_substring.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("match_substring",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("match_substring",) + @high_level_function(module="ak.str") def match_substring( diff --git a/src/awkward/operations/str/akstr_match_substring_regex.py b/src/awkward/operations/str/akstr_match_substring_regex.py index c0bcde985e..d0e37d1f4a 100644 --- a/src/awkward/operations/str/akstr_match_substring_regex.py +++ b/src/awkward/operations/str/akstr_match_substring_regex.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("match_substring_regex",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("match_substring_regex",) + @high_level_function(module="ak.str") def match_substring_regex( diff --git a/src/awkward/operations/str/akstr_repeat.py b/src/awkward/operations/str/akstr_repeat.py index 76a8d1c970..eae9774245 100644 --- a/src/awkward/operations/str/akstr_repeat.py +++ b/src/awkward/operations/str/akstr_repeat.py @@ -1,6 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("repeat",) +from __future__ import annotations import numbers @@ -13,6 +13,8 @@ from awkward._layout import wrap_layout from awkward._nplikes.numpy_like import NumpyMetadata +__all__ = ("repeat",) + cpu = NumpyBackend.instance() typetracer = TypeTracerBackend.instance() np = NumpyMetadata.instance() diff --git a/src/awkward/operations/str/akstr_replace_slice.py b/src/awkward/operations/str/akstr_replace_slice.py index fc0668daf9..3bd9d3b3c5 100644 --- a/src/awkward/operations/str/akstr_replace_slice.py +++ b/src/awkward/operations/str/akstr_replace_slice.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("replace_slice",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("replace_slice",) + @high_level_function(module="ak.str") def replace_slice(array, start, stop, replacement, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_replace_substring.py b/src/awkward/operations/str/akstr_replace_substring.py index 38f00cbe42..b7f027a658 100644 --- a/src/awkward/operations/str/akstr_replace_substring.py +++ b/src/awkward/operations/str/akstr_replace_substring.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("replace_substring",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("replace_substring",) + @high_level_function(module="ak.str") def replace_substring( diff --git a/src/awkward/operations/str/akstr_replace_substring_regex.py b/src/awkward/operations/str/akstr_replace_substring_regex.py index 832bf83552..bbe5ce1f34 100644 --- a/src/awkward/operations/str/akstr_replace_substring_regex.py +++ b/src/awkward/operations/str/akstr_replace_substring_regex.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("replace_substring_regex",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("replace_substring_regex",) + @high_level_function(module="ak.str") def replace_substring_regex( diff --git a/src/awkward/operations/str/akstr_reverse.py b/src/awkward/operations/str/akstr_reverse.py index bd5e6c79f2..772f536de6 100644 --- a/src/awkward/operations/str/akstr_reverse.py +++ b/src/awkward/operations/str/akstr_reverse.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("reverse",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("reverse",) + @high_level_function(module="ak.str") def reverse(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_rpad.py b/src/awkward/operations/str/akstr_rpad.py index 99fe323d60..c8e4b94709 100644 --- a/src/awkward/operations/str/akstr_rpad.py +++ b/src/awkward/operations/str/akstr_rpad.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("rpad",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("rpad",) + @high_level_function(module="ak.str") def rpad(array, width, padding=" ", *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_rtrim.py b/src/awkward/operations/str/akstr_rtrim.py index 816605de40..14153272a1 100644 --- a/src/awkward/operations/str/akstr_rtrim.py +++ b/src/awkward/operations/str/akstr_rtrim.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("rtrim",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("rtrim",) + @high_level_function(module="ak.str") def rtrim(array, characters, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_rtrim_whitespace.py b/src/awkward/operations/str/akstr_rtrim_whitespace.py index 19c18677b0..7fc7e57155 100644 --- a/src/awkward/operations/str/akstr_rtrim_whitespace.py +++ b/src/awkward/operations/str/akstr_rtrim_whitespace.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("rtrim_whitespace",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("rtrim_whitespace",) + @high_level_function(module="ak.str") def rtrim_whitespace(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_slice.py b/src/awkward/operations/str/akstr_slice.py index 76da97d1fd..c0c6da9dd2 100644 --- a/src/awkward/operations/str/akstr_slice.py +++ b/src/awkward/operations/str/akstr_slice.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("slice",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("slice",) + @high_level_function(module="ak.str") def slice(array, start, stop=None, step=1, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_split_pattern.py b/src/awkward/operations/str/akstr_split_pattern.py index 00513c6141..1e7462d0f9 100644 --- a/src/awkward/operations/str/akstr_split_pattern.py +++ b/src/awkward/operations/str/akstr_split_pattern.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("split_pattern",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("split_pattern",) + @high_level_function(module="ak.str") def split_pattern( diff --git a/src/awkward/operations/str/akstr_split_pattern_regex.py b/src/awkward/operations/str/akstr_split_pattern_regex.py index 57f372066c..fe8215852e 100644 --- a/src/awkward/operations/str/akstr_split_pattern_regex.py +++ b/src/awkward/operations/str/akstr_split_pattern_regex.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("split_pattern_regex",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("split_pattern_regex",) + @high_level_function(module="ak.str") def split_pattern_regex( diff --git a/src/awkward/operations/str/akstr_split_whitespace.py b/src/awkward/operations/str/akstr_split_whitespace.py index 25f5609bee..21e0442b22 100644 --- a/src/awkward/operations/str/akstr_split_whitespace.py +++ b/src/awkward/operations/str/akstr_split_whitespace.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("split_whitespace",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("split_whitespace",) + @high_level_function(module="ak.str") def split_whitespace( diff --git a/src/awkward/operations/str/akstr_starts_with.py b/src/awkward/operations/str/akstr_starts_with.py index 2c1c4f0bd4..74d4ac8a1f 100644 --- a/src/awkward/operations/str/akstr_starts_with.py +++ b/src/awkward/operations/str/akstr_starts_with.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("starts_with",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("starts_with",) + @high_level_function(module="ak.str") def starts_with(array, pattern, *, ignore_case=False, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_swapcase.py b/src/awkward/operations/str/akstr_swapcase.py index 1629c65fdc..7d5bf8de36 100644 --- a/src/awkward/operations/str/akstr_swapcase.py +++ b/src/awkward/operations/str/akstr_swapcase.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("swapcase",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("swapcase",) + @high_level_function(module="ak.str") def swapcase(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_title.py b/src/awkward/operations/str/akstr_title.py index 8c7d0361b4..c7815fec3d 100644 --- a/src/awkward/operations/str/akstr_title.py +++ b/src/awkward/operations/str/akstr_title.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("title",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("title",) + @high_level_function(module="ak.str") def title(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_to_categorical.py b/src/awkward/operations/str/akstr_to_categorical.py index 8ac3571820..8747943f1f 100644 --- a/src/awkward/operations/str/akstr_to_categorical.py +++ b/src/awkward/operations/str/akstr_to_categorical.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("to_categorical",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("to_categorical",) + @high_level_function(module="ak.str") def to_categorical(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_trim.py b/src/awkward/operations/str/akstr_trim.py index aa5352cd5e..29b26dc30c 100644 --- a/src/awkward/operations/str/akstr_trim.py +++ b/src/awkward/operations/str/akstr_trim.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("trim",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("trim",) + @high_level_function(module="ak.str") def trim(array, characters, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_trim_whitespace.py b/src/awkward/operations/str/akstr_trim_whitespace.py index 200118fdb7..e79936e62a 100644 --- a/src/awkward/operations/str/akstr_trim_whitespace.py +++ b/src/awkward/operations/str/akstr_trim_whitespace.py @@ -1,13 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -__all__ = ("trim_whitespace",) +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("trim_whitespace",) + @high_level_function(module="ak.str") def trim_whitespace(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/operations/str/akstr_upper.py b/src/awkward/operations/str/akstr_upper.py index 4f0a8bf920..6ec0d4e033 100644 --- a/src/awkward/operations/str/akstr_upper.py +++ b/src/awkward/operations/str/akstr_upper.py @@ -1,12 +1,14 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = ("upper",) +from __future__ import annotations import awkward as ak from awkward._behavior import behavior_of from awkward._dispatch import high_level_function from awkward._layout import wrap_layout +__all__ = ("upper",) + @high_level_function(module="ak.str") def upper(array, *, highlevel=True, behavior=None): diff --git a/src/awkward/record.py b/src/awkward/record.py index 0b3725e4d6..7a4d529c41 100644 --- a/src/awkward/record.py +++ b/src/awkward/record.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import copy diff --git a/src/awkward/types/__init__.py b/src/awkward/types/__init__.py index bc38dde00b..3c8eb0b619 100644 --- a/src/awkward/types/__init__.py +++ b/src/awkward/types/__init__.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations from awkward.types.arraytype import ArrayType # noqa: F401 from awkward.types.listtype import ListType # noqa: F401 diff --git a/src/awkward/types/arraytype.py b/src/awkward/types/arraytype.py index 846a99ed1b..0e9899e3ac 100644 --- a/src/awkward/types/arraytype.py +++ b/src/awkward/types/arraytype.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import sys diff --git a/src/awkward/types/listtype.py b/src/awkward/types/listtype.py index b068a3104a..d550ce2d8f 100644 --- a/src/awkward/types/listtype.py +++ b/src/awkward/types/listtype.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Mapping diff --git a/src/awkward/types/numpytype.py b/src/awkward/types/numpytype.py index 6558981b62..1051d572a1 100644 --- a/src/awkward/types/numpytype.py +++ b/src/awkward/types/numpytype.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import json diff --git a/src/awkward/types/optiontype.py b/src/awkward/types/optiontype.py index 5ec8c250f6..f248f13b06 100644 --- a/src/awkward/types/optiontype.py +++ b/src/awkward/types/optiontype.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Mapping diff --git a/src/awkward/types/recordtype.py b/src/awkward/types/recordtype.py index b3ce456f0c..2387f3ef8b 100644 --- a/src/awkward/types/recordtype.py +++ b/src/awkward/types/recordtype.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import json diff --git a/src/awkward/types/regulartype.py b/src/awkward/types/regulartype.py index c9181b183b..b713486a25 100644 --- a/src/awkward/types/regulartype.py +++ b/src/awkward/types/regulartype.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Mapping diff --git a/src/awkward/types/scalartype.py b/src/awkward/types/scalartype.py index 783bad4c8a..eae7d6b577 100644 --- a/src/awkward/types/scalartype.py +++ b/src/awkward/types/scalartype.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import sys diff --git a/src/awkward/types/type.py b/src/awkward/types/type.py index e5b381d650..78c8bddb4d 100644 --- a/src/awkward/types/type.py +++ b/src/awkward/types/type.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations import json diff --git a/src/awkward/types/uniontype.py b/src/awkward/types/uniontype.py index a7e3eb0d81..cd1be5d3d3 100644 --- a/src/awkward/types/uniontype.py +++ b/src/awkward/types/uniontype.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Iterable, Mapping diff --git a/src/awkward/types/unknowntype.py b/src/awkward/types/unknowntype.py index 926c78f53d..c1e6e90016 100644 --- a/src/awkward/types/unknowntype.py +++ b/src/awkward/types/unknowntype.py @@ -1,4 +1,5 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + from __future__ import annotations from collections.abc import Mapping diff --git a/src/awkward/typetracer.py b/src/awkward/typetracer.py index 152b2fc28f..100b89797b 100644 --- a/src/awkward/typetracer.py +++ b/src/awkward/typetracer.py @@ -1,14 +1,6 @@ -from __future__ import annotations +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -__all__ = [ - "is_unknown_array", - "is_unknown_scalar", - "TypeTracerReport", - "typetracer_with_report", - "PlaceholderArray", - "unknown_length", - "touch_data", -] +from __future__ import annotations import awkward.forms from awkward._backends.typetracer import TypeTracerBackend @@ -35,6 +27,16 @@ from awkward.operations.ak_to_layout import to_layout from awkward.types.numpytype import is_primitive +__all__ = [ + "is_unknown_array", + "is_unknown_scalar", + "TypeTracerReport", + "typetracer_with_report", + "PlaceholderArray", + "unknown_length", + "touch_data", +] + T = TypeVar("T", Array, Record) diff --git a/tests-cuda/__init__.py b/tests-cuda/__init__.py index 3f37305187..895865eade 100644 --- a/tests-cuda/__init__.py +++ b/tests-cuda/__init__.py @@ -1 +1 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE diff --git a/tests-cuda/test_1276_cuda_num.py b/tests-cuda/test_1276_cuda_num.py index 0368062265..37acd3324a 100644 --- a/tests-cuda/test_1276_cuda_num.py +++ b/tests-cuda/test_1276_cuda_num.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import cupy as cp # noqa: F401 import numpy as np diff --git a/tests-cuda/test_1276_cuda_transfers.py b/tests-cuda/test_1276_cuda_transfers.py index a4b6fa0ecc..76ea0db7cf 100644 --- a/tests-cuda/test_1276_cuda_transfers.py +++ b/tests-cuda/test_1276_cuda_transfers.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import cupy as cp # noqa: F401 import numpy as np diff --git a/tests-cuda/test_1276_cupy_interop.py b/tests-cuda/test_1276_cupy_interop.py index ea05c0fbfe..f1e323f606 100644 --- a/tests-cuda/test_1276_cupy_interop.py +++ b/tests-cuda/test_1276_cupy_interop.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import cupy as cp import numpy as np diff --git a/tests-cuda/test_1276_from_cupy.py b/tests-cuda/test_1276_from_cupy.py index 81dc62e058..91e4cbbe2b 100644 --- a/tests-cuda/test_1276_from_cupy.py +++ b/tests-cuda/test_1276_from_cupy.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import cupy as cp import numpy as np diff --git a/tests-cuda/test_1300_same_for_numba_cuda.py b/tests-cuda/test_1300_same_for_numba_cuda.py index 1a6ffe7db6..f129c174cf 100644 --- a/tests-cuda/test_1300_same_for_numba_cuda.py +++ b/tests-cuda/test_1300_same_for_numba_cuda.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests-cuda/test_1381_check_errors.py b/tests-cuda/test_1381_check_errors.py index 412ec499f3..a6e9683ba4 100644 --- a/tests-cuda/test_1381_check_errors.py +++ b/tests-cuda/test_1381_check_errors.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import cupy as cp import numpy as np # noqa: F401 diff --git a/tests-cuda/test_1809_array_cuda_jit.py b/tests-cuda/test_1809_array_cuda_jit.py index 70643042cf..80182ecf15 100644 --- a/tests-cuda/test_1809_array_cuda_jit.py +++ b/tests-cuda/test_1809_array_cuda_jit.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/__init__.py b/tests/__init__.py index 3f37305187..895865eade 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1 +1 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE diff --git a/tests/samples/__init__.py b/tests/samples/__init__.py index ab9f7dc80a..f9c297f0b5 100644 --- a/tests/samples/__init__.py +++ b/tests/samples/__init__.py @@ -1,3 +1,3 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE from __future__ import absolute_import diff --git a/tests/test_0002_minimal_listarray.py b/tests/test_0002_minimal_listarray.py index 75676fba50..e6f2fe2719 100644 --- a/tests/test_0002_minimal_listarray.py +++ b/tests/test_0002_minimal_listarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0006_deep_iteration.py b/tests/test_0006_deep_iteration.py index 55493ceaee..bf7f24dcc5 100644 --- a/tests/test_0006_deep_iteration.py +++ b/tests/test_0006_deep_iteration.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0008_slices_and_getitem.py b/tests/test_0008_slices_and_getitem.py index cdb8e3178e..ce8aab6e8e 100644 --- a/tests/test_0008_slices_and_getitem.py +++ b/tests/test_0008_slices_and_getitem.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0011_listarray.py b/tests/test_0011_listarray.py index fd822350d0..ecc38cbac7 100644 --- a/tests/test_0011_listarray.py +++ b/tests/test_0011_listarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0013_error_handling_struct.py b/tests/test_0013_error_handling_struct.py index 4c42a27397..c0f1255c94 100644 --- a/tests/test_0013_error_handling_struct.py +++ b/tests/test_0013_error_handling_struct.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0014_finish_up_getitem.py b/tests/test_0014_finish_up_getitem.py index 1107a2f4c3..55cca2f87f 100644 --- a/tests/test_0014_finish_up_getitem.py +++ b/tests/test_0014_finish_up_getitem.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import itertools diff --git a/tests/test_0018_fromiter_fillable.py b/tests/test_0018_fromiter_fillable.py index ea8dbc3010..7974f8f58a 100644 --- a/tests/test_0018_fromiter_fillable.py +++ b/tests/test_0018_fromiter_fillable.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_0019_use_json_library.py b/tests/test_0019_use_json_library.py index e1b6826c2b..d2589625e5 100644 --- a/tests/test_0019_use_json_library.py +++ b/tests/test_0019_use_json_library.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json import os diff --git a/tests/test_0020_support_unsigned_indexes.py b/tests/test_0020_support_unsigned_indexes.py index 6f6fa971dd..1c1a5ae7e7 100644 --- a/tests/test_0020_support_unsigned_indexes.py +++ b/tests/test_0020_support_unsigned_indexes.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0021_emptyarray.py b/tests/test_0021_emptyarray.py index 4be2e87727..0a19e44a7a 100644 --- a/tests/test_0021_emptyarray.py +++ b/tests/test_0021_emptyarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0023_regular_array.py b/tests/test_0023_regular_array.py index 4ec8d31e42..684220aec9 100644 --- a/tests/test_0023_regular_array.py +++ b/tests/test_0023_regular_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import itertools diff --git a/tests/test_0024_use_regular_array.py b/tests/test_0024_use_regular_array.py index e4412ef406..8537b4cdb7 100644 --- a/tests/test_0024_use_regular_array.py +++ b/tests/test_0024_use_regular_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0025_record_array.py b/tests/test_0025_record_array.py index 647c91b691..3d2a9fba1d 100644 --- a/tests/test_0025_record_array.py +++ b/tests/test_0025_record_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json diff --git a/tests/test_0028_add_dressed_types.py b/tests/test_0028_add_dressed_types.py index f6049a6ca0..38a67f2781 100644 --- a/tests/test_0028_add_dressed_types.py +++ b/tests/test_0028_add_dressed_types.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0032_replace_dressedtype.py b/tests/test_0032_replace_dressedtype.py index ee55c229e0..b3291fd626 100644 --- a/tests/test_0032_replace_dressedtype.py +++ b/tests/test_0032_replace_dressedtype.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0046_start_indexedarray.py b/tests/test_0046_start_indexedarray.py index 123b4ed7bd..74666a2d05 100644 --- a/tests/test_0046_start_indexedarray.py +++ b/tests/test_0046_start_indexedarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0049_distinguish_record_and_recordarray_behaviors.py b/tests/test_0049_distinguish_record_and_recordarray_behaviors.py index 58eab2eb22..467b4e3022 100644 --- a/tests/test_0049_distinguish_record_and_recordarray_behaviors.py +++ b/tests/test_0049_distinguish_record_and_recordarray_behaviors.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0057_introducing_forms.py b/tests/test_0057_introducing_forms.py index 7b195e4779..3c0a53e6bd 100644 --- a/tests/test_0057_introducing_forms.py +++ b/tests/test_0057_introducing_forms.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json import pickle diff --git a/tests/test_0070_argmin_and_argmax.py b/tests/test_0070_argmin_and_argmax.py index 2902dafaec..c97bacc2a1 100644 --- a/tests/test_0070_argmin_and_argmax.py +++ b/tests/test_0070_argmin_and_argmax.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0072_fillna_operation.py b/tests/test_0072_fillna_operation.py index 395f304d9a..305531df95 100644 --- a/tests/test_0072_fillna_operation.py +++ b/tests/test_0072_fillna_operation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0074_argsort_and_sort.py b/tests/test_0074_argsort_and_sort.py index c01105af2b..ee6c5e332c 100644 --- a/tests/test_0074_argsort_and_sort.py +++ b/tests/test_0074_argsort_and_sort.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0077_zip_operation.py b/tests/test_0077_zip_operation.py index 1a4b562c0b..4d06ca730c 100644 --- a/tests/test_0077_zip_operation.py +++ b/tests/test_0077_zip_operation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0078_argcross_and_cross.py b/tests/test_0078_argcross_and_cross.py index 79d61d5fb9..a1076bfa26 100644 --- a/tests/test_0078_argcross_and_cross.py +++ b/tests/test_0078_argcross_and_cross.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0079_argchoose_and_choose.py b/tests/test_0079_argchoose_and_choose.py index 9c4058565f..1368a224eb 100644 --- a/tests/test_0079_argchoose_and_choose.py +++ b/tests/test_0079_argchoose_and_choose.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0080_flatpandas_multiindex_rows_and_columns.py b/tests/test_0080_flatpandas_multiindex_rows_and_columns.py index 4beec906db..2bc1828f83 100644 --- a/tests/test_0080_flatpandas_multiindex_rows_and_columns.py +++ b/tests/test_0080_flatpandas_multiindex_rows_and_columns.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json diff --git a/tests/test_0084_start_unionarray.py b/tests/test_0084_start_unionarray.py index cb7076f597..1ebf2c4dd3 100644 --- a/tests/test_0084_start_unionarray.py +++ b/tests/test_0084_start_unionarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0086_nep13_ufunc.py b/tests/test_0086_nep13_ufunc.py index d19ab95b15..1e2bf22cd5 100644 --- a/tests/test_0086_nep13_ufunc.py +++ b/tests/test_0086_nep13_ufunc.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0089_numpy_functions.py b/tests/test_0089_numpy_functions.py index 929eda53d4..7c31111649 100644 --- a/tests/test_0089_numpy_functions.py +++ b/tests/test_0089_numpy_functions.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0093_simplify_uniontypes_and_optiontypes.py b/tests/test_0093_simplify_uniontypes_and_optiontypes.py index 389d51a6ac..f65a64d454 100644 --- a/tests/test_0093_simplify_uniontypes_and_optiontypes.py +++ b/tests/test_0093_simplify_uniontypes_and_optiontypes.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0107_assign_fields_to_records.py b/tests/test_0107_assign_fields_to_records.py index b02b1c5cfc..6c5f1791cb 100644 --- a/tests/test_0107_assign_fields_to_records.py +++ b/tests/test_0107_assign_fields_to_records.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0111_jagged_and_masked_getitem.py b/tests/test_0111_jagged_and_masked_getitem.py index a736719d62..6b6dddbe69 100644 --- a/tests/test_0111_jagged_and_masked_getitem.py +++ b/tests/test_0111_jagged_and_masked_getitem.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import itertools import numpy as np diff --git a/tests/test_0115_generic_reducer_operation.py b/tests/test_0115_generic_reducer_operation.py index 5e41f98476..b7c6606019 100644 --- a/tests/test_0115_generic_reducer_operation.py +++ b/tests/test_0115_generic_reducer_operation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0118_numba_cpointers.py b/tests/test_0118_numba_cpointers.py index 3cf5868ed6..1ffc4b7179 100644 --- a/tests/test_0118_numba_cpointers.py +++ b/tests/test_0118_numba_cpointers.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import operator import sys diff --git a/tests/test_0119_numexpr_and_broadcast_arrays.py b/tests/test_0119_numexpr_and_broadcast_arrays.py index 2931fca30a..935be857cc 100644 --- a/tests/test_0119_numexpr_and_broadcast_arrays.py +++ b/tests/test_0119_numexpr_and_broadcast_arrays.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0124_strings_in_numba.py b/tests/test_0124_strings_in_numba.py index da9c8dd26a..8cbd84431b 100644 --- a/tests/test_0124_strings_in_numba.py +++ b/tests/test_0124_strings_in_numba.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0127_tomask_operation.py b/tests/test_0127_tomask_operation.py index 6575fa6833..f84d278b5d 100644 --- a/tests/test_0127_tomask_operation.py +++ b/tests/test_0127_tomask_operation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0127b_tomask_operation_numba.py b/tests/test_0127b_tomask_operation_numba.py index feaf2dfbb9..501038feea 100644 --- a/tests/test_0127b_tomask_operation_numba.py +++ b/tests/test_0127b_tomask_operation_numba.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0138_emptyarray_type.py b/tests/test_0138_emptyarray_type.py index 20f115de26..2d9588342e 100644 --- a/tests/test_0138_emptyarray_type.py +++ b/tests/test_0138_emptyarray_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0150_flatten.py b/tests/test_0150_flatten.py index 5c6432d2c9..72e20dc17b 100644 --- a/tests/test_0150_flatten.py +++ b/tests/test_0150_flatten.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0163_negative_axis_wrap.py b/tests/test_0163_negative_axis_wrap.py index d2d0437d9d..4e88c78dbc 100644 --- a/tests/test_0163_negative_axis_wrap.py +++ b/tests/test_0163_negative_axis_wrap.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0166_0167_0170_random_issues.py b/tests/test_0166_0167_0170_random_issues.py index ead1f85c92..7fac8bb6b7 100644 --- a/tests/test_0166_0167_0170_random_issues.py +++ b/tests/test_0166_0167_0170_random_issues.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0173_astype_operation.py b/tests/test_0173_astype_operation.py index b67acb3fb0..4cd2b097e9 100644 --- a/tests/test_0173_astype_operation.py +++ b/tests/test_0173_astype_operation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0184_concatenate_operation.py b/tests/test_0184_concatenate_operation.py index b650e33dea..893ff2d872 100644 --- a/tests/test_0184_concatenate_operation.py +++ b/tests/test_0184_concatenate_operation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0193_is_none_axis_parameter.py b/tests/test_0193_is_none_axis_parameter.py index c01973df61..2e06ca9734 100644 --- a/tests/test_0193_is_none_axis_parameter.py +++ b/tests/test_0193_is_none_axis_parameter.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0198_tutorial_documentation_1.py b/tests/test_0198_tutorial_documentation_1.py index db7a2650ad..292cf845ca 100644 --- a/tests/test_0198_tutorial_documentation_1.py +++ b/tests/test_0198_tutorial_documentation_1.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0222_count_with_axis0.py b/tests/test_0222_count_with_axis0.py index 40b2577f2a..1f32758075 100644 --- a/tests/test_0222_count_with_axis0.py +++ b/tests/test_0222_count_with_axis0.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0224_arrow_to_awkward.py b/tests/test_0224_arrow_to_awkward.py index ceedaf02be..5ad6e4a2f2 100644 --- a/tests/test_0224_arrow_to_awkward.py +++ b/tests/test_0224_arrow_to_awkward.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0264_reduce_last_empty.py b/tests/test_0264_reduce_last_empty.py index 7bff94f579..ae1e7341a9 100644 --- a/tests/test_0264_reduce_last_empty.py +++ b/tests/test_0264_reduce_last_empty.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0273_path_for_with_field.py b/tests/test_0273_path_for_with_field.py index 70083a5b21..5268c6dd54 100644 --- a/tests/test_0273_path_for_with_field.py +++ b/tests/test_0273_path_for_with_field.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0286_broadcast_single_value_with_field.py b/tests/test_0286_broadcast_single_value_with_field.py index 52c363f08d..04499dc9c1 100644 --- a/tests/test_0286_broadcast_single_value_with_field.py +++ b/tests/test_0286_broadcast_single_value_with_field.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0290_bug_fixes_for_hats.py b/tests/test_0290_bug_fixes_for_hats.py index 0d0388e284..079cc777a3 100644 --- a/tests/test_0290_bug_fixes_for_hats.py +++ b/tests/test_0290_bug_fixes_for_hats.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0315_integerindex.py b/tests/test_0315_integerindex.py index 8a0f5407bf..4cc271d1b4 100644 --- a/tests/test_0315_integerindex.py +++ b/tests/test_0315_integerindex.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0331_pandas_indexedarray.py b/tests/test_0331_pandas_indexedarray.py index 50adbc1f95..a92bdbb890 100644 --- a/tests/test_0331_pandas_indexedarray.py +++ b/tests/test_0331_pandas_indexedarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0334_fully_broadcastable_where.py b/tests/test_0334_fully_broadcastable_where.py index 9d863fc792..3c0efdaf8f 100644 --- a/tests/test_0334_fully_broadcastable_where.py +++ b/tests/test_0334_fully_broadcastable_where.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0339_highlevel_sorting_function.py b/tests/test_0339_highlevel_sorting_function.py index 4930741eca..f030613453 100644 --- a/tests/test_0339_highlevel_sorting_function.py +++ b/tests/test_0339_highlevel_sorting_function.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0348_form_keys.py b/tests/test_0348_form_keys.py index f2abf66e3a..b2205858a1 100644 --- a/tests/test_0348_form_keys.py +++ b/tests/test_0348_form_keys.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pickle diff --git a/tests/test_0355_mixins.py b/tests/test_0355_mixins.py index fb0705490c..e108316b5a 100644 --- a/tests/test_0355_mixins.py +++ b/tests/test_0355_mixins.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import numpy as np diff --git a/tests/test_0395_complex_type_arrays.py b/tests/test_0395_complex_type_arrays.py index e485acb3ea..394377c16b 100644 --- a/tests/test_0395_complex_type_arrays.py +++ b/tests/test_0395_complex_type_arrays.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numbers # noqa: F401 diff --git a/tests/test_0395_fix_numba_indexedarray.py b/tests/test_0395_fix_numba_indexedarray.py index df37feff41..a2a45fa2e0 100644 --- a/tests/test_0395_fix_numba_indexedarray.py +++ b/tests/test_0395_fix_numba_indexedarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0397_arrays_as_constants_in_numba.py b/tests/test_0397_arrays_as_constants_in_numba.py index eddf91aac6..1b57684a66 100644 --- a/tests/test_0397_arrays_as_constants_in_numba.py +++ b/tests/test_0397_arrays_as_constants_in_numba.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import sys diff --git a/tests/test_0401_add_categorical_type_for_arrow_dictionary.py b/tests/test_0401_add_categorical_type_for_arrow_dictionary.py index 6144439b5f..da9c675776 100644 --- a/tests/test_0401_add_categorical_type_for_arrow_dictionary.py +++ b/tests/test_0401_add_categorical_type_for_arrow_dictionary.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0404_array_validity_check.py b/tests/test_0404_array_validity_check.py index d972e41f8d..78f2336d17 100644 --- a/tests/test_0404_array_validity_check.py +++ b/tests/test_0404_array_validity_check.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/master/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/master/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0410_fix_argminmax_positions_for_missing_values.py b/tests/test_0410_fix_argminmax_positions_for_missing_values.py index dc11fa9960..0ac50ef113 100644 --- a/tests/test_0410_fix_argminmax_positions_for_missing_values.py +++ b/tests/test_0410_fix_argminmax_positions_for_missing_values.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0437_stream_of_many_json_files.py b/tests/test_0437_stream_of_many_json_files.py index bd45629e8f..050bdcd186 100644 --- a/tests/test_0437_stream_of_many_json_files.py +++ b/tests/test_0437_stream_of_many_json_files.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations from pathlib import Path diff --git a/tests/test_0447_preserve_regularness_in_reduce.py b/tests/test_0447_preserve_regularness_in_reduce.py index 9c923c1d0f..168e06222b 100644 --- a/tests/test_0447_preserve_regularness_in_reduce.py +++ b/tests/test_0447_preserve_regularness_in_reduce.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0449_merge_many_arrays_in_one_pass.py b/tests/test_0449_merge_many_arrays_in_one_pass.py index 8dea098c52..381898db07 100644 --- a/tests/test_0449_merge_many_arrays_in_one_pass.py +++ b/tests/test_0449_merge_many_arrays_in_one_pass.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import itertools diff --git a/tests/test_0493_zeros_ones_full_like.py b/tests/test_0493_zeros_ones_full_like.py index bb885a7893..72723659e0 100644 --- a/tests/test_0493_zeros_ones_full_like.py +++ b/tests/test_0493_zeros_ones_full_like.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import datetime diff --git a/tests/test_0496_provide_local_index.py b/tests/test_0496_provide_local_index.py index eb46e967d9..a7eea4de8b 100644 --- a/tests/test_0496_provide_local_index.py +++ b/tests/test_0496_provide_local_index.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0499_getitem_indexedarray_bug.py b/tests/test_0499_getitem_indexedarray_bug.py index 1f6c86cfe9..e3fce94655 100644 --- a/tests/test_0499_getitem_indexedarray_bug.py +++ b/tests/test_0499_getitem_indexedarray_bug.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0504_block_ufuncs_for_strings.py b/tests/test_0504_block_ufuncs_for_strings.py index bc1a2e1a2a..9ea864cb8b 100644 --- a/tests/test_0504_block_ufuncs_for_strings.py +++ b/tests/test_0504_block_ufuncs_for_strings.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import numpy as np import pytest diff --git a/tests/test_0511_copy_and_deepcopy.py b/tests/test_0511_copy_and_deepcopy.py index 5e1634437f..ffa6dd6240 100644 --- a/tests/test_0511_copy_and_deepcopy.py +++ b/tests/test_0511_copy_and_deepcopy.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import copy diff --git a/tests/test_0527_fix_unionarray_ufuncs_and_parameters_in_merging.py b/tests/test_0527_fix_unionarray_ufuncs_and_parameters_in_merging.py index ae887df4d7..c03a112cec 100644 --- a/tests/test_0527_fix_unionarray_ufuncs_and_parameters_in_merging.py +++ b/tests/test_0527_fix_unionarray_ufuncs_and_parameters_in_merging.py @@ -1,11 +1,13 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 import awkward as ak -# https://github.com/scikit-hep/awkward-1.0/issues/459#issuecomment-694941328 +# https://github.com/scikit-hep/awkward/issues/459#issuecomment-694941328 # # So the rules would be, # * if arrays have different `__array__` or `__record__` parameters, they are not equal; diff --git a/tests/test_0546_fill_none_replacement_value_type.py b/tests/test_0546_fill_none_replacement_value_type.py index b117f786e8..c8de28b22f 100644 --- a/tests/test_0546_fill_none_replacement_value_type.py +++ b/tests/test_0546_fill_none_replacement_value_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0549_numba_array_asarray.py b/tests/test_0549_numba_array_asarray.py index 4a5d0a5472..f36eec3975 100644 --- a/tests/test_0549_numba_array_asarray.py +++ b/tests/test_0549_numba_array_asarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0557_min_max_initial_argument.py b/tests/test_0557_min_max_initial_argument.py index a90ef3ec31..53d54f5854 100644 --- a/tests/test_0557_min_max_initial_argument.py +++ b/tests/test_0557_min_max_initial_argument.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0559_fix_booleans_in_numba.py b/tests/test_0559_fix_booleans_in_numba.py index 1ec26d533c..74c09fcb5f 100644 --- a/tests/test_0559_fix_booleans_in_numba.py +++ b/tests/test_0559_fix_booleans_in_numba.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0572_numba_array_ndim.py b/tests/test_0572_numba_array_ndim.py index 6ee2624480..81f5b71092 100644 --- a/tests/test_0572_numba_array_ndim.py +++ b/tests/test_0572_numba_array_ndim.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0582_propagate_context_in_broadcast_and_apply.py b/tests/test_0582_propagate_context_in_broadcast_and_apply.py index 2b12d148c0..5aeec187ed 100644 --- a/tests/test_0582_propagate_context_in_broadcast_and_apply.py +++ b/tests/test_0582_propagate_context_in_broadcast_and_apply.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0583_implement_unflatten_function.py b/tests/test_0583_implement_unflatten_function.py index 233826910e..c8f7ab7dcf 100644 --- a/tests/test_0583_implement_unflatten_function.py +++ b/tests/test_0583_implement_unflatten_function.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0590_allow_regulararray_size_zero.py b/tests/test_0590_allow_regulararray_size_zero.py index ab8bc34151..40d50574f8 100644 --- a/tests/test_0590_allow_regulararray_size_zero.py +++ b/tests/test_0590_allow_regulararray_size_zero.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0593_preserve_nullability_in_arrow_and_parquet.py b/tests/test_0593_preserve_nullability_in_arrow_and_parquet.py index 09c99dfcc6..726d284bd6 100644 --- a/tests/test_0593_preserve_nullability_in_arrow_and_parquet.py +++ b/tests/test_0593_preserve_nullability_in_arrow_and_parquet.py @@ -1,6 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -# import os +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0627_behavior_from_dict_of_arrays.py b/tests/test_0627_behavior_from_dict_of_arrays.py index 2755ac4029..64630c7acc 100644 --- a/tests/test_0627_behavior_from_dict_of_arrays.py +++ b/tests/test_0627_behavior_from_dict_of_arrays.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0652_tests_of_complex_numbers.py b/tests/test_0652_tests_of_complex_numbers.py index 378cb1a403..60fa4fec22 100644 --- a/tests/test_0652_tests_of_complex_numbers.py +++ b/tests/test_0652_tests_of_complex_numbers.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json diff --git a/tests/test_0674_categorical_validation.py b/tests/test_0674_categorical_validation.py index 99e1ccf4e6..31f99db265 100644 --- a/tests/test_0674_categorical_validation.py +++ b/tests/test_0674_categorical_validation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0713_getitem_field_should_simplify_optiontype.py b/tests/test_0713_getitem_field_should_simplify_optiontype.py index 9e1213516d..eca1c00bd5 100644 --- a/tests/test_0713_getitem_field_should_simplify_optiontype.py +++ b/tests/test_0713_getitem_field_should_simplify_optiontype.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0723_ensure_that_jagged_slice_fits_array_length.py b/tests/test_0723_ensure_that_jagged_slice_fits_array_length.py index 9a504c3804..4315b51c1f 100644 --- a/tests/test_0723_ensure_that_jagged_slice_fits_array_length.py +++ b/tests/test_0723_ensure_that_jagged_slice_fits_array_length.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0730_unflatten_axis_parameter.py b/tests/test_0730_unflatten_axis_parameter.py index 8b1ac9380b..1151495e44 100644 --- a/tests/test_0730_unflatten_axis_parameter.py +++ b/tests/test_0730_unflatten_axis_parameter.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0733_run_lengths.py b/tests/test_0733_run_lengths.py index ab6471a685..6e6a736b49 100644 --- a/tests/test_0733_run_lengths.py +++ b/tests/test_0733_run_lengths.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0736_implement_argsort_for_strings.py b/tests/test_0736_implement_argsort_for_strings.py index c4b93b649f..633daa50a7 100644 --- a/tests/test_0736_implement_argsort_for_strings.py +++ b/tests/test_0736_implement_argsort_for_strings.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0758_ak_zip_scallars.py b/tests/test_0758_ak_zip_scallars.py index 98096729f1..de2fa34293 100644 --- a/tests/test_0758_ak_zip_scallars.py +++ b/tests/test_0758_ak_zip_scallars.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0766_prevent_combinations_of_characters.py b/tests/test_0766_prevent_combinations_of_characters.py index 6325a12fb9..f30191daf9 100644 --- a/tests/test_0766_prevent_combinations_of_characters.py +++ b/tests/test_0766_prevent_combinations_of_characters.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0773_typeparser.py b/tests/test_0773_typeparser.py index d95fc327e3..5dfb0008ed 100644 --- a/tests/test_0773_typeparser.py +++ b/tests/test_0773_typeparser.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_0788_indexedarray_carrying_recordarray_parameters.py b/tests/test_0788_indexedarray_carrying_recordarray_parameters.py index 0a226f81e1..769976a1d1 100644 --- a/tests/test_0788_indexedarray_carrying_recordarray_parameters.py +++ b/tests/test_0788_indexedarray_carrying_recordarray_parameters.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0794_ak_cartesian_on_empty_array.py b/tests/test_0794_ak_cartesian_on_empty_array.py index 228c6c6a51..5b48c51b1f 100644 --- a/tests/test_0794_ak_cartesian_on_empty_array.py +++ b/tests/test_0794_ak_cartesian_on_empty_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0803_argsort_fix_type.py b/tests/test_0803_argsort_fix_type.py index a3030ace0f..3866f00936 100644 --- a/tests/test_0803_argsort_fix_type.py +++ b/tests/test_0803_argsort_fix_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0806_empty_lists_cartesian_fix.py b/tests/test_0806_empty_lists_cartesian_fix.py index 5e22bf5886..bdbe70c778 100644 --- a/tests/test_0806_empty_lists_cartesian_fix.py +++ b/tests/test_0806_empty_lists_cartesian_fix.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0813_full_like_dtype_arg.py b/tests/test_0813_full_like_dtype_arg.py index 79af105cb2..470907f050 100644 --- a/tests/test_0813_full_like_dtype_arg.py +++ b/tests/test_0813_full_like_dtype_arg.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0815_broadcast_union_types_to_all_possibilities.py b/tests/test_0815_broadcast_union_types_to_all_possibilities.py index 5626c3e47e..5fa40ff08b 100644 --- a/tests/test_0815_broadcast_union_types_to_all_possibilities.py +++ b/tests/test_0815_broadcast_union_types_to_all_possibilities.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0819_issue.py b/tests/test_0819_issue.py index 7d99852657..5fc17446e2 100644 --- a/tests/test_0819_issue.py +++ b/tests/test_0819_issue.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0828_arrow_datatype_null.py b/tests/test_0828_arrow_datatype_null.py index cb66cca1fc..fa34ed2731 100644 --- a/tests/test_0828_arrow_datatype_null.py +++ b/tests/test_0828_arrow_datatype_null.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0835_datetime_type.py b/tests/test_0835_datetime_type.py index 03410f6089..a12eaf75eb 100644 --- a/tests/test_0835_datetime_type.py +++ b/tests/test_0835_datetime_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import datetime diff --git a/tests/test_0835_datetime_type_pandas.py b/tests/test_0835_datetime_type_pandas.py index 6ea58009c6..329c16c249 100644 --- a/tests/test_0835_datetime_type_pandas.py +++ b/tests/test_0835_datetime_type_pandas.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0835_datetime_type_pyarrow.py b/tests/test_0835_datetime_type_pyarrow.py index 57fd562a63..d47e51849c 100644 --- a/tests/test_0835_datetime_type_pyarrow.py +++ b/tests/test_0835_datetime_type_pyarrow.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import datetime diff --git a/tests/test_0850_argsort_mask_array.py b/tests/test_0850_argsort_mask_array.py index 3e6bc5de59..dededc69fb 100644 --- a/tests/test_0850_argsort_mask_array.py +++ b/tests/test_0850_argsort_mask_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0863_is_none_numpy_array.py b/tests/test_0863_is_none_numpy_array.py index f539aa5ee4..c327a29a96 100644 --- a/tests/test_0863_is_none_numpy_array.py +++ b/tests/test_0863_is_none_numpy_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0866_getitem_field_and_flatten_unions.py b/tests/test_0866_getitem_field_and_flatten_unions.py index b05112076b..2c188f5726 100644 --- a/tests/test_0866_getitem_field_and_flatten_unions.py +++ b/tests/test_0866_getitem_field_and_flatten_unions.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0875_arrow_null_type.py b/tests/test_0875_arrow_null_type.py index 60f1c34e4b..b072f352a5 100644 --- a/tests/test_0875_arrow_null_type.py +++ b/tests/test_0875_arrow_null_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import os diff --git a/tests/test_0879_non_primitive_with_field.py b/tests/test_0879_non_primitive_with_field.py index e39f5deb2f..b70cb71901 100644 --- a/tests/test_0879_non_primitive_with_field.py +++ b/tests/test_0879_non_primitive_with_field.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0884_index_and_identifier_refactoring.py b/tests/test_0884_index_and_identifier_refactoring.py index 75dca1e2e1..50bb1da810 100644 --- a/tests/test_0884_index_and_identifier_refactoring.py +++ b/tests/test_0884_index_and_identifier_refactoring.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0889_ptp.py b/tests/test_0889_ptp.py index f3439ddf43..fafe19e62d 100644 --- a/tests/test_0889_ptp.py +++ b/tests/test_0889_ptp.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0896_content_classes_refactoring.py b/tests/test_0896_content_classes_refactoring.py index 48f5746286..5c025f1133 100644 --- a/tests/test_0896_content_classes_refactoring.py +++ b/tests/test_0896_content_classes_refactoring.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0898_unzip_heterogeneous_records.py b/tests/test_0898_unzip_heterogeneous_records.py index 364658961a..f889ba48de 100644 --- a/tests/test_0898_unzip_heterogeneous_records.py +++ b/tests/test_0898_unzip_heterogeneous_records.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0903_ArrayView_expects_contiguous_NumpyArrays.py b/tests/test_0903_ArrayView_expects_contiguous_NumpyArrays.py index 147d3f9944..0e4d4596d5 100644 --- a/tests/test_0903_ArrayView_expects_contiguous_NumpyArrays.py +++ b/tests/test_0903_ArrayView_expects_contiguous_NumpyArrays.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0905_leading_zeros_in_unflatten.py b/tests/test_0905_leading_zeros_in_unflatten.py index f5ed4af2ea..c55beebc9e 100644 --- a/tests/test_0905_leading_zeros_in_unflatten.py +++ b/tests/test_0905_leading_zeros_in_unflatten.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0906_arrow_fixed_size_list_type.py b/tests/test_0906_arrow_fixed_size_list_type.py index 753e9393a8..9f718a40b4 100644 --- a/tests/test_0906_arrow_fixed_size_list_type.py +++ b/tests/test_0906_arrow_fixed_size_list_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_0910_unflatten_counts_relation.py b/tests/test_0910_unflatten_counts_relation.py index 18843864a9..f9015b7951 100644 --- a/tests/test_0910_unflatten_counts_relation.py +++ b/tests/test_0910_unflatten_counts_relation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0912_packed.py b/tests/test_0912_packed.py index 047f888248..d2cf950bfc 100644 --- a/tests/test_0912_packed.py +++ b/tests/test_0912_packed.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0914_types_and_forms.py b/tests/test_0914_types_and_forms.py index ac881a992a..1249d40d55 100644 --- a/tests/test_0914_types_and_forms.py +++ b/tests/test_0914_types_and_forms.py @@ -1,6 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE -from typing import Optional +from __future__ import annotations import numpy as np import pytest @@ -9,7 +9,7 @@ def assert_overrides_typestr( - type_, typestr: str = "override", expected: Optional[str] = None + type_, typestr: str = "override", expected: str | None = None ): # Assume typestr is expected result if expected is None: diff --git a/tests/test_0916_datetime_values_astype.py b/tests/test_0916_datetime_values_astype.py index d1eed7b19d..b5586c2909 100644 --- a/tests/test_0916_datetime_values_astype.py +++ b/tests/test_0916_datetime_values_astype.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0927_numpy_array_nbytes.py b/tests/test_0927_numpy_array_nbytes.py index 4891269323..aeae8556e5 100644 --- a/tests/test_0927_numpy_array_nbytes.py +++ b/tests/test_0927_numpy_array_nbytes.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0930_bug_in_unionarray_purelist_parameter.py b/tests/test_0930_bug_in_unionarray_purelist_parameter.py index 616ebc714e..0d1a8b6d8d 100644 --- a/tests/test_0930_bug_in_unionarray_purelist_parameter.py +++ b/tests/test_0930_bug_in_unionarray_purelist_parameter.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0945_argsort_sort_nan_array.py b/tests/test_0945_argsort_sort_nan_array.py index 0153fa11fb..990db2a167 100644 --- a/tests/test_0945_argsort_sort_nan_array.py +++ b/tests/test_0945_argsort_sort_nan_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0958_new_forms_must_accept_old_form_json.py b/tests/test_0958_new_forms_must_accept_old_form_json.py index 2a6948632a..2565ad1f0c 100644 --- a/tests/test_0958_new_forms_must_accept_old_form_json.py +++ b/tests/test_0958_new_forms_must_accept_old_form_json.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json diff --git a/tests/test_0959__getitem_array_implementation.py b/tests/test_0959__getitem_array_implementation.py index 7dab088fd7..cd19676760 100644 --- a/tests/test_0959__getitem_array_implementation.py +++ b/tests/test_0959__getitem_array_implementation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_0975_mask_multidimensional_numpy_array.py b/tests/test_0975_mask_multidimensional_numpy_array.py index 7e8b2f6c25..991220f1ad 100644 --- a/tests/test_0975_mask_multidimensional_numpy_array.py +++ b/tests/test_0975_mask_multidimensional_numpy_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0979_where_multidimentional_numpy_array.py b/tests/test_0979_where_multidimentional_numpy_array.py index 720f07f9e4..3d796acab8 100644 --- a/tests/test_0979_where_multidimentional_numpy_array.py +++ b/tests/test_0979_where_multidimentional_numpy_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0982_missing_case_in_nonlocal_reducers.py b/tests/test_0982_missing_case_in_nonlocal_reducers.py index 9475364c6f..cf8d4781e8 100644 --- a/tests/test_0982_missing_case_in_nonlocal_reducers.py +++ b/tests/test_0982_missing_case_in_nonlocal_reducers.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_0984_ravel.py b/tests/test_0984_ravel.py index 526fb00e11..5a8fdb391c 100644 --- a/tests/test_0984_ravel.py +++ b/tests/test_0984_ravel.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_0992_correct_ptp_unmasking.py b/tests/test_0992_correct_ptp_unmasking.py index f281f1bbc2..5eae8c2dca 100644 --- a/tests/test_0992_correct_ptp_unmasking.py +++ b/tests/test_0992_correct_ptp_unmasking.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_1000_fixes_argmax_for_ListOffsetArray_with_nonzero_start.py b/tests/test_1000_fixes_argmax_for_ListOffsetArray_with_nonzero_start.py index 123f541480..53cf5615da 100644 --- a/tests/test_1000_fixes_argmax_for_ListOffsetArray_with_nonzero_start.py +++ b/tests/test_1000_fixes_argmax_for_ListOffsetArray_with_nonzero_start.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1006_packed_regular_array_zero_size.py b/tests/test_1006_packed_regular_array_zero_size.py index 3684228dac..7ba0e41efa 100644 --- a/tests/test_1006_packed_regular_array_zero_size.py +++ b/tests/test_1006_packed_regular_array_zero_size.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1007_from_buffers_empty_ndarray.py b/tests/test_1007_from_buffers_empty_ndarray.py index 125da71786..33121e923f 100644 --- a/tests/test_1007_from_buffers_empty_ndarray.py +++ b/tests/test_1007_from_buffers_empty_ndarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1017_numpyarray_broadcast.py b/tests/test_1017_numpyarray_broadcast.py index 305eeaf2ee..e15a4ee327 100644 --- a/tests/test_1017_numpyarray_broadcast.py +++ b/tests/test_1017_numpyarray_broadcast.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1030_mixin_class_name.py b/tests/test_1030_mixin_class_name.py index 5a6743bce8..996f47520a 100644 --- a/tests/test_1030_mixin_class_name.py +++ b/tests/test_1030_mixin_class_name.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1031_start_getitem_next.py b/tests/test_1031_start_getitem_next.py index d8138f4a18..df60344841 100644 --- a/tests/test_1031_start_getitem_next.py +++ b/tests/test_1031_start_getitem_next.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1031b_start_getitem_next_specialized.py b/tests/test_1031b_start_getitem_next_specialized.py index a037417acf..0f87ec65a1 100644 --- a/tests/test_1031b_start_getitem_next_specialized.py +++ b/tests/test_1031b_start_getitem_next_specialized.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1049_concatenate_single_array.py b/tests/test_1049_concatenate_single_array.py index 0713a790fc..1547c0b428 100644 --- a/tests/test_1049_concatenate_single_array.py +++ b/tests/test_1049_concatenate_single_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1055_fill_none_numpy_dimension.py b/tests/test_1055_fill_none_numpy_dimension.py index 3927e3e7a5..f2fc8530c2 100644 --- a/tests/test_1055_fill_none_numpy_dimension.py +++ b/tests/test_1055_fill_none_numpy_dimension.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1059_localindex.py b/tests/test_1059_localindex.py index decc2c22d7..2d47d90ea1 100644 --- a/tests/test_1059_localindex.py +++ b/tests/test_1059_localindex.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1066_to_numpy_masked_structured_array.py b/tests/test_1066_to_numpy_masked_structured_array.py index 0181defe86..6e4ac833f9 100644 --- a/tests/test_1066_to_numpy_masked_structured_array.py +++ b/tests/test_1066_to_numpy_masked_structured_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_1071_mask_identity_false_should_not_return_option_type.py b/tests/test_1071_mask_identity_false_should_not_return_option_type.py index 88366df09e..6fa318a22c 100644 --- a/tests/test_1071_mask_identity_false_should_not_return_option_type.py +++ b/tests/test_1071_mask_identity_false_should_not_return_option_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1072_sort.py b/tests/test_1072_sort.py index 1fc6922286..fee87e8fd8 100644 --- a/tests/test_1072_sort.py +++ b/tests/test_1072_sort.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1074_combinations.py b/tests/test_1074_combinations.py index 74ba9bf889..e025ae400a 100644 --- a/tests/test_1074_combinations.py +++ b/tests/test_1074_combinations.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1075_validityerror.py b/tests/test_1075_validityerror.py index 5cd8c35056..4bc4966a2f 100644 --- a/tests/test_1075_validityerror.py +++ b/tests/test_1075_validityerror.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1106_argminmax_axis_None_missing_values.py b/tests/test_1106_argminmax_axis_None_missing_values.py index 7900ebdd5f..a2295d7ea1 100644 --- a/tests/test_1106_argminmax_axis_None_missing_values.py +++ b/tests/test_1106_argminmax_axis_None_missing_values.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_1110_type_tracer_1.py b/tests/test_1110_type_tracer_1.py index 5dea57f295..4d1dfaeec2 100644 --- a/tests/test_1110_type_tracer_1.py +++ b/tests/test_1110_type_tracer_1.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1116_project_maskedarrays.py b/tests/test_1116_project_maskedarrays.py index 44b521fc47..33637f450d 100644 --- a/tests/test_1116_project_maskedarrays.py +++ b/tests/test_1116_project_maskedarrays.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1125_to_arrow_from_arrow.py b/tests/test_1125_to_arrow_from_arrow.py index 85936b8ea6..e003b62d38 100644 --- a/tests/test_1125_to_arrow_from_arrow.py +++ b/tests/test_1125_to_arrow_from_arrow.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import os diff --git a/tests/test_1132_utility_methods_for_highlevel_functions.py b/tests/test_1132_utility_methods_for_highlevel_functions.py index 9c7fb698ef..c99344fd09 100644 --- a/tests/test_1132_utility_methods_for_highlevel_functions.py +++ b/tests/test_1132_utility_methods_for_highlevel_functions.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1134_from_buffers_to_buffers.py b/tests/test_1134_from_buffers_to_buffers.py index 33a9ba9359..0420a9d6f1 100644 --- a/tests/test_1134_from_buffers_to_buffers.py +++ b/tests/test_1134_from_buffers_to_buffers.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1135_rpad_operation.py b/tests/test_1135_rpad_operation.py index 94547f770e..c7100462b3 100644 --- a/tests/test_1135_rpad_operation.py +++ b/tests/test_1135_rpad_operation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1136_regulararray_zeros_in_shape.py b/tests/test_1136_regulararray_zeros_in_shape.py index 7a8579e5e6..a53efd614e 100644 --- a/tests/test_1136_regulararray_zeros_in_shape.py +++ b/tests/test_1136_regulararray_zeros_in_shape.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1137_num.py b/tests/test_1137_num.py index d595819097..2e3e105fcd 100644 --- a/tests/test_1137_num.py +++ b/tests/test_1137_num.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1142_numbers_to_type.py b/tests/test_1142_numbers_to_type.py index 8ccba1a12a..c909dc71e0 100644 --- a/tests/test_1142_numbers_to_type.py +++ b/tests/test_1142_numbers_to_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1149_datetime_sort.py b/tests/test_1149_datetime_sort.py index 29d704e54e..63d4b977ed 100644 --- a/tests/test_1149_datetime_sort.py +++ b/tests/test_1149_datetime_sort.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import datetime diff --git a/tests/test_1154_arrow_tables_should_preserve_parameters.py b/tests/test_1154_arrow_tables_should_preserve_parameters.py index 47e22820f2..d3ed4fd854 100644 --- a/tests/test_1154_arrow_tables_should_preserve_parameters.py +++ b/tests/test_1154_arrow_tables_should_preserve_parameters.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1162_ak_from_json_schema.py b/tests/test_1162_ak_from_json_schema.py index 1e7a1c89a4..6135b24083 100644 --- a/tests/test_1162_ak_from_json_schema.py +++ b/tests/test_1162_ak_from_json_schema.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json import os diff --git a/tests/test_1183_bugs_found_by_dask_project_2.py b/tests/test_1183_bugs_found_by_dask_project_2.py index b682076b13..76a390e81b 100644 --- a/tests/test_1183_bugs_found_by_dask_project_2.py +++ b/tests/test_1183_bugs_found_by_dask_project_2.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1189_fix_singletons_for_non_optional_data.py b/tests/test_1189_fix_singletons_for_non_optional_data.py index 28a192384e..4a7245745e 100644 --- a/tests/test_1189_fix_singletons_for_non_optional_data.py +++ b/tests/test_1189_fix_singletons_for_non_optional_data.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1192_iterables_in___array_function__.py b/tests/test_1192_iterables_in___array_function__.py index 23ebcf59a3..1185311492 100644 --- a/tests/test_1192_iterables_in___array_function__.py +++ b/tests/test_1192_iterables_in___array_function__.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1193_is_none_nested_option.py b/tests/test_1193_is_none_nested_option.py index 208ffeaf08..999ef8807c 100644 --- a/tests/test_1193_is_none_nested_option.py +++ b/tests/test_1193_is_none_nested_option.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1233_ak_with_name.py b/tests/test_1233_ak_with_name.py index 0166701c14..a23512785a 100644 --- a/tests/test_1233_ak_with_name.py +++ b/tests/test_1233_ak_with_name.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1240_v2_implementation_of_numba_1.py b/tests/test_1240_v2_implementation_of_numba_1.py index 1ba44ab497..1fba805b8c 100644 --- a/tests/test_1240_v2_implementation_of_numba_1.py +++ b/tests/test_1240_v2_implementation_of_numba_1.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import sys diff --git a/tests/test_1259_simplify_optiontype.py b/tests/test_1259_simplify_optiontype.py index edf2761334..6417a0acb7 100644 --- a/tests/test_1259_simplify_optiontype.py +++ b/tests/test_1259_simplify_optiontype.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1260_simplify_masked_option_types.py b/tests/test_1260_simplify_masked_option_types.py index ebcb22fc8a..ee314e7d7b 100644 --- a/tests/test_1260_simplify_masked_option_types.py +++ b/tests/test_1260_simplify_masked_option_types.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1271_fix_4D_reducers.py b/tests/test_1271_fix_4D_reducers.py index 5d965ab824..c05fa60a52 100644 --- a/tests/test_1271_fix_4D_reducers.py +++ b/tests/test_1271_fix_4D_reducers.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1294_to_and_from_parquet.py b/tests/test_1294_to_and_from_parquet.py index e6eaeba2c1..580754d63c 100644 --- a/tests/test_1294_to_and_from_parquet.py +++ b/tests/test_1294_to_and_from_parquet.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import os.path diff --git a/tests/test_1298_allow_nan_to_num_arguments_to_be_arrays.py b/tests/test_1298_allow_nan_to_num_arguments_to_be_arrays.py index bf4dafe111..5b5013df18 100644 --- a/tests/test_1298_allow_nan_to_num_arguments_to_be_arrays.py +++ b/tests/test_1298_allow_nan_to_num_arguments_to_be_arrays.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_1300_awkward_to_cpp_converter_with_cling.py b/tests/test_1300_awkward_to_cpp_converter_with_cling.py index 1c6785259d..2515d7df64 100644 --- a/tests/test_1300_awkward_to_cpp_converter_with_cling.py +++ b/tests/test_1300_awkward_to_cpp_converter_with_cling.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1300b_same_for_numba.py b/tests/test_1300b_same_for_numba.py index 1eba944004..55887ba10e 100644 --- a/tests/test_1300b_same_for_numba.py +++ b/tests/test_1300b_same_for_numba.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1305_mixed_awkward_numpy_slicing.py b/tests/test_1305_mixed_awkward_numpy_slicing.py index 2ae83fe04e..da94f6324d 100644 --- a/tests/test_1305_mixed_awkward_numpy_slicing.py +++ b/tests/test_1305_mixed_awkward_numpy_slicing.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1308_zip_after_option.py b/tests/test_1308_zip_after_option.py index 6e5061ff1b..9e55d00752 100644 --- a/tests/test_1308_zip_after_option.py +++ b/tests/test_1308_zip_after_option.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_1318_array_function_types.py b/tests/test_1318_array_function_types.py index 6492fe74c3..cf8ff59321 100644 --- a/tests/test_1318_array_function_types.py +++ b/tests/test_1318_array_function_types.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import numpy as np import awkward as ak diff --git a/tests/test_1320_mask_identity_defaults.py b/tests/test_1320_mask_identity_defaults.py index 98164ebdb3..2510a29d7d 100644 --- a/tests/test_1320_mask_identity_defaults.py +++ b/tests/test_1320_mask_identity_defaults.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1344_broadcast_arrays_depth_limit.py b/tests/test_1344_broadcast_arrays_depth_limit.py index 168f2ef44d..55b5b54bd1 100644 --- a/tests/test_1344_broadcast_arrays_depth_limit.py +++ b/tests/test_1344_broadcast_arrays_depth_limit.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1345_avro_reader.py b/tests/test_1345_avro_reader.py index 11b69934ba..bf021cab5a 100644 --- a/tests/test_1345_avro_reader.py +++ b/tests/test_1345_avro_reader.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import os diff --git a/tests/test_1351_is_tuple.py b/tests/test_1351_is_tuple.py index cb1b5c35f0..f68d124478 100644 --- a/tests/test_1351_is_tuple.py +++ b/tests/test_1351_is_tuple.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1374_to_rdataframe.py b/tests/test_1374_to_rdataframe.py index 68c98dd11a..9ee259544d 100644 --- a/tests/test_1374_to_rdataframe.py +++ b/tests/test_1374_to_rdataframe.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1377_ravel_string.py b/tests/test_1377_ravel_string.py index 0efdcd1ba3..d1a5f869fa 100644 --- a/tests/test_1377_ravel_string.py +++ b/tests/test_1377_ravel_string.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_1379_reducers_with_axis_None_and_typetracers.py b/tests/test_1379_reducers_with_axis_None_and_typetracers.py index 02cb9b1d31..d56dee7da3 100644 --- a/tests/test_1379_reducers_with_axis_None_and_typetracers.py +++ b/tests/test_1379_reducers_with_axis_None_and_typetracers.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_1399_from_jax.py b/tests/test_1399_from_jax.py index dca1badde9..915ed29b34 100644 --- a/tests/test_1399_from_jax.py +++ b/tests/test_1399_from_jax.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1399_to_jax.py b/tests/test_1399_to_jax.py index 023b554666..2d540437e0 100644 --- a/tests/test_1399_to_jax.py +++ b/tests/test_1399_to_jax.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1400_with_name_record.py b/tests/test_1400_with_name_record.py index 25b4b3e9fd..82db6ccd07 100644 --- a/tests/test_1400_with_name_record.py +++ b/tests/test_1400_with_name_record.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_1403_from_numpy_strings.py b/tests/test_1403_from_numpy_strings.py index 9558648b43..fb9933fb5a 100644 --- a/tests/test_1403_from_numpy_strings.py +++ b/tests/test_1403_from_numpy_strings.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1405_slicing_untested_cases.py b/tests/test_1405_slicing_untested_cases.py index 07092df582..ff40972f22 100644 --- a/tests/test_1405_slicing_untested_cases.py +++ b/tests/test_1405_slicing_untested_cases.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1415_behaviour_forwarding.py b/tests/test_1415_behaviour_forwarding.py index 5b908d3e61..1aadf8aa6f 100644 --- a/tests/test_1415_behaviour_forwarding.py +++ b/tests/test_1415_behaviour_forwarding.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1440_start_v2_to_parquet.py b/tests/test_1440_start_v2_to_parquet.py index ca56a9db11..0e7e875291 100644 --- a/tests/test_1440_start_v2_to_parquet.py +++ b/tests/test_1440_start_v2_to_parquet.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import io import os diff --git a/tests/test_1447_jax_autodiff_slices_ufuncs.py b/tests/test_1447_jax_autodiff_slices_ufuncs.py index 368cafb7c1..9d3b049e30 100644 --- a/tests/test_1447_jax_autodiff_slices_ufuncs.py +++ b/tests/test_1447_jax_autodiff_slices_ufuncs.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1449_v2_to_json_from_json_functions.py b/tests/test_1449_v2_to_json_from_json_functions.py index 84cf43af6e..4196bad6d7 100644 --- a/tests/test_1449_v2_to_json_from_json_functions.py +++ b/tests/test_1449_v2_to_json_from_json_functions.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import base64 import os diff --git a/tests/test_1453_write_single_records_to_parquet.py b/tests/test_1453_write_single_records_to_parquet.py index c162442b8e..74662c579e 100644 --- a/tests/test_1453_write_single_records_to_parquet.py +++ b/tests/test_1453_write_single_records_to_parquet.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import os diff --git a/tests/test_1473_from_rdataframe.py b/tests/test_1473_from_rdataframe.py index f6bd72c0e9..21f4625f8a 100644 --- a/tests/test_1473_from_rdataframe.py +++ b/tests/test_1473_from_rdataframe.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1477_generator_entry_type_as_rvec.py b/tests/test_1477_generator_entry_type_as_rvec.py index 16ba6563f4..8206dc88ee 100644 --- a/tests/test_1477_generator_entry_type_as_rvec.py +++ b/tests/test_1477_generator_entry_type_as_rvec.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1490_jax_reducers_combinations.py b/tests/test_1490_jax_reducers_combinations.py index 3a89f4d37f..1cc2bc36ed 100644 --- a/tests/test_1490_jax_reducers_combinations.py +++ b/tests/test_1490_jax_reducers_combinations.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import numpy.testing diff --git a/tests/test_1502_getitem_jagged_issue1406.py b/tests/test_1502_getitem_jagged_issue1406.py index 121d098e55..1df4d87a29 100644 --- a/tests/test_1502_getitem_jagged_issue1406.py +++ b/tests/test_1502_getitem_jagged_issue1406.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1504_typetracer_like.py b/tests/test_1504_typetracer_like.py index 76409f43ee..edd9f82184 100644 --- a/tests/test_1504_typetracer_like.py +++ b/tests/test_1504_typetracer_like.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import numpy as np import pytest diff --git a/tests/test_1508_awkward_from_rdataframe.py b/tests/test_1508_awkward_from_rdataframe.py index d4b004d990..71e6d473e6 100644 --- a/tests/test_1508_awkward_from_rdataframe.py +++ b/tests/test_1508_awkward_from_rdataframe.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import sys diff --git a/tests/test_1511_set_attribute.py b/tests/test_1511_set_attribute.py index 130c547dc7..c5153d6819 100644 --- a/tests/test_1511_set_attribute.py +++ b/tests/test_1511_set_attribute.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1539_isnone_axis_check_issue1417.py b/tests/test_1539_isnone_axis_check_issue1417.py index c2a6c26373..caebf65e16 100644 --- a/tests/test_1539_isnone_axis_check_issue1417.py +++ b/tests/test_1539_isnone_axis_check_issue1417.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_1559_fix_ufuncs_records_1439.py b/tests/test_1559_fix_ufuncs_records_1439.py index e0b735b3af..101c61e192 100644 --- a/tests/test_1559_fix_ufuncs_records_1439.py +++ b/tests/test_1559_fix_ufuncs_records_1439.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1565_axis_wrap_if_negative_record.py b/tests/test_1565_axis_wrap_if_negative_record.py index 1048ed70ce..f2cbf6d873 100644 --- a/tests/test_1565_axis_wrap_if_negative_record.py +++ b/tests/test_1565_axis_wrap_if_negative_record.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1567_fix_longlong_in_Index.py b/tests/test_1567_fix_longlong_in_Index.py index aecbf7494d..c53857d951 100644 --- a/tests/test_1567_fix_longlong_in_Index.py +++ b/tests/test_1567_fix_longlong_in_Index.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1568_fix_lengths_empty_regular_slices.py b/tests/test_1568_fix_lengths_empty_regular_slices.py index ee72a7b052..e8dfa2a25c 100644 --- a/tests/test_1568_fix_lengths_empty_regular_slices.py +++ b/tests/test_1568_fix_lengths_empty_regular_slices.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1578_to_arrow_empty_recordarray.py b/tests/test_1578_to_arrow_empty_recordarray.py index 003cd60882..63a67e52cb 100644 --- a/tests/test_1578_to_arrow_empty_recordarray.py +++ b/tests/test_1578_to_arrow_empty_recordarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1586_concatenate_should_preserve_regulararray.py b/tests/test_1586_concatenate_should_preserve_regulararray.py index ce04867724..a77cc1fef7 100644 --- a/tests/test_1586_concatenate_should_preserve_regulararray.py +++ b/tests/test_1586_concatenate_should_preserve_regulararray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1593_empty_slice_list_record.py b/tests/test_1593_empty_slice_list_record.py index 9a357fc4f8..15e5008fe0 100644 --- a/tests/test_1593_empty_slice_list_record.py +++ b/tests/test_1593_empty_slice_list_record.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak diff --git a/tests/test_1604_preserve_form_in_concatenate.py b/tests/test_1604_preserve_form_in_concatenate.py index 986dc73392..406986e7b4 100644 --- a/tests/test_1604_preserve_form_in_concatenate.py +++ b/tests/test_1604_preserve_form_in_concatenate.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1607_no_reducers_on_records.py b/tests/test_1607_no_reducers_on_records.py index 76c56debd5..788a846370 100644 --- a/tests/test_1607_no_reducers_on_records.py +++ b/tests/test_1607_no_reducers_on_records.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1613_generator_tolayout_records.py b/tests/test_1613_generator_tolayout_records.py index 25a5d83449..a2b05525d9 100644 --- a/tests/test_1613_generator_tolayout_records.py +++ b/tests/test_1613_generator_tolayout_records.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1619_from_parquet_empty_field.py b/tests/test_1619_from_parquet_empty_field.py index c9c521dbd9..e5c3d41c3b 100644 --- a/tests/test_1619_from_parquet_empty_field.py +++ b/tests/test_1619_from_parquet_empty_field.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import os diff --git a/tests/test_1620_layout_builders.py b/tests/test_1620_layout_builders.py index b110d6f6e8..4eed0b3f42 100644 --- a/tests/test_1620_layout_builders.py +++ b/tests/test_1620_layout_builders.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1625_multiple_columns_from_rdataframe.py b/tests/test_1625_multiple_columns_from_rdataframe.py index 71786f615b..fe3cdef482 100644 --- a/tests/test_1625_multiple_columns_from_rdataframe.py +++ b/tests/test_1625_multiple_columns_from_rdataframe.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1642_from_iter_of_tuples.py b/tests/test_1642_from_iter_of_tuples.py index 5268c47f3f..090e6b68e5 100644 --- a/tests/test_1642_from_iter_of_tuples.py +++ b/tests/test_1642_from_iter_of_tuples.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1644_concatenate_zeros_length.py b/tests/test_1644_concatenate_zeros_length.py index c00a0f9a59..eedb597475 100644 --- a/tests/test_1644_concatenate_zeros_length.py +++ b/tests/test_1644_concatenate_zeros_length.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1650_Record_to_list_should_listify_itself.py b/tests/test_1650_Record_to_list_should_listify_itself.py index f02a280bc2..ca20c915c6 100644 --- a/tests/test_1650_Record_to_list_should_listify_itself.py +++ b/tests/test_1650_Record_to_list_should_listify_itself.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1671_categorical_type.py b/tests/test_1671_categorical_type.py index 2eae11179e..90879f5944 100644 --- a/tests/test_1671_categorical_type.py +++ b/tests/test_1671_categorical_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_1672_broadcast_parameters.py b/tests/test_1672_broadcast_parameters.py index 966297fe10..5bd60a4815 100644 --- a/tests/test_1672_broadcast_parameters.py +++ b/tests/test_1672_broadcast_parameters.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1677_array_builder_in_numba.py b/tests/test_1677_array_builder_in_numba.py index 239bd7d4cb..0578e5b22d 100644 --- a/tests/test_1677_array_builder_in_numba.py +++ b/tests/test_1677_array_builder_in_numba.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1685_IndexedArray_project_parameters.py b/tests/test_1685_IndexedArray_project_parameters.py index 9e1c7d6770..6df054e55b 100644 --- a/tests/test_1685_IndexedArray_project_parameters.py +++ b/tests/test_1685_IndexedArray_project_parameters.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1686_UnionArray_simplified_preserve_parameters.py b/tests/test_1686_UnionArray_simplified_preserve_parameters.py index 04dfd4847d..26a356cb4a 100644 --- a/tests/test_1686_UnionArray_simplified_preserve_parameters.py +++ b/tests/test_1686_UnionArray_simplified_preserve_parameters.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1688_pack_categorical.py b/tests/test_1688_pack_categorical.py index c9f6ab46ea..7928b6802b 100644 --- a/tests/test_1688_pack_categorical.py +++ b/tests/test_1688_pack_categorical.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_1703_fill_none_typetracer.py b/tests/test_1703_fill_none_typetracer.py index 62f068e8b1..7736cb5ef0 100644 --- a/tests/test_1703_fill_none_typetracer.py +++ b/tests/test_1703_fill_none_typetracer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_1707_broadcast_parameters_ufunc.py b/tests/test_1707_broadcast_parameters_ufunc.py index 26c12d7298..fb0197789c 100644 --- a/tests/test_1707_broadcast_parameters_ufunc.py +++ b/tests/test_1707_broadcast_parameters_ufunc.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1709_ak_array_constructor_behavior.py b/tests/test_1709_ak_array_constructor_behavior.py index 72e42cf564..f12a49a424 100644 --- a/tests/test_1709_ak_array_constructor_behavior.py +++ b/tests/test_1709_ak_array_constructor_behavior.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_1735_from_numpy_mask.py b/tests/test_1735_from_numpy_mask.py index acbee45d2c..890918afde 100644 --- a/tests/test_1735_from_numpy_mask.py +++ b/tests/test_1735_from_numpy_mask.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1747_bytemaskedarray_mergemany.py b/tests/test_1747_bytemaskedarray_mergemany.py index 922de25932..b975d032b3 100644 --- a/tests/test_1747_bytemaskedarray_mergemany.py +++ b/tests/test_1747_bytemaskedarray_mergemany.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1753_indexedarray_merge_kernel.py b/tests/test_1753_indexedarray_merge_kernel.py index dfd445a27e..21da2a137e 100644 --- a/tests/test_1753_indexedarray_merge_kernel.py +++ b/tests/test_1753_indexedarray_merge_kernel.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1762_jax_behavior_support.py b/tests/test_1762_jax_behavior_support.py index d0c4207b33..6991d28afc 100644 --- a/tests/test_1762_jax_behavior_support.py +++ b/tests/test_1762_jax_behavior_support.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1764_jax_jacobian.py b/tests/test_1764_jax_jacobian.py index feec11b392..362c085319 100644 --- a/tests/test_1764_jax_jacobian.py +++ b/tests/test_1764_jax_jacobian.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_1765_add_ioanas_test_of_to_arraylib.py b/tests/test_1765_add_ioanas_test_of_to_arraylib.py index 6e48b9d6ff..9f9d183f8d 100644 --- a/tests/test_1765_add_ioanas_test_of_to_arraylib.py +++ b/tests/test_1765_add_ioanas_test_of_to_arraylib.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1766_record_form_fields.py b/tests/test_1766_record_form_fields.py index 1c7586ba4d..6c709029d0 100644 --- a/tests/test_1766_record_form_fields.py +++ b/tests/test_1766_record_form_fields.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1781_rdataframe_snapshot.py b/tests/test_1781_rdataframe_snapshot.py index 03faa4378d..cd397e63ab 100644 --- a/tests/test_1781_rdataframe_snapshot.py +++ b/tests/test_1781_rdataframe_snapshot.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import os diff --git a/tests/test_1784_reduce_leading_sublist.py b/tests/test_1784_reduce_leading_sublist.py index 959ba097c7..c62a78ca0b 100644 --- a/tests/test_1784_reduce_leading_sublist.py +++ b/tests/test_1784_reduce_leading_sublist.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1790_reduce_regulararray.py b/tests/test_1790_reduce_regulararray.py index bedb8e26e5..59e28bc8ac 100644 --- a/tests/test_1790_reduce_regulararray.py +++ b/tests/test_1790_reduce_regulararray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1791_reduce_trailing_sublist.py b/tests/test_1791_reduce_trailing_sublist.py index 0979a2e00e..8812e53ed1 100644 --- a/tests/test_1791_reduce_trailing_sublist.py +++ b/tests/test_1791_reduce_trailing_sublist.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1794_run_lengths_empty_sublist.py b/tests/test_1794_run_lengths_empty_sublist.py index a08b4df289..efa0302dff 100644 --- a/tests/test_1794_run_lengths_empty_sublist.py +++ b/tests/test_1794_run_lengths_empty_sublist.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1823_fill_none_axis_none.py b/tests/test_1823_fill_none_axis_none.py index f555ab034a..b3ffd68b54 100644 --- a/tests/test_1823_fill_none_axis_none.py +++ b/tests/test_1823_fill_none_axis_none.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_1826_ravel_preserve_none.py b/tests/test_1826_ravel_preserve_none.py index 95fcf418ec..6bc1afd5a3 100644 --- a/tests/test_1826_ravel_preserve_none.py +++ b/tests/test_1826_ravel_preserve_none.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_1829_to_from_rdataframe_bool.py b/tests/test_1829_to_from_rdataframe_bool.py index 1ddbd37e24..b21cea4049 100644 --- a/tests/test_1829_to_from_rdataframe_bool.py +++ b/tests/test_1829_to_from_rdataframe_bool.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1840_ak_type_to_handle_ndarray_dtype_and_nptypes.py b/tests/test_1840_ak_type_to_handle_ndarray_dtype_and_nptypes.py index e347e016ee..435c997609 100644 --- a/tests/test_1840_ak_type_to_handle_ndarray_dtype_and_nptypes.py +++ b/tests/test_1840_ak_type_to_handle_ndarray_dtype_and_nptypes.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1847_numpy_array_contiguous.py b/tests/test_1847_numpy_array_contiguous.py index dec87fdd1b..a41e28bf02 100644 --- a/tests/test_1847_numpy_array_contiguous.py +++ b/tests/test_1847_numpy_array_contiguous.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1850_bytemasked_array_to_bytemaskedarray.py b/tests/test_1850_bytemasked_array_to_bytemaskedarray.py index 33504f403e..6614011230 100644 --- a/tests/test_1850_bytemasked_array_to_bytemaskedarray.py +++ b/tests/test_1850_bytemasked_array_to_bytemaskedarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1867_pass_behavior_through_combinations.py b/tests/test_1867_pass_behavior_through_combinations.py index ae84a31fcf..fc077e0a62 100644 --- a/tests/test_1867_pass_behavior_through_combinations.py +++ b/tests/test_1867_pass_behavior_through_combinations.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1904_drop_none.py b/tests/test_1904_drop_none.py index b217941e17..f89ea65ba5 100644 --- a/tests/test_1904_drop_none.py +++ b/tests/test_1904_drop_none.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1914_improved_axis_to_posaxis.py b/tests/test_1914_improved_axis_to_posaxis.py index 92f5db04e3..eb0aacf46f 100644 --- a/tests/test_1914_improved_axis_to_posaxis.py +++ b/tests/test_1914_improved_axis_to_posaxis.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1928_replace_simplify_method_with_classmethod_constructor.py b/tests/test_1928_replace_simplify_method_with_classmethod_constructor.py index b1d36d4a89..cac42495ea 100644 --- a/tests/test_1928_replace_simplify_method_with_classmethod_constructor.py +++ b/tests/test_1928_replace_simplify_method_with_classmethod_constructor.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_1930_unflatten_counts_checks.py b/tests/test_1930_unflatten_counts_checks.py index f65bde8845..27ae83b0ba 100644 --- a/tests/test_1930_unflatten_counts_checks.py +++ b/tests/test_1930_unflatten_counts_checks.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1936_with_field_broadcasting.py b/tests/test_1936_with_field_broadcasting.py index 5e15b6f190..a3c38450b2 100644 --- a/tests/test_1936_with_field_broadcasting.py +++ b/tests/test_1936_with_field_broadcasting.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_1940_ak_backend.py b/tests/test_1940_ak_backend.py index 424736c858..119869fcae 100644 --- a/tests/test_1940_ak_backend.py +++ b/tests/test_1940_ak_backend.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_1943_regular_indexing.py b/tests/test_1943_regular_indexing.py index eafceae448..478410c215 100644 --- a/tests/test_1943_regular_indexing.py +++ b/tests/test_1943_regular_indexing.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1944_to_numpy_empty_record_array.py b/tests/test_1944_to_numpy_empty_record_array.py index b79c9954a8..90b2e3d775 100644 --- a/tests/test_1944_to_numpy_empty_record_array.py +++ b/tests/test_1944_to_numpy_empty_record_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import awkward as ak diff --git a/tests/test_1960_awkward_from_rdataframe.py b/tests/test_1960_awkward_from_rdataframe.py index d961873077..fb5c25a527 100644 --- a/tests/test_1960_awkward_from_rdataframe.py +++ b/tests/test_1960_awkward_from_rdataframe.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_1961_ak_without_field.py b/tests/test_1961_ak_without_field.py index 74f1d5f07c..471596a7ac 100644 --- a/tests/test_1961_ak_without_field.py +++ b/tests/test_1961_ak_without_field.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import pytest import awkward as ak diff --git a/tests/test_1978_akRecord_constructor_should_retain_type.py b/tests/test_1978_akRecord_constructor_should_retain_type.py index 6282388609..8c206a617b 100644 --- a/tests/test_1978_akRecord_constructor_should_retain_type.py +++ b/tests/test_1978_akRecord_constructor_should_retain_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_1991_missed_a_NumpyArray_raw_call_without_underscore.py b/tests/test_1991_missed_a_NumpyArray_raw_call_without_underscore.py index 93aa980684..5f777fb442 100644 --- a/tests/test_1991_missed_a_NumpyArray_raw_call_without_underscore.py +++ b/tests/test_1991_missed_a_NumpyArray_raw_call_without_underscore.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import awkward as ak diff --git a/tests/test_2008_ak_type_layout.py b/tests/test_2008_ak_type_layout.py index 7a7cb07e37..a6177e4f87 100644 --- a/tests/test_2008_ak_type_layout.py +++ b/tests/test_2008_ak_type_layout.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import re diff --git a/tests/test_2020_reduce_axis_none.py b/tests/test_2020_reduce_axis_none.py index 657b23dbf6..9ecc6f30f4 100644 --- a/tests/test_2020_reduce_axis_none.py +++ b/tests/test_2020_reduce_axis_none.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2021_check_TypeTracerArray_in_ak_where.py b/tests/test_2021_check_TypeTracerArray_in_ak_where.py index 6f55dccae2..a35ede1d04 100644 --- a/tests/test_2021_check_TypeTracerArray_in_ak_where.py +++ b/tests/test_2021_check_TypeTracerArray_in_ak_where.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import awkward as ak diff --git a/tests/test_2023_from_rdataframe.py b/tests/test_2023_from_rdataframe.py index a36d64e37a..8a7da89d7a 100644 --- a/tests/test_2023_from_rdataframe.py +++ b/tests/test_2023_from_rdataframe.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_2027_add_data_touch_reporting_to_TypeTracerArray.py b/tests/test_2027_add_data_touch_reporting_to_TypeTracerArray.py index eb2daa0ad6..1080c633eb 100644 --- a/tests/test_2027_add_data_touch_reporting_to_TypeTracerArray.py +++ b/tests/test_2027_add_data_touch_reporting_to_TypeTracerArray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import copy diff --git a/tests/test_2047_ak_transform_regular_to_jagged.py b/tests/test_2047_ak_transform_regular_to_jagged.py index fd3d504f8e..5f7fc20203 100644 --- a/tests/test_2047_ak_transform_regular_to_jagged.py +++ b/tests/test_2047_ak_transform_regular_to_jagged.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2051_arraybuilder_behavior_propagation.py b/tests/test_2051_arraybuilder_behavior_propagation.py index 9113586c5c..d0ddfba84e 100644 --- a/tests/test_2051_arraybuilder_behavior_propagation.py +++ b/tests/test_2051_arraybuilder_behavior_propagation.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak diff --git a/tests/test_2055_array_builder_check.py b/tests/test_2055_array_builder_check.py index 2f7531e980..83016ced6d 100644 --- a/tests/test_2055_array_builder_check.py +++ b/tests/test_2055_array_builder_check.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2058_merge_numpy_array.py b/tests/test_2058_merge_numpy_array.py index 4fe61e000a..c9d74649e1 100644 --- a/tests/test_2058_merge_numpy_array.py +++ b/tests/test_2058_merge_numpy_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2064_fill_none_record.py b/tests/test_2064_fill_none_record.py index 0182cda99c..e98541911b 100644 --- a/tests/test_2064_fill_none_record.py +++ b/tests/test_2064_fill_none_record.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2067_to_buffers_byteorder.py b/tests/test_2067_to_buffers_byteorder.py index d9ae9a8a8b..e9ba029640 100644 --- a/tests/test_2067_to_buffers_byteorder.py +++ b/tests/test_2067_to_buffers_byteorder.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2070_to_layout_string.py b/tests/test_2070_to_layout_string.py index e0900f073e..a79ca1a5cd 100644 --- a/tests/test_2070_to_layout_string.py +++ b/tests/test_2070_to_layout_string.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2071_unflatten_non_packed_counts.py b/tests/test_2071_unflatten_non_packed_counts.py index 470e164530..42d211ed42 100644 --- a/tests/test_2071_unflatten_non_packed_counts.py +++ b/tests/test_2071_unflatten_non_packed_counts.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2076_ak_unzip_record.py b/tests/test_2076_ak_unzip_record.py index c50788e8a2..0430fac658 100644 --- a/tests/test_2076_ak_unzip_record.py +++ b/tests/test_2076_ak_unzip_record.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2078_array_function_wrap.py b/tests/test_2078_array_function_wrap.py index c43f86cab2..85d91923ef 100644 --- a/tests/test_2078_array_function_wrap.py +++ b/tests/test_2078_array_function_wrap.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2082_broadcast_zero_size.py b/tests/test_2082_broadcast_zero_size.py index 9add5d26a0..e9fdf16796 100644 --- a/tests/test_2082_broadcast_zero_size.py +++ b/tests/test_2082_broadcast_zero_size.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2085_empty_if_typetracer.py b/tests/test_2085_empty_if_typetracer.py index a17d205eb2..27a957952c 100644 --- a/tests/test_2085_empty_if_typetracer.py +++ b/tests/test_2085_empty_if_typetracer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2096_ak_scalar_type.py b/tests/test_2096_ak_scalar_type.py index 7eecd6116f..6559b02987 100644 --- a/tests/test_2096_ak_scalar_type.py +++ b/tests/test_2096_ak_scalar_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2101_pickle_behavior_class.py b/tests/test_2101_pickle_behavior_class.py index 5ee93a821e..502fb26625 100644 --- a/tests/test_2101_pickle_behavior_class.py +++ b/tests/test_2101_pickle_behavior_class.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pickle diff --git a/tests/test_2104_numpy_merge_option.py b/tests/test_2104_numpy_merge_option.py index d84b00f6cd..e5837d8225 100644 --- a/tests/test_2104_numpy_merge_option.py +++ b/tests/test_2104_numpy_merge_option.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2106_pickle_class.py b/tests/test_2106_pickle_class.py index 2450ebbc77..66a0085638 100644 --- a/tests/test_2106_pickle_class.py +++ b/tests/test_2106_pickle_class.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import contextlib import pickle import sys diff --git a/tests/test_2108_fill_none_indexed.py b/tests/test_2108_fill_none_indexed.py index 3d9c65b045..bf8f440178 100644 --- a/tests/test_2108_fill_none_indexed.py +++ b/tests/test_2108_fill_none_indexed.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2115_fix_up_typetracers.py b/tests/test_2115_fix_up_typetracers.py index 138967f042..bf32973cc1 100644 --- a/tests/test_2115_fix_up_typetracers.py +++ b/tests/test_2115_fix_up_typetracers.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np diff --git a/tests/test_2120_missing_field_error.py b/tests/test_2120_missing_field_error.py index e82bd4d4ae..cba2b60504 100644 --- a/tests/test_2120_missing_field_error.py +++ b/tests/test_2120_missing_field_error.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2125_type_of_scalar.py b/tests/test_2125_type_of_scalar.py index 07231b35db..6cdfb11ef9 100644 --- a/tests/test_2125_type_of_scalar.py +++ b/tests/test_2125_type_of_scalar.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2150_typetracer_high_level_ufunc.py b/tests/test_2150_typetracer_high_level_ufunc.py index e31b9a6b4a..77a2b28c50 100644 --- a/tests/test_2150_typetracer_high_level_ufunc.py +++ b/tests/test_2150_typetracer_high_level_ufunc.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2179_parameter_merging_rules.py b/tests/test_2179_parameter_merging_rules.py index 2f7668de80..2514c41f97 100644 --- a/tests/test_2179_parameter_merging_rules.py +++ b/tests/test_2179_parameter_merging_rules.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations from itertools import permutations diff --git a/tests/test_2181_with_name_len.py b/tests/test_2181_with_name_len.py index b3e75e1b6a..f0c44a0b1d 100644 --- a/tests/test_2181_with_name_len.py +++ b/tests/test_2181_with_name_len.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak diff --git a/tests/test_2185_merge_union_of_records.py b/tests/test_2185_merge_union_of_records.py index 6c7d862616..6d926cc422 100644 --- a/tests/test_2185_merge_union_of_records.py +++ b/tests/test_2185_merge_union_of_records.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 diff --git a/tests/test_2188_values_astype_turns_EmptyArray_into_NumpyArray.py b/tests/test_2188_values_astype_turns_EmptyArray_into_NumpyArray.py index ea352bfab6..a1bb447400 100644 --- a/tests/test_2188_values_astype_turns_EmptyArray_into_NumpyArray.py +++ b/tests/test_2188_values_astype_turns_EmptyArray_into_NumpyArray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2192_union_absorb_indexed.py b/tests/test_2192_union_absorb_indexed.py index c07ef36503..51914f3162 100644 --- a/tests/test_2192_union_absorb_indexed.py +++ b/tests/test_2192_union_absorb_indexed.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2198_almost_equal.py b/tests/test_2198_almost_equal.py index 27552d42e0..669d6c5474 100644 --- a/tests/test_2198_almost_equal.py +++ b/tests/test_2198_almost_equal.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2202_filter_multiple_columns_from_rdataframe.py b/tests/test_2202_filter_multiple_columns_from_rdataframe.py index c6da2a82ea..53baee62e8 100644 --- a/tests/test_2202_filter_multiple_columns_from_rdataframe.py +++ b/tests/test_2202_filter_multiple_columns_from_rdataframe.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_2214_offset_bool_index.py b/tests/test_2214_offset_bool_index.py index 5b975e092f..355fa99b31 100644 --- a/tests/test_2214_offset_bool_index.py +++ b/tests/test_2214_offset_bool_index.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2219_flatten_empty.py b/tests/test_2219_flatten_empty.py index b60bcd99a6..e9fdf48a0b 100644 --- a/tests/test_2219_flatten_empty.py +++ b/tests/test_2219_flatten_empty.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2226_slice_regulararray_typetracer.py b/tests/test_2226_slice_regulararray_typetracer.py index 27e5a220b7..5788556977 100644 --- a/tests/test_2226_slice_regulararray_typetracer.py +++ b/tests/test_2226_slice_regulararray_typetracer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2229_getitem_range_slice.py b/tests/test_2229_getitem_range_slice.py index 239c1b47c6..abc97eaade 100644 --- a/tests/test_2229_getitem_range_slice.py +++ b/tests/test_2229_getitem_range_slice.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2234_from_rdataframe_keep_order.py b/tests/test_2234_from_rdataframe_keep_order.py index eed7ebf37b..38591137c8 100644 --- a/tests/test_2234_from_rdataframe_keep_order.py +++ b/tests/test_2234_from_rdataframe_keep_order.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2236_merge_union_of_records_option.py b/tests/test_2236_merge_union_of_records_option.py index a3e5b17bfb..ef24194562 100644 --- a/tests/test_2236_merge_union_of_records_option.py +++ b/tests/test_2236_merge_union_of_records_option.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 diff --git a/tests/test_2240_merge_union_parameters.py b/tests/test_2240_merge_union_parameters.py index ebd33acf59..33d66b3133 100644 --- a/tests/test_2240_merge_union_parameters.py +++ b/tests/test_2240_merge_union_parameters.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 diff --git a/tests/test_2240_simplify_merge_as_union.py b/tests/test_2240_simplify_merge_as_union.py index 40a8c410a6..dce305b45f 100644 --- a/tests/test_2240_simplify_merge_as_union.py +++ b/tests/test_2240_simplify_merge_as_union.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import numpy as np diff --git a/tests/test_2246_slice_not_packed.py b/tests/test_2246_slice_not_packed.py index 98ace4c352..9fefb2d5f8 100644 --- a/tests/test_2246_slice_not_packed.py +++ b/tests/test_2246_slice_not_packed.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np diff --git a/tests/test_2250_full_like_bool.py b/tests/test_2250_full_like_bool.py index b0d6add07f..edcd15a285 100644 --- a/tests/test_2250_full_like_bool.py +++ b/tests/test_2250_full_like_bool.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2258_from_rdataframe_with_arguments.py b/tests/test_2258_from_rdataframe_with_arguments.py index 3803e523ed..8c598cc050 100644 --- a/tests/test_2258_from_rdataframe_with_arguments.py +++ b/tests/test_2258_from_rdataframe_with_arguments.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2259_run_lengths_typetracer.py b/tests/test_2259_run_lengths_typetracer.py index add0708b87..6de883de5c 100644 --- a/tests/test_2259_run_lengths_typetracer.py +++ b/tests/test_2259_run_lengths_typetracer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2263_to_packed_list.py b/tests/test_2263_to_packed_list.py index bdb0fb8392..17d37bf639 100644 --- a/tests/test_2263_to_packed_list.py +++ b/tests/test_2263_to_packed_list.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2266_fix_nan_to_num.py b/tests/test_2266_fix_nan_to_num.py index cfc6bfdb1f..dbf8653481 100644 --- a/tests/test_2266_fix_nan_to_num.py +++ b/tests/test_2266_fix_nan_to_num.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np diff --git a/tests/test_2267_broadcast_fields.py b/tests/test_2267_broadcast_fields.py index d9f0803f5d..8f594900b0 100644 --- a/tests/test_2267_broadcast_fields.py +++ b/tests/test_2267_broadcast_fields.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2293_unflatten_typetracer.py b/tests/test_2293_unflatten_typetracer.py index 9b88c5645f..3828ce766b 100644 --- a/tests/test_2293_unflatten_typetracer.py +++ b/tests/test_2293_unflatten_typetracer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2294_view_unknown_scalar.py b/tests/test_2294_view_unknown_scalar.py index e1d16d86e4..629e56c955 100644 --- a/tests/test_2294_view_unknown_scalar.py +++ b/tests/test_2294_view_unknown_scalar.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2296_duplicate_field.py b/tests/test_2296_duplicate_field.py index 4c8bdc0cb4..743af3d0cc 100644 --- a/tests/test_2296_duplicate_field.py +++ b/tests/test_2296_duplicate_field.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import re diff --git a/tests/test_2297_common_backend.py b/tests/test_2297_common_backend.py index ee5a304474..31b9778934 100644 --- a/tests/test_2297_common_backend.py +++ b/tests/test_2297_common_backend.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2304_index_typetracer.py b/tests/test_2304_index_typetracer.py index 2d0f28d612..8c7977c1dd 100644 --- a/tests/test_2304_index_typetracer.py +++ b/tests/test_2304_index_typetracer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2305_nep_18_lazy_conversion.py b/tests/test_2305_nep_18_lazy_conversion.py index ffbb6f04b9..8ce4c88763 100644 --- a/tests/test_2305_nep_18_lazy_conversion.py +++ b/tests/test_2305_nep_18_lazy_conversion.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2306_cppyy_jit.py b/tests/test_2306_cppyy_jit.py index 2cbc1f45f4..5980267e68 100644 --- a/tests/test_2306_cppyy_jit.py +++ b/tests/test_2306_cppyy_jit.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import packaging.version import pytest diff --git a/tests/test_2319_from_buffers_array.py b/tests/test_2319_from_buffers_array.py index 3cee62095a..a1b87c0536 100644 --- a/tests/test_2319_from_buffers_array.py +++ b/tests/test_2319_from_buffers_array.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2327_array_interface.py b/tests/test_2327_array_interface.py index e272ebbc47..acdbecb0b9 100644 --- a/tests/test_2327_array_interface.py +++ b/tests/test_2327_array_interface.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2329_cartesian_broadcasting_fixes.py b/tests/test_2329_cartesian_broadcasting_fixes.py index 6b6a228779..1f6379ba63 100644 --- a/tests/test_2329_cartesian_broadcasting_fixes.py +++ b/tests/test_2329_cartesian_broadcasting_fixes.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2346_broadcast_depth_limit.py b/tests/test_2346_broadcast_depth_limit.py index 50fafc33f2..fbfcbfb59b 100644 --- a/tests/test_2346_broadcast_depth_limit.py +++ b/tests/test_2346_broadcast_depth_limit.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2349_growablebuffer_in_numba.py b/tests/test_2349_growablebuffer_in_numba.py index 29c59f6c00..982a376e24 100644 --- a/tests/test_2349_growablebuffer_in_numba.py +++ b/tests/test_2349_growablebuffer_in_numba.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2354_ufunc_same_backend.py b/tests/test_2354_ufunc_same_backend.py index 2b52fc79f6..6517765bad 100644 --- a/tests/test_2354_ufunc_same_backend.py +++ b/tests/test_2354_ufunc_same_backend.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_2355_to_backend_record.py b/tests/test_2355_to_backend_record.py index f671bb7b01..3afffb87f3 100644 --- a/tests/test_2355_to_backend_record.py +++ b/tests/test_2355_to_backend_record.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_2361_typetracer_asarray_nd.py b/tests/test_2361_typetracer_asarray_nd.py index 36fef13e30..bc282c41ec 100644 --- a/tests/test_2361_typetracer_asarray_nd.py +++ b/tests/test_2361_typetracer_asarray_nd.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2364_empty_list_of_string.py b/tests/test_2364_empty_list_of_string.py index c72c8b118b..4ce8c1cdb2 100644 --- a/tests/test_2364_empty_list_of_string.py +++ b/tests/test_2364_empty_list_of_string.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np diff --git a/tests/test_2365_enforce_type.py b/tests/test_2365_enforce_type.py index 7493606f9d..4512ab9d25 100644 --- a/tests/test_2365_enforce_type.py +++ b/tests/test_2365_enforce_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy import pytest diff --git a/tests/test_2368_type_is_equal.py b/tests/test_2368_type_is_equal.py index 4ac7fb5efe..4ff3ed8ffe 100644 --- a/tests/test_2368_type_is_equal.py +++ b/tests/test_2368_type_is_equal.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2373_unzip_touching.py b/tests/test_2373_unzip_touching.py index f6eeefc565..9c931e316b 100644 --- a/tests/test_2373_unzip_touching.py +++ b/tests/test_2373_unzip_touching.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak diff --git a/tests/test_2374_cartesian_touching.py b/tests/test_2374_cartesian_touching.py index be7fbeaa08..7f02216716 100644 --- a/tests/test_2374_cartesian_touching.py +++ b/tests/test_2374_cartesian_touching.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak diff --git a/tests/test_2385_with_field_empty_record.py b/tests/test_2385_with_field_empty_record.py index 4ffc1ea05d..c6e24b6781 100644 --- a/tests/test_2385_with_field_empty_record.py +++ b/tests/test_2385_with_field_empty_record.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2395_copy_asarray_touch.py b/tests/test_2395_copy_asarray_touch.py index e06b5d06d3..98c903f1c5 100644 --- a/tests/test_2395_copy_asarray_touch.py +++ b/tests/test_2395_copy_asarray_touch.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2407_broadcast_no_arrays.py b/tests/test_2407_broadcast_no_arrays.py index 94540fc64f..4fbbbbb2c1 100644 --- a/tests/test_2407_broadcast_no_arrays.py +++ b/tests/test_2407_broadcast_no_arrays.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2408_layoutbuilder_in_numba.py b/tests/test_2408_layoutbuilder_in_numba.py index f412e7408b..8277f79a7b 100644 --- a/tests/test_2408_layoutbuilder_in_numba.py +++ b/tests/test_2408_layoutbuilder_in_numba.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2410_string_broadcast.py b/tests/test_2410_string_broadcast.py index 05b31618b2..bc70f9fbe4 100644 --- a/tests/test_2410_string_broadcast.py +++ b/tests/test_2410_string_broadcast.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak diff --git a/tests/test_2411_cartesian_axis_validation.py b/tests/test_2411_cartesian_axis_validation.py index 8e193d997e..8630ec8e2e 100644 --- a/tests/test_2411_cartesian_axis_validation.py +++ b/tests/test_2411_cartesian_axis_validation.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2417_bytemasked_singletons.py b/tests/test_2417_bytemasked_singletons.py index 82ce8d494b..6685484bf2 100644 --- a/tests/test_2417_bytemasked_singletons.py +++ b/tests/test_2417_bytemasked_singletons.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2418_union_broadcast_unknown.py b/tests/test_2418_union_broadcast_unknown.py index 365d0f023e..a9258b5e9b 100644 --- a/tests/test_2418_union_broadcast_unknown.py +++ b/tests/test_2418_union_broadcast_unknown.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak diff --git a/tests/test_2424_almost_equal_union_record.py b/tests/test_2424_almost_equal_union_record.py index c6d5ed10b1..772917c209 100644 --- a/tests/test_2424_almost_equal_union_record.py +++ b/tests/test_2424_almost_equal_union_record.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2425_forms_from_type.py b/tests/test_2425_forms_from_type.py index 77a0d5f167..d622b0daf8 100644 --- a/tests/test_2425_forms_from_type.py +++ b/tests/test_2425_forms_from_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2426_is_equal_to.py b/tests/test_2426_is_equal_to.py index 06b77a7f52..a3b63bc837 100644 --- a/tests/test_2426_is_equal_to.py +++ b/tests/test_2426_is_equal_to.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2444_minimal_listarray.py b/tests/test_2444_minimal_listarray.py index 98d72119b8..254ff1e121 100644 --- a/tests/test_2444_minimal_listarray.py +++ b/tests/test_2444_minimal_listarray.py @@ -1,3 +1,7 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import awkward as ak diff --git a/tests/test_2471_flatten_string.py b/tests/test_2471_flatten_string.py index f5a8ca5d1d..6c4dc1243f 100644 --- a/tests/test_2471_flatten_string.py +++ b/tests/test_2471_flatten_string.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2484_reduce_starts_empty.py b/tests/test_2484_reduce_starts_empty.py index 6c78ea5a21..a9a27a14fb 100644 --- a/tests/test_2484_reduce_starts_empty.py +++ b/tests/test_2484_reduce_starts_empty.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import numpy as np diff --git a/tests/test_2487_broadcast_list_offsets.py b/tests/test_2487_broadcast_list_offsets.py index 332d55b96e..e19faf0c1d 100644 --- a/tests/test_2487_broadcast_list_offsets.py +++ b/tests/test_2487_broadcast_list_offsets.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2490_reduce_regulararray_positional.py b/tests/test_2490_reduce_regulararray_positional.py index 423368465c..a72b88711b 100644 --- a/tests/test_2490_reduce_regulararray_positional.py +++ b/tests/test_2490_reduce_regulararray_positional.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2495_concatenate_typetracer.py b/tests/test_2495_concatenate_typetracer.py index 679cbc5aca..98837c6a1e 100644 --- a/tests/test_2495_concatenate_typetracer.py +++ b/tests/test_2495_concatenate_typetracer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2501_positional_record_reducer.py b/tests/test_2501_positional_record_reducer.py index 33e87c8cb4..0d1081bd51 100644 --- a/tests/test_2501_positional_record_reducer.py +++ b/tests/test_2501_positional_record_reducer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2503_deprecate_to_numpyform.py b/tests/test_2503_deprecate_to_numpyform.py index 72a5f39ef3..7c03ff6542 100644 --- a/tests/test_2503_deprecate_to_numpyform.py +++ b/tests/test_2503_deprecate_to_numpyform.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2512_record_array_carry.py b/tests/test_2512_record_array_carry.py index 7612e591b5..46dec04b1b 100644 --- a/tests/test_2512_record_array_carry.py +++ b/tests/test_2512_record_array_carry.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np diff --git a/tests/test_2518_datetime_units_as_parameter.py b/tests/test_2518_datetime_units_as_parameter.py index 404cbc90bc..351b80bc02 100644 --- a/tests/test_2518_datetime_units_as_parameter.py +++ b/tests/test_2518_datetime_units_as_parameter.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2536_select_columns.py b/tests/test_2536_select_columns.py index bb5f83adbd..13177f878c 100644 --- a/tests/test_2536_select_columns.py +++ b/tests/test_2536_select_columns.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2548_record_form_fields.py b/tests/test_2548_record_form_fields.py index 1d4781a501..be53b5eb66 100644 --- a/tests/test_2548_record_form_fields.py +++ b/tests/test_2548_record_form_fields.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2549_list_nominal_type.py b/tests/test_2549_list_nominal_type.py index 190a7bad59..4f99dd32d3 100644 --- a/tests/test_2549_list_nominal_type.py +++ b/tests/test_2549_list_nominal_type.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2550_validity_error_recursive.py b/tests/test_2550_validity_error_recursive.py index 28c5826e3a..2d576aff59 100644 --- a/tests/test_2550_validity_error_recursive.py +++ b/tests/test_2550_validity_error_recursive.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2560_minimal_listarray.py b/tests/test_2560_minimal_listarray.py index 2cf4822dc7..39d481b45c 100644 --- a/tests/test_2560_minimal_listarray.py +++ b/tests/test_2560_minimal_listarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2564_string_broadcast_regular.py b/tests/test_2564_string_broadcast_regular.py index 97618397a5..6945c4191d 100644 --- a/tests/test_2564_string_broadcast_regular.py +++ b/tests/test_2564_string_broadcast_regular.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2571_awkward_ListOffsetArray_reduce_local_nextparents_64.py b/tests/test_2571_awkward_ListOffsetArray_reduce_local_nextparents_64.py index 86bd284ec4..5726206dc1 100644 --- a/tests/test_2571_awkward_ListOffsetArray_reduce_local_nextparents_64.py +++ b/tests/test_2571_awkward_ListOffsetArray_reduce_local_nextparents_64.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2591_nan_to_num.py b/tests/test_2591_nan_to_num.py index 4e4c9b3949..cc5fe96aab 100644 --- a/tests/test_2591_nan_to_num.py +++ b/tests/test_2591_nan_to_num.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2595_transform_termination.py b/tests/test_2595_transform_termination.py index 5e2b7e9dc4..3a5f1c58d0 100644 --- a/tests/test_2595_transform_termination.py +++ b/tests/test_2595_transform_termination.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2604_read_awkward1_pickles.py b/tests/test_2604_read_awkward1_pickles.py index 68aa181549..7a6c7aef04 100644 --- a/tests/test_2604_read_awkward1_pickles.py +++ b/tests/test_2604_read_awkward1_pickles.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pathlib import pickle diff --git a/tests/test_2616_use_pyarrow_for_strings.py b/tests/test_2616_use_pyarrow_for_strings.py index 1e2386285c..2e58f73f78 100644 --- a/tests/test_2616_use_pyarrow_for_strings.py +++ b/tests/test_2616_use_pyarrow_for_strings.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2623_optiontype_outside_record_strings.py b/tests/test_2623_optiontype_outside_record_strings.py index 15fba96ed7..b05ed76b6b 100644 --- a/tests/test_2623_optiontype_outside_record_strings.py +++ b/tests/test_2623_optiontype_outside_record_strings.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import awkward as ak diff --git a/tests/test_2630_akstr_to_categorical.py b/tests/test_2630_akstr_to_categorical.py index 0cea79447d..77f0d47f04 100644 --- a/tests/test_2630_akstr_to_categorical.py +++ b/tests/test_2630_akstr_to_categorical.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2631_vectorised_to_numpy_strings.py b/tests/test_2631_vectorised_to_numpy_strings.py index 196995fd93..1415d9291c 100644 --- a/tests/test_2631_vectorised_to_numpy_strings.py +++ b/tests/test_2631_vectorised_to_numpy_strings.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np diff --git a/tests/test_2632_unflatten_length.py b/tests/test_2632_unflatten_length.py index ce6a0e8b34..27c89eba2a 100644 --- a/tests/test_2632_unflatten_length.py +++ b/tests/test_2632_unflatten_length.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2634_listarray_pad_none.py b/tests/test_2634_listarray_pad_none.py index e147fd6864..20453852ef 100644 --- a/tests/test_2634_listarray_pad_none.py +++ b/tests/test_2634_listarray_pad_none.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2646_from_parquet_highlevel.py b/tests/test_2646_from_parquet_highlevel.py index da25e9ea03..cbf377082a 100644 --- a/tests/test_2646_from_parquet_highlevel.py +++ b/tests/test_2646_from_parquet_highlevel.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2649_dlpack_support.py b/tests/test_2649_dlpack_support.py index 67bc3eee1a..3a475700ad 100644 --- a/tests/test_2649_dlpack_support.py +++ b/tests/test_2649_dlpack_support.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2650_arrow_array_highlevel.py b/tests/test_2650_arrow_array_highlevel.py index 0001eb80cf..d34fdb534d 100644 --- a/tests/test_2650_arrow_array_highlevel.py +++ b/tests/test_2650_arrow_array_highlevel.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2651_parameter_union.py b/tests/test_2651_parameter_union.py index cd27680637..7a2cba58c2 100644 --- a/tests/test_2651_parameter_union.py +++ b/tests/test_2651_parameter_union.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2653_slice_listoffsetarray.py b/tests/test_2653_slice_listoffsetarray.py index f2fa8bd236..7921be9901 100644 --- a/tests/test_2653_slice_listoffsetarray.py +++ b/tests/test_2653_slice_listoffsetarray.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2654_divmod.py b/tests/test_2654_divmod.py index 9f3a960070..450513fbfa 100644 --- a/tests/test_2654_divmod.py +++ b/tests/test_2654_divmod.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2656_unflatten_axis_typetracer.py b/tests/test_2656_unflatten_axis_typetracer.py index fea578d80b..a7c4047e6d 100644 --- a/tests/test_2656_unflatten_axis_typetracer.py +++ b/tests/test_2656_unflatten_axis_typetracer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2660_expected_container_keys_from_form.py b/tests/test_2660_expected_container_keys_from_form.py index 789576e651..1b508ca9f4 100644 --- a/tests/test_2660_expected_container_keys_from_form.py +++ b/tests/test_2660_expected_container_keys_from_form.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np diff --git a/tests/test_2663_broadcast_tuples.py b/tests/test_2663_broadcast_tuples.py index dd32cafc66..1268885f53 100644 --- a/tests/test_2663_broadcast_tuples.py +++ b/tests/test_2663_broadcast_tuples.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest diff --git a/tests/test_2665_out_of_band_pickle.py b/tests/test_2665_out_of_band_pickle.py index cd7519f3f8..bcf9872daf 100644 --- a/tests/test_2665_out_of_band_pickle.py +++ b/tests/test_2665_out_of_band_pickle.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import pickle diff --git a/tests/test_2671_typetracer_with_report_deprecated_length.py b/tests/test_2671_typetracer_with_report_deprecated_length.py index 88b787f5bf..79854f3619 100644 --- a/tests/test_2671_typetracer_with_report_deprecated_length.py +++ b/tests/test_2671_typetracer_with_report_deprecated_length.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import json diff --git a/tests/test_2672_touch_data.py b/tests/test_2672_touch_data.py index bdfe5cf622..545d20565b 100644 --- a/tests/test_2672_touch_data.py +++ b/tests/test_2672_touch_data.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_2678_same_backend.py b/tests/test_2678_same_backend.py index a63ef62be4..3935ce2a25 100644 --- a/tests/test_2678_same_backend.py +++ b/tests/test_2678_same_backend.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np # noqa: F401 import pytest # noqa: F401 diff --git a/tests/test_2682_custom_pickler.py b/tests/test_2682_custom_pickler.py index 9e83e9e6ed..688ff9d986 100644 --- a/tests/test_2682_custom_pickler.py +++ b/tests/test_2682_custom_pickler.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import multiprocessing import os diff --git a/tests/test_2683_to_and_from_feather.py b/tests/test_2683_to_and_from_feather.py index 14aaa34dcd..18ae5aafaa 100644 --- a/tests/test_2683_to_and_from_feather.py +++ b/tests/test_2683_to_and_from_feather.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import os diff --git a/tests/test_2693_to_buffers_placeholders.py b/tests/test_2693_to_buffers_placeholders.py index 67dc52c514..fd448c279c 100644 --- a/tests/test_2693_to_buffers_placeholders.py +++ b/tests/test_2693_to_buffers_placeholders.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import pickle import numpy as np diff --git a/tests/test_2710_pickle_unknown_length.py b/tests/test_2710_pickle_unknown_length.py index 528051afc6..2f28f61ed4 100644 --- a/tests/test_2710_pickle_unknown_length.py +++ b/tests/test_2710_pickle_unknown_length.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pickle diff --git a/tests/test_2713_from_buffers_allow_noncanonical.py b/tests/test_2713_from_buffers_allow_noncanonical.py index 6d7c44f820..21de9bb510 100644 --- a/tests/test_2713_from_buffers_allow_noncanonical.py +++ b/tests/test_2713_from_buffers_allow_noncanonical.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2714_from_buffers_placeholders.py b/tests/test_2714_from_buffers_placeholders.py index c975fe2dfb..2010d3a566 100644 --- a/tests/test_2714_from_buffers_placeholders.py +++ b/tests/test_2714_from_buffers_placeholders.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2718_frombuffer_typetracer.py b/tests/test_2718_frombuffer_typetracer.py index e0541f6d9b..952f651f75 100644 --- a/tests/test_2718_frombuffer_typetracer.py +++ b/tests/test_2718_frombuffer_typetracer.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2719_typetracer_buffer_key.py b/tests/test_2719_typetracer_buffer_key.py index 5932a08af5..03c013da73 100644 --- a/tests/test_2719_typetracer_buffer_key.py +++ b/tests/test_2719_typetracer_buffer_key.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2724_expected_from_buffers_recursive.py b/tests/test_2724_expected_from_buffers_recursive.py index 328d78931a..7c7c04e654 100644 --- a/tests/test_2724_expected_from_buffers_recursive.py +++ b/tests/test_2724_expected_from_buffers_recursive.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest # noqa: F401 diff --git a/tests/test_2727_remove_structure_regular.py b/tests/test_2727_remove_structure_regular.py index 08ed28d499..abbb054785 100644 --- a/tests/test_2727_remove_structure_regular.py +++ b/tests/test_2727_remove_structure_regular.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2754_highlevel_behavior_missing.py b/tests/test_2754_highlevel_behavior_missing.py index f9b349c0f8..85c9c29b76 100644 --- a/tests/test_2754_highlevel_behavior_missing.py +++ b/tests/test_2754_highlevel_behavior_missing.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest diff --git a/tests/test_2759_update_class_consistently.py b/tests/test_2759_update_class_consistently.py index 8e273b4776..2a6b6338dc 100644 --- a/tests/test_2759_update_class_consistently.py +++ b/tests/test_2759_update_class_consistently.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak diff --git a/tests/test_2763_to_layout_granularity.py b/tests/test_2763_to_layout_granularity.py index 81750ad780..744201da8e 100644 --- a/tests/test_2763_to_layout_granularity.py +++ b/tests/test_2763_to_layout_granularity.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + from datetime import datetime import numpy as np diff --git a/tests/test_2765_slice_from_typetracer.py b/tests/test_2765_slice_from_typetracer.py index b144e7f9be..5355cba92f 100644 --- a/tests/test_2765_slice_from_typetracer.py +++ b/tests/test_2765_slice_from_typetracer.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import awkward as ak diff --git a/tests/test_2769_argsort_all_none.py b/tests/test_2769_argsort_all_none.py index 6e0a4acf2d..084763fa69 100644 --- a/tests/test_2769_argsort_all_none.py +++ b/tests/test_2769_argsort_all_none.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import pytest # noqa: F401 diff --git a/tests/test_2770_serialize_and_deserialize_behaviour_for_numba.py b/tests/test_2770_serialize_and_deserialize_behaviour_for_numba.py index 42e27e691f..f44c513cc2 100644 --- a/tests/test_2770_serialize_and_deserialize_behaviour_for_numba.py +++ b/tests/test_2770_serialize_and_deserialize_behaviour_for_numba.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import pytest diff --git a/tests/test_2785_ak_num_typetracer_axis_0.py b/tests/test_2785_ak_num_typetracer_axis_0.py index bbccb2df8e..fb10230276 100644 --- a/tests/test_2785_ak_num_typetracer_axis_0.py +++ b/tests/test_2785_ak_num_typetracer_axis_0.py @@ -1,5 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE +from __future__ import annotations import awkward as ak from awkward._nplikes.typetracer import TypeTracerArray diff --git a/tests/test_2793_nep_50_gradual_support.py b/tests/test_2793_nep_50_gradual_support.py index 9747d0a093..6763ccfdef 100644 --- a/tests/test_2793_nep_50_gradual_support.py +++ b/tests/test_2793_nep_50_gradual_support.py @@ -1,4 +1,7 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations + import contextlib import numpy as np diff --git a/tests/test_2799_numba_ufunc_resolution.py b/tests/test_2799_numba_ufunc_resolution.py index 63bc586c73..3806710627 100644 --- a/tests/test_2799_numba_ufunc_resolution.py +++ b/tests/test_2799_numba_ufunc_resolution.py @@ -1,4 +1,6 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE + +from __future__ import annotations import numpy as np import packaging.version