Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove unnecessary line blank from the tops of almost all files . #1299

Merged
merged 1 commit into from
Feb 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/awkward/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: keep this file, but modify it to only get objects that exist!


# NumPy-like alternatives
import awkward.nplike

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_autograd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: drop, since this is replaced by JAX. (Implement it only if somebody complains.)


import types

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_jax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: replace with deeply rewritten src/awkward/_v2/_connect/jax.


import types

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_jax/jax_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: replace with deeply rewritten src/awkward/_v2/_connect/jax.


import awkward as ak
import numbers
import json
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_numba/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: replace with src/awkward/_v2/_connect/numba/__init__.py.


import types

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_numba/arrayview.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: replace with src/awkward/_v2/_connect/numba/arrayview.py


import operator

import numba
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_numba/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: replace with src/awkward/_v2/_connect/numba/builder.py


import numba
import numba.core.typing
import numba.core.typing.ctypes_utils
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_numba/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: replace with src/awkward/_v2/_connect/_numba/layout.py


import json
import ctypes

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_numexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: replace with src/awkward/_v2/_connect/numexpr.py


import warnings
import sys
import types
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: replace with src/awkward/_v2/_connect/numpy.py


from collections.abc import Iterable

import numpy
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_connect/_uproot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: drop, since this functionality will be replaced by AwkwardForth.


import json

# don't import awkward._connect._uproot in awkward/__init__.py!
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_cpu_kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: no change; keep this file.


import ctypes
import platform
import pkg_resources
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_cuda_kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: no change; keep this file.


import ctypes
import platform

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# v2: drop this file, but the from_json functionality must be available somehow.
# (uproot_issue_90 will not be ported; it will be replaced by AwkwardForth.)


from awkward._ext import fromjson
from awkward._ext import uproot_issue_90

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_libawkward.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: no change; keep this file.


import ctypes
import platform
import pkg_resources
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_typeparser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: keep this file, but change the Type-generation to generate v2 Types.


import awkward as ak

from awkward._typeparser.generated_parser import Lark_StandAlone, Transformer
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# v2: replace with src/awkward/_v2/_util.py


import re
import sys
import os
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/_broadcasting.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import copy
import itertools

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/_connect/numpy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import numpy

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/_prettyprint.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import math
import re
import numbers
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/_reducers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak

np = ak.nplike.NumpyMetadata.instance()
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/_slicing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


from collections.abc import Iterable

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/_typetracer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import numbers

import numpy
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# First, transition all the _v2 code to start using implementations in this file.
# Then build up the high-level replacements.


# import re
# import os.path
# import warnings
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/behaviors/string.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.highlevel import Array

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward._v2.index # noqa: F401
import awkward._v2.record # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/bitmaskedarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import json
import copy
import math
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/bytemaskedarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import json
import copy

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/emptyarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2._slicing import NestedIndexError
from awkward._v2.contents.content import Content
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/indexedarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import copy

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/indexedoptionarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import copy

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/listarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import copy

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/listoffsetarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import copy

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/recordarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import json
import copy

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/regulararray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import copy

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/contents/unmaskedarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import copy

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


from awkward._v2.forms.form import Form, from_iter, from_json # noqa: F401
from awkward._v2.forms.emptyform import EmptyForm # noqa: F401
from awkward._v2.forms.numpyform import NumpyForm, from_dtype # noqa: F401
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/bitmaskedform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.forms.form import Form, _parameters_equal
from awkward._v2.forms.bytemaskedform import ByteMaskedForm
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/bytemaskedform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.forms.form import Form, _parameters_equal

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/emptyform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.contents.content import NestedIndexError
from awkward._v2.forms.form import Form, _parameters_equal
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/form.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import json

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/indexedform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.forms.form import Form, _parameters_equal, _parameters_update

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/indexedoptionform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.forms.form import Form, _parameters_equal

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/listform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.forms.form import Form, _parameters_equal

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/listoffsetform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.forms.form import Form, _parameters_equal
from awkward._v2.forms.listform import ListForm
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/numpyform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


from collections.abc import Iterable

from awkward._v2.contents.content import NestedIndexError
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/recordform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


from collections.abc import Iterable

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/regularform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.forms.form import Form, _parameters_equal

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/unionform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


from collections.abc import Iterable

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/forms/unmaskedform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak
from awkward._v2.forms.form import Form, _parameters_equal

Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/identifier.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak

np = ak.nplike.NumpyMetadata.instance()
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/index.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak

np = ak.nplike.NumpyMetadata.instance()
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/operations/convert/ak_from_buffers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import math

import awkward as ak
Expand Down
1 change: 0 additions & 1 deletion src/awkward/_v2/operations/convert/ak_from_cupy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import awkward as ak

np = ak.nplike.NumpyMetadata.instance()
Expand Down
Loading