Debian Codegraph @

setup.cfg

raw symbols SCIP
1 # All configuration for plugins and other utils is defined here.
2 # Read more about `setup.cfg`:
3 # https://docs.python.org/3/distutils/configfile.html
4
5
6 # === Linter configuration ===
7 # You can reuse this configuration in your own projects.
8 # See: https://wemake-python-stylegui.de/en/latest/pages/usage/integrations/nitpick.html
9
10 [flake8]
11 # Base flake8 configuration:
12 # https://flake8.pycqa.org/en/latest/user/configuration.html
13 format = wemake
14 show-source = True
15 statistics = False
16 doctests = True
17
18 # Plugins:
19 max-complexity = 6
20 max-line-length = 100
21
22 # Self settings:
23 max-imports = 17
24
25 # Excluding some directories:
26 exclude =
27 .git
28 __pycache__
29 .venv
30 .eggs
31 *.egg
32 dist
33
34 # Exclude some checks globally:
35 ignore = B001, C901, D100, D101, D102, D103, D104, D107, D205, D400, E221, E241,
36 E251, E266, E271, E272, E722, F403, F405, I004, N802, N803, N806, P101,
37 Q000, W503, W504, WPS110, WPS111, WPS112, WPS122, WPS202, WPS204, WPS210,
38 WPS212, WPS213, WPS214, WPS220, WPS221, WPS222, WPS223, WPS226, WPS229,
39 WPS231, WPS232, WPS301, WPS323, WPS336, WPS337, WPS338, WPS341, WPS347,
40 WPS412, WPS420, WPS421, WPS430, WPS432, WPS433, WPS440, WPS504, WPS514,
41 WPS515, WPS602, WPS605
42
43 per-file-ignores =
44 ROPgadget.py: WPS102
45 ropgadget/__init__.py: F401
46 ropgadget/args.py: E501, WPS317, WPS318
47 ropgadget/binary.py: E501
48 ropgadget/core.py: E501, I001, S110, WPS125, WPS503, WPS513, WPS609
49 ropgadget/gadgets.py: C812, E126, E261, E501, E800, WPS318, WPS319, WPS513
50 ropgadget/loaders/__init__.py: F401
51 ropgadget/loaders/elf.py: E126, E203, E222, E501, E701, N801, WPS114,
52 WPS115, WPS120, WPS318, WPS339
53 ropgadget/loaders/macho.py: E126, E203, E222, E501, N801, WPS114, WPS115,
54 WPS120, WPS318, WPS339, WPS349
55 ropgadget/loaders/pe.py: E126, E203, E222, E501, N801, WPS114, WPS115,
56 WPS120, WPS318, WPS339, WPS349
57 ropgadget/loaders/raw.py: E126, E222, E501, WPS318
58 ropgadget/loaders/universal.py: E126, E501, N801, WPS114, WPS115, WPS120,
59 WPS318, WPS328, WPS339, WPS519
60 ropgadget/options.py: E501, S110
61 ropgadget/ropchain/__init__.py: F401
62 ropgadget/ropchain/arch/__init__.py: F401
63 ropgadget/ropchain/arch/ropmakerx64.py: E501, S112, W605, WPS211, WPS327,
64 WPS503
65 ropgadget/ropchain/arch/ropmakerx86.py: E501, S112, W605, WPS211, WPS327,
66 WPS503
67 ropgadget/ropchain/ropmaker.py: E501, N400
68 ropgadget/updateAlert.py: E501, I001, I003, S309, W605, WPS102, WPS301
69 setup.py: E501
70
71 [isort]
72 # isort configuration:
73 # https://github.com/timothycrosley/isort/wiki/isort-Settings
74 include_trailing_comma = true
75 use_parentheses = true
76 # See https://github.com/timothycrosley/isort#multi-line-output-modes
77 multi_line_output = 3
78 # Is the same as 80 in flake8:
79 line_length = 100
80
81
82 [darglint]
83 # darglint configuration:
84 # https://github.com/terrencepreilly/darglint
85 strictness = long