-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.cfg
104 lines (94 loc) · 1.85 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
95
96
97
98
99
100
101
102
103
104
[metadata]
name = pass-git-helper
version = attr: passgithelper.__version__
author = Johannes Wienke
author_email = [email protected]
description = A git credential helper interfacing with pass, the standard Unix password manager
license = LGPLv3+
keywords =
git
passwords
pass
credentials
password store
classifiers =
Programming Language :: Python :: 3
Topic :: Utilities
License :: OSI Approved ::
GNU Lesser General Public License v3 or later (LGPLv3+)
project_urls =
home_page = https://github.com/languitar/pass-git-helper
[options]
install_requires =
pyxdg
py_modules =
passgithelper
[options.extras_require]
test = pytest; pytest-coverage; pytest-mock
[options.entry_points]
console_scripts =
pass-git-helper = passgithelper:main
[tool:pytest]
log_level = DEBUG
addopts =
--cov-config=setup.cfg
[flake8]
exclude =
doc,
.tox,
.git,
__pycache__,
build,
dist,
.eggs,
env,
.mypy_cache
ignore =
ANN101,
ANN102,
D202,
D413,
E203,
S101,
S404,
TYP101,
TYP102,
TYP002,
TYP003,
W503,
per-file-ignores =
test_*: D1, S105, ANN401
setup.py: D1
max-line-length = 88
[coverage:run]
branch = True
source = passgithelper
[coverage:paths]
source =
.
*/site-packages/
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if __name__ == "__main__":
@abc.abstractmethod
[mypy]
ignore_missing_imports=True
disallow_untyped_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_unused_configs = True
warn_unused_ignores = True
[isort]
profile = google
known_local_folder = tests
case_sensitive = false
combine_as_imports = true
force_single_line = false
multi_line_output = 3
include_trailing_comma = true
lines_after_imports = 2
line_length = 88
force_grid_wrap = false
reverse_relative = true