-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
94 lines (87 loc) · 2.62 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
86
87
88
89
90
91
92
93
94
[metadata]
name = ppbt
version = attr: ppbt.__version__
author = Daniel A. Wozniak
author_email = <daniel.wozniak@broadcom.com>
long-description-content-type = text/markdown
long_description = file: README.md
description = Portable Python Build Toolchain
license = Apache License 2.0
license_file = LICENSE.md
url = https://github.com/saltstack/ppbt
bug_tracker = https://github.com/saltstack/ppbt/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: Apache Software License
Development Status :: 2 - Pre-Alpha
Operating System :: POSIX :: Linux
[options]
package_dir=
=src
patckages = find:
python_requires = >=3
include_package_data = True
[options.packages.find]
where=src
exclude =
m4*
config*
include*
testing*
kconfig*
contrib*
[options.package_data]
*=_config/**, _toolchain/**
[flake8]
max-line-length = 120
exclude =
# No need to traverse our git directory
.git,
# Nox virtualenvs are also not important
.nox,
# There's no value in checking cache directories
__pycache__,
# Package build stuff
build,
dist,
# The conf file is mostly autogenerated, ignore it
docs/conf.py,
# Also ignore setup.py, it's mostly a shim
setup.py,
# Ignore our custom pre-commit hooks
.pre-commit-hooks
src/relenv_gdb/libpython.py
ignore =
# D104 Missing docstring in public package
D104,
# D107 Missing docstring in __init__
D107,
# D200 One-line docstring should fit on one line with quotes
D200,
# D401 First line should be in imperative mood; try rephrasing
D401,
# F403 'from <name> import *' used; unable to detect undefined names
F403,
# F405 '*' may be undefined, or defined from star imports: *
F405
# line break before binary operator, black does this with pathlib.Path objects
W503
per-file-ignores =
# F401 imported but unused
__init__.py: F401
# D100 Missing docstring in public module
# D103 Missing docstring in public function
noxfile.py: D100,D102,D103,D107,D212,E501
# D102 Missing docstring in public method
# D103 Missing docstring in public function
# D107 Missing docstring in __init__
# D100 Missing docstring in public module
# D101 Missing docstring in public class
# D102 Missing docstring in public method
# D103 Missing docstring in public function
# D105 Missing docstring in magic method
# D107 Missing docstring in __init__
# D205 1 blank line required between summary line and description
# D415 First line should end with a period, question mark, or exclamation poin
# W503 line break before binary operator (black causes this)
tests/*.py: D100,D101,D102,D103,D105,D107,D205,D415,W503