Skip to content

Commit

Permalink
static check fixes - license and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkruc authored and potiuk committed Jul 8, 2022
1 parent 98f6a8e commit fa9d058
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/apache-airflow-providers-elasticsearch/hooks/elasticsearch.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
.. http://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software 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.
software 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.
ElasticsearchPythonHook
Expand Down
1 change: 1 addition & 0 deletions tests/providers/elasticsearch/hooks/test_elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def test_throws_warning(self):
self.connection = Connection(host='localhost', port=9200, schema='http')

with self.assertWarns(DeprecationWarning):

class UnitTestElasticsearchHook(ElasticsearchHook):
conn_name_attr = 'test_conn_id'

Expand Down

0 comments on commit fa9d058

Please sign in to comment.