| ################################################################################ | |
| # 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] | |
| # We follow PEP 8 (https://www.python.org/dev/peps/pep-0008/) with one exception: lines can be | |
| # up to 100 characters in length, not 79. | |
| ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504,W293,F821 | |
| max-line-length=120 | |
| exclude=.tox/*,dev/*,build/*,dist/* | |
| # autopep8 setting | |
| in-place = true | |
| aggressive = 3 | |
| recursive = true | |
| [autoflake] | |
| in-place=true | |
| recursive=true | |
| remove-all-unused-imports=true | |
| [mypy] | |
| ignore_missing_imports = True | |
| strict_optional=False |