| 1 | [bdist_wheel] |
| 2 | universal = 0 |
| 3 | |
| 4 | [tool:pytest] |
| 5 | # -s: do not capture stdout, conflicts with pysam.dispatch |
| 6 | # -v: verbose output |
| 7 | addopts = -s -v |
| 8 | testpaths = pysam tests |
| 9 | |
| 10 | [flake8] |
| 11 | max-line-length = 100 |
| 12 | max-complexity = 23 |
| 13 | extend-ignore = E117, E124, E125, E201, E202, E211, E225, E231, E265, E266, E302, E303, E305, E402, E501, E701, E713, E722, E741, F403, F405, F811, F821, F841, W291, W293, W391, W605 |
| 14 | per-file-ignores = __init__.py:F401 |
| 15 | |
| 16 | # E117 over-indented |
| 17 | # E124 closing bracket does not match visual indentation |
| 18 | # E125 continuation line with same indent as next logical line |
| 19 | # E201 whitespace after '{' |
| 20 | # E202 whitespace before '}' |
| 21 | # E211 whitespace before '(' |
| 22 | # E225 missing whitespace around operator |
| 23 | # E231 missing whitespace after ':' |
| 24 | # E265 block comment should start with '# ' |
| 25 | # E266 too many leading '#' for block comment |
| 26 | # E302 expected 2 blank lines, found 1 |
| 27 | # E303 too many blank lines |
| 28 | # E305 expected 2 blank lines after class or function definition, found 1 |
| 29 | # E402 module level import not at top of file |
| 30 | # E501 line too long |
| 31 | # E701 multiple statements on one line (colon) |
| 32 | # E713 test for membership should be 'not in' |
| 33 | # E722 do not use bare 'except' |
| 34 | # E741 ambiguous variable name '...' |
| 35 | # F403 'from ... import *' used; unable to detect undefined names |
| 36 | # F405 '...' may be undefined, or defined from star imports: ... |
| 37 | # F811 redefinition of unused '...' from line ... |
| 38 | # F821 undefined name '...' |
| 39 | # F841 local variable '...' is assigned to but never used |
| 40 | # W291 trailing whitespace |
| 41 | # W293 blank line contains whitespace |
| 42 | # W391 blank line at end of file |
| 43 | # W605 invalid escape sequence '...' |