|
| 1 | +[flake8] |
| 2 | +extend-ignore = |
| 3 | + # whitespace before ':' (currently conflicts with black formatting): |
| 4 | + E203, |
| 5 | + # line too long (in docstrings): |
| 6 | + E501, |
| 7 | + # ‘from module import *’ used; unable to detect undefined names: |
| 8 | + F403, |
| 9 | + # doc line too long (105 > 80 characters): |
| 10 | + W505, |
| 11 | + # missing docstring in public module: |
| 12 | + D100, |
| 13 | + # missing docstring in public class: |
| 14 | + D101, |
| 15 | + # missing docstring in public method: |
| 16 | + D102, |
| 17 | + # missing docstring in public function: |
| 18 | + D103, |
| 19 | + # missing docstring in public package: |
| 20 | + D104, |
| 21 | + # missing docstring in magic method: |
| 22 | + D105, |
| 23 | + # missing docstring in __init__: |
| 24 | + D107, |
| 25 | + # no blank lines allowed after function docstring: |
| 26 | + D202, |
| 27 | + # 1 blank line required between summary line and description: |
| 28 | + D205, |
| 29 | + # first line should end with a period: |
| 30 | + D400, |
| 31 | + # first line should be in imperative mood: |
| 32 | + D401, |
| 33 | + # first line should not be the function's "signature": |
| 34 | + D402, |
| 35 | + # first word of the first line should be properly capitalized |
| 36 | + D403, |
| 37 | + |
| 38 | +per-file-ignores = |
| 39 | + mkl_fft/__init__.py: E402, F401 |
| 40 | + mkl_fft/interfaces/__init__.py: F401 |
| 41 | + mkl_fft/interfaces/scipy_fft.py: F401 |
| 42 | + mkl_fft/interfaces/numpy_fft.py: F401 |
| 43 | + |
| 44 | +exclude = _vendored/conv_template.py |
| 45 | + |
| 46 | +filename = *.py, *.pyx, *.pxi, *.pxd |
| 47 | +max_line_length = 80 |
| 48 | +max-doc-length = 80 |
| 49 | +show-source = True |
| 50 | + |
| 51 | +# Print detailed statistic if any issue detected |
| 52 | +count = True |
| 53 | +statistics = True |
0 commit comments