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

Apply fixes for linting issues #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.5.0
6.5.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
bazel-*
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,3 @@ s2t.expression_impl.apply_schema
[`size`](./expression_impl/size.md) module: Functions for creating new size or has expression.

[`slice_expression`](./expression_impl/slice_expression.md) module: Implementation of slice.

2 changes: 1 addition & 1 deletion g3doc/api_docs/python/expression_impl/all_symbols.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@
* <a href="../expression_impl/size/size_anonymous.md"><code>expression_impl.size.size_anonymous</code></a>
* <a href="../expression_impl/slice_expression.md"><code>expression_impl.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/IndexValue.md"><code>expression_impl.slice_expression.IndexValue</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/apply_schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ my_new_schema has semantically identical information on the fields as my_schema.
## Functions

[`apply_schema(...)`](../expression_impl/apply_schema/apply_schema.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/broadcast.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ session: {
[`broadcast(...)`](../expression_impl/broadcast/broadcast.md)

[`broadcast_anonymous(...)`](../expression_impl/broadcast/broadcast_anonymous.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/depth_limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ You get:
## Functions

[`limit_depth(...)`](../expression_impl/depth_limit/limit_depth.md): Limit the depth to nodes k steps from expr.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/filter_expression.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,3 @@ root_2 = filter_expression.filter_by_child(
[`filter_by_child(...)`](../expression_impl/filter_expression/filter_by_child.md): Filter an expression by an optional boolean child field.

[`filter_by_sibling(...)`](../expression_impl/filter_expression/filter_by_sibling.md): Filter an expression by its sibling.

Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,3 @@ The new root expression.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,3 @@ a new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,3 @@ take little memory or CPU.
[`get_index_from_end(...)`](../expression_impl/index/get_index_from_end.md): Gets the number of steps from the end of the array.

[`get_positional_index(...)`](../expression_impl/index/get_positional_index.md): Gets the positional index.

Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_prensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,3 @@ session: {
[`map_ragged_tensor(...)`](../expression_impl/map_prensor/map_ragged_tensor.md): Map a ragged tensor.

[`map_sparse_tensor(...)`](../expression_impl/map_prensor/map_sparse_tensor.md): Maps a sparse tensor.

Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,3 @@ foo bar foo2 bar2
[`create_schema(...)`](../expression_impl/map_prensor_to_prensor/create_schema.md): Create a schema recursively.

[`map_prensor_to_prensor(...)`](../expression_impl/map_prensor_to_prensor/map_prensor_to_prensor.md): Maps an expression to a prensor, and merges that prensor.

Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,3 @@ child schemas.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>known_field_names() -> FrozenSet[path.Step]
</code></pre>






Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ a new Schema represented by the inputs.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,3 @@ A new expression where the prensor is merged.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_values.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ Note that the operations are on 1-D tensors (as opposed to scalars).
[`map_values(...)`](../expression_impl/map_values/map_values.md): Map field into a new sibling.

[`map_values_anonymous(...)`](../expression_impl/map_values/map_values_anonymous.md): Map field into a new sibling.

Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@ The new expression.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/parquet.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ Apache Parquet Dataset.
[`calculate_parquet_values(...)`](../expression_impl/parquet/calculate_parquet_values.md): Calculates expressions and returns a parquet dataset.

[`create_expression_from_parquet_file(...)`](../expression_impl/parquet/create_expression_from_parquet_file.md): Creates a placeholder expression from a parquet file.

Original file line number Diff line number Diff line change
Expand Up @@ -3447,9 +3447,3 @@ execution is not enabled.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>__nonzero__()
</code></pre>






Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,3 @@ A parquet dataset.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,3 @@ graph.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/placeholder.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ result = calculate.calculate_values([new_exp],
[`create_expression_from_schema(...)`](../expression_impl/placeholder/create_expression_from_schema.md): Creates a placeholder expression from a parquet schema.

[`get_placeholder_paths_from_graph(...)`](../expression_impl/placeholder/get_placeholder_paths_from_graph.md): Gets all placeholder paths from an expression graph.

Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ graph.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ a list of paths of placeholder expressions
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ prensor_result now has two paths, "foo.bar" and "x.y".
## Functions

[`project(...)`](../expression_impl/project/project.md): select a subtree.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ A projected expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/promote.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,3 @@ session: {
[`promote(...)`](../expression_impl/promote/promote.md): Promote a path to be a child of its grandparent, and give it a name.

[`promote_anonymous(...)`](../expression_impl/promote/promote_anonymous.md): Promote a path to be a new anonymous child of its grandparent.

Original file line number Diff line number Diff line change
Expand Up @@ -1037,8 +1037,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line number Diff line number Diff line change
Expand Up @@ -1034,8 +1034,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,3 @@ session: {
[`promote_and_broadcast(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast.md): Promote and broadcast a set of paths to a particular location.

[`promote_and_broadcast_anonymous(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast_anonymous.md): Promotes then broadcasts the origin until its parent is new_parent.

Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ until they are children of dest_path_parent.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/proto.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ for its children.
[`ProtoExpression`](../expression_impl/proto/ProtoExpression.md)

[`TransformFn`](../expression_impl/proto/TransformFn.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/proto/DescriptorPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -806,8 +806,3 @@ if the service cannot be found in the pool.
</td>
</tr>
</table>





Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,3 @@ A ProtocolMessage
</td>
</tr>
</table>



Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ An expression.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,3 @@ if the source path is not a proto message field.
</td>
</tr>
</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ original proto.
[`create_proto_index_field(...)`](../expression_impl/reroot/create_proto_index_field.md)

[`reroot(...)`](../expression_impl/reroot/reroot.md): Reroot to a new path, maintaining a input proto index.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot/reroot.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ the new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ is always present, and is true if there are one or more bar in foo.
[`size(...)`](../expression_impl/size/size.md): Get the size of a field as a new sibling field.

[`size_anonymous(...)`](../expression_impl/size/size_anonymous.md): Calculate the size of a field, and store it as an anonymous sibling.

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/size/SizeExpression.md
Original file line number Diff line number Diff line change
Expand Up @@ -1036,8 +1036,3 @@ Boolean of equality of two expressions
</tr>

</table>





1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/has.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/size.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@ The new expression and the new field as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/slice_expression.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,3 @@ result_2 = [{
## Type Aliases

[`IndexValue`](../expression_impl/slice_expression/IndexValue.md)

Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ A new root expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,3 @@ Import core names for struct2tensor.
[`NodeTensor`](./s2t/NodeTensor.md)

[`Step`](./s2t/Step.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/ChildNodeTensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,3 @@ A tensor of positional indices.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Expression.md
Original file line number Diff line number Diff line change
Expand Up @@ -1095,8 +1095,3 @@ Boolean of equality of two expressions
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/LeafNodeTensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,3 @@ A tensor of positional indices.
</tr>

</table>





4 changes: 0 additions & 4 deletions g3doc/api_docs/python/s2t/Path.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,3 @@ Return self<value.
</code></pre>

Return self!=value.




5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Prensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,3 @@ A map from paths to sparse tensors.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/RootNodeTensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,3 @@ A tensor of positional indices.
</tr>

</table>





2 changes: 1 addition & 1 deletion g3doc/api_docs/python/s2t/all_symbols.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
* <a href="../s2t/get_ragged_tensor.md"><code>s2t.get_ragged_tensor</code></a>
* <a href="../s2t/get_ragged_tensors.md"><code>s2t.get_ragged_tensors</code></a>
* <a href="../s2t/get_sparse_tensor.md"><code>s2t.get_sparse_tensor</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ a list of prensors.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors_with_graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ a list of prensors, and the graph used to calculate them.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ An expression representing the prensor.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_expression_from_proto.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ An expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_path.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,3 @@ if this is not a valid path.
</td>
</tr>
</table>

Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ if there is a prefix of a path missing.
</td>
</tr>
</table>

Loading