| # 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 |
| # |
| # 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. |
| [flake8] |
| # E121,E125,E126,E127,E128: ignored to allow some of the more common idioms for multi-line |
| # statement indentation used in the Impala code. |
| # W503: ignored to allow line breaks before binary operators, as is becoming standard: |
| # https://github.com/python/peps/commit/7690a00d478866 |
| # E701: ignored to allow if statement body on same line as conditional |
| # https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes |
| ignore = E121,E125,E126,E127,E128,W503,E701 |
| # Change from default to conform to Apache Impala line length. |
| max-line-length = 90 |
| # Impala style guide uses 2-space indents. |
| indent-size = 2 |