-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
85 lines (80 loc) · 2.46 KB
/
setup.cfg
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[metadata]
name = sedg
version = 0.0.1
author = Jamie Strandboge
author_email = jamie@influxdata.com
url = https://github.com/influxdata/sedg
description = Tools for tracking security issues flexibly in version control
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT License
classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Operating System :: OS Independent
[options]
packages = find:
python_requires >= 3.8
install_requires =
pyyaml
requests>=2.32.0
[options.entry_points]
console_scripts =
cve-add = cvelib:cve_add
cve-check-syntax = cvelib:cve_check_syntax
cve-query = cvelib:cve_query
cve-report = cvelib:cve_report
dso-dump-reports = cvelib:dso_dump_reports
gar-dump-reports = cvelib:gar_dump_reports
gh-dump-alerts = cvelib:gh_dump_alerts
quay-dump-reports = cvelib:quay_dump_reports
[options.extras_require]
cache =
requests_cache==1.0.1
dso =
edn_format==0.7.5
dev =
black==24.3.0
coverage
flake8
pylint
[options.packages.find]
exclude =
tests
# compatible with black
[flake8]
max-line-length = 88
# https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (B*, below)
# C complexity checks
# E pycodestyle errors
# F pyflakes fatals
# W pycodestyle warnings
# B Bugbear checks (default opinionated warnings, see controversial below)
# B901 Use of 'return x' in a generator is invalid
# B902 Invalid first argument for method (use self for inst and cls for class)
# B903 Enforce use of collections.namedtuple (or typing.NamedTuple)
# B950 Line too long, but allow 10% more. Should also disable pycodestyle E501
select = C,E,F,W,B,B901,B950
ignore =
# The default ignore list:
E203,W503,W504,E501
# Common definitions:
# D203: 1 blank line required before class docstring
# F401: Module imported but unused
# E123: closing bracket does not match indentation of opening bracket’s line
# E203: whitespace before ':'
# W503: line break before binary operator (not a pep8 issue, should be ignored)
# W504: line break after binary operator
# E501: line too long (using B950 from flake8-bugbear)
# E402: module level import not at top of file
# E129: visually indented line with same indent as next logical line
# E222: multiple spaces after operator
# E231: missing whitespace after ','
exclude =
.git,
__pycache__,
build,
staging,
dist,
*.pyc,
*.egg-info,