-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.cfg
87 lines (79 loc) · 2.53 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
# Copyright 2022 VMware, Inc.
# SPDX-License-Identifier: Apache-2
[metadata]
name = relenv
version = attr: relenv.__version__
long_description = file: README.md
long_description_content_type = text/markdown
project_urls =
Source Code = https://github.com/saltstack/relative-environment-for-python
Documentation = https://relenv.readthedocs.io/en/latest/
Changelog = https://relenv.readthedocs.io/en/latest/changelog.html
[options]
packages = find:
package_dir =
relenv = relenv
include_package_data = True
install_requires =
ppbt; sys_platform == "linux"
[options.entry_points]
console_scripts =
relenv = relenv.__main__:main
[sdist]
owner = root
group = root
[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
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
# D100 Missing docstring in public module
docs/source/conf.py: D100
# D102 Missing docstring in public method
# D103 Missing docstring in public function
# D107 Missing docstring in __init__
relenv/build/common.py: D102,D103,D107
# 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