| # 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. |
| |
| per-file-ignores = {'__init__.py' = ['F403']} |
| select = ['E', 'F', 'RUF100', 'W6', 'ISC001'] |
| ignore = [ |
| 'F401', # Imported but unused, |
| 'F811', # Redefinition of unused |
| 'F841', # Assigned to but never used |
| 'E402', # Module level import not at top of file |
| 'E731', # Do not assign a lambda expression, use a def |
| 'E741', # Ambiguous variable name: I, |
| 'E501', # Line too long |
| # REMOVE THESE AND FIX THE ISSUES |
| 'F541', # f-string without any placeholders |
| 'E401', # Multiple imports on one line |
| 'E721', # Do not compare types, use `isinstance()` |
| 'E713', # Test for membership should be `not in` |
| 'E701' # Multiple statements on one line (colon) |
| ] |
| line-length = 119 |
| |