File: .flake8

package info (click to toggle)
python-biopython 1.73%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 57,852 kB
  • sloc: python: 169,977; xml: 97,539; ansic: 15,653; sql: 1,208; makefile: 159; sh: 63
file content (70 lines) | stat: -rw-r--r-- 2,848 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[flake8]
doctests = True
ignore =
    # =======================
    # flake: E###, F###, W###
    # =======================
    # pycodestyle v2.4.0 default ignore is E121,E123,E126,E226,E24,E704,W503,W504
    # flake8 v3.6.0 default ignore is      E121,E123,E126,E226,E24,E704,W503,W504
    #
    # These are ignored by default:
    E122,E123,E126,E241,W503,W504,
    # These are not ignored by default:
    # E127	continuation line over-indented for visual indent
    # E128	continuation line under-indented for visual indent
    # E402	module level import not at top of file
    # E501	line too long (XX > 79 characters)
    # E731	do not assign a lambda expression, use a def
    # F401	module imported but unused
    # F405	name may be undefined, or defined from star imports: module
    # F841	local variable name is assigned to but never used
    # TODO: Fix some of these?
    E402,E501,E731,F401,F405,F841,
    # =====================================
    # pydocstyle: D1## - Missing Docstrings
    # =====================================
    # D100	Missing docstring in public module
    # D101	Missing docstring in public class
    # D102	Missing docstring in public method
    # D103	Missing docstring in public function
    # D104	Missing docstring in public package
    # D105	Missing docstring in magic method
    # TODO: Fix some of these?
    D100,D101,D102,D103,D105,
    # ====================================
    # pydocstyle: D2## - Whitespace Issues
    # ====================================
    # D200	One-line docstring should fit on one line with quotes
    # D202	No blank lines allowed after function docstring
    # D203	1 blank line required before class docstring
    # D204	1 blank line required after class docstring
    # TODO: Fix these:
    D200,D202,D204,
    # We ignore D203 deliberately in favour of passing D211,
    D203,
    # ================================
    # pydocstyle: D3## - Quotes Issues
    # ================================
    # D300  Use """triple double quotes"""
    # TODO: Fix this:
    D300,
    # ===========================================
    # pydocstyle: D4## - Docstring Content Issues
    # ===========================================
    # D400	First line should end with a period
    # D401	First line should be in imperative mood
    # D412	No blank lines allowed between a section header and its content
    D400,D401,
    # We ignore D412 deliberately:
    D412,
    # ====================
    # flake8-bugbear: B###
    # ====================
    # B007	Loop control variable not used within the loop body.
    #     	If this is intended, start the name with an underscore.
    B007,
    # =========================================
    # flake8-commas (in case installed locally)
    # =========================================
    # C812	missing trailing comma
    C812