| 1 | [flake8] |
| 2 | ignore = |
| 3 | # just fires a bunch on list ranges |
| 4 | E203, |
| 5 | # don't care |
| 6 | E265, |
| 7 | # line lengths are a fake idea |
| 8 | E501, |
| 9 | # bare accept is fine |
| 10 | E722, |
| 11 | E743, |
| 12 | # handling unused imports elsewhere |
| 13 | F401, |
| 14 | # ditto |
| 15 | F405, |
| 16 | # flake8 doesn't understand typing overloads |
| 17 | F811, |
| 18 | # this 'error' is completely backward and will change eventually |
| 19 | W503, |
| 20 | N802, |
| 21 | N803, |
| 22 | N806, |
| 23 | N812, |
| 24 | N815, |
| 25 | N816, |
| 26 | max-line-length=300 |
| 27 | per-file-ignores = |
| 28 | bikeshed/lint/__init__.py:F401 |
| 29 | bikeshed/h/__init__.py:F401 |
| 30 | bikeshed/markdown/__init__.py:F401 |
| 31 | bikeshed/shorthands/__init__.py:F401 |
| 32 | bikeshed/refs/__init__.py:F401 |
| 33 | bikeshed/update/__init__.py:F401 |
| 34 | bikeshed/wpt/__init__.py:F401 |
| 35 | bikeshed/__init__.py:F401 |
| 36 | bikeshed/config/__init__.py:F401 |
| 37 | bikeshed/stringEnum/__init__.py:F401 |
| 38 | |
| 39 | [pylint.MESSAGES CONTROL] |
| 40 | disable= |
| 41 | arguments-differ, |
| 42 | broad-except, |
| 43 | c-extension-no-member, # seems to be weird false pos |
| 44 | consider-using-f-string, # don't care |
| 45 | duplicate-code, # dont' care |
| 46 | fixme, |
| 47 | invalid-name, # SUPER don't care |
| 48 | keyword-arg-before-vararg, # literally nonsensical |
| 49 | missing-class-docstring, |
| 50 | missing-function-docstring, |
| 51 | missing-module-docstring, |
| 52 | no-else-break, # i prefer this actually |
| 53 | no-else-continue, # ditto |
| 54 | no-else-raise, # ditto |
| 55 | no-else-return, # ditto |
| 56 | no-self-use, # fine to do sometimes |
| 57 | pointless-string-statement, # fine as alt comment syntax |
| 58 | redefined-builtin, |
| 59 | superfluous-parens, # don't care |
| 60 | too-few-public-methods, # dumb |
| 61 | too-many-arguments, # dumb |
| 62 | too-many-boolean-expressions, # needed |
| 63 | too-many-branches, # needed |
| 64 | too-many-instance-attributes, # dumb |
| 65 | too-many-lines, |
| 66 | too-many-locals, # dumb |
| 67 | too-many-nested-blocks, |
| 68 | too-many-return-statements, |
| 69 | too-many-statements, |
| 70 | use-dict-literal, # don't care |