~arx10/furemcape unlisted

ref: 124b913abcba550ca78f4c5943a9f7d933b18ddb furemcape/setup.cfg -rw-r--r-- 2.3 KiB
124b913aJustin Ludwig Add 5 more actions to opensshd parser: 11 months ago
                                                                                
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
[flake8]
filename = *.py,*.tac
ignore =
    D413 # shouldn't be part of google docstring convention (https://github.com/PyCQA/pydocstyle/issues/430)
    E203 # contracdicts black and PEP8 style guides
    H601 # don't fail linting for low class cohesion
    P101 # allow format strings with unindexed parameters
    S322 # input warning applies to python 2 only
    T101 # allow TODOs
    T103 # allow HACKs
    W503 # contradicts black and PEP8 style guides
max-line-length = 88
per-file-ignores =
    # I900 test requirements not checked
    # W0621 gives false positive for pytest fixture names
    conftest.py: I900, W0621
    # D103 don't need docstrings for test functions
    # D105 don't need docstrings for magic methods in test classes
    # D107 don't need docstrings for __init__ method of test classes
    # I900 test requirements not checked
    # S101 (bandit B101) assert is appropriate for tests
    # W0613 triggered by fixture names in fn signatures
    test_*: D103, D105, D107, I900, S101, W0613
    # E501 allow long lines for test output of reporter tests
    test_reporter.py: D103, D105, D107, E501, I900, S101, W0613
    # A003 ignore column name collisions with builtins (eg 'id')
    # CCE001 order column definitions logically instead of alphabetically
    # D103 don't need docstrings for migration functions
    # W0613 triggered by unused params of migration/rollback fn signatures
    migrations/*: A003, CCE001, D103, W0613

# flake8 plugin config

# flake8-class-attributes-order
use-class-attributes-order-strict-mode = True
# flake8-docstrings
docstring-convention = google
# flake8-requirements
known-modules = :[furemcape.analyzer,furemcape.feeder.socket,furemcape.feeder.stdio,furemcape.hitdb,furemcape.issuedb,furemcape.reporter,furemcape.responder,furemcape.shared.datetime,furemcape.shared.io,furemcape.shared.log,furemcape.shared.obj,furemcape.shared.orm,furemcape.shared.version,furemcape.transformer],peewee:[peewee,playhouse.db_url,playhouse.postgres_ext,playhouse.shortcuts]
requirements-max-depth = 5

[isort]
force_grid_wrap = 0
known_third_party =
    OpenSSL
    cachetools
    docopt
    jinja2
    peewee
    peewee_migrate
    pendulum
    playhouse
    psycopg2
    pytest
    tabulate
    twisted
include_trailing_comma = True
line_length = 88
multi_line_output = 3
use_parentheses = True