Diff of /yolov5/setup.cfg [000000] .. [f26a44]

Switch to unified view

a b/yolov5/setup.cfg
1
# Project-wide configuration file, can be used for package metadata and other toll configurations
2
# Example usage: global configuration for PEP8 (via flake8) setting or default pytest arguments
3
4
[metadata]
5
license_file = LICENSE
6
description-file = README.md
7
8
9
[tool:pytest]
10
norecursedirs =
11
    .git
12
    dist
13
    build
14
addopts =
15
    --doctest-modules
16
    --durations=25
17
    --color=yes
18
19
20
[flake8]
21
max-line-length = 120
22
exclude = .tox,*.egg,build,temp
23
select = E,W,F
24
doctests = True
25
verbose = 2
26
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
27
format = pylint
28
# see: https://www.flake8rules.com/
29
ignore =
30
    E731  # Do not assign a lambda expression, use a def
31
    F405
32
    E402
33
    F841
34
    E741
35
    F821
36
    E722
37
    F401
38
    W504
39
    E127
40
    W504
41
    E231
42
    E501
43
    F403
44
    E302
45
    F541
46
47
48
[isort]
49
# https://pycqa.github.io/isort/docs/configuration/options.html
50
line_length = 120
51
multi_line_output = 0