-
Notifications
You must be signed in to change notification settings - Fork 402
/
setup.cfg
59 lines (54 loc) · 1.93 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
# __version__
[metadata]
name = docker-systemctl-replacement
version = 1.5.8066
license = EUPL
license_files =
EUPL-LICENSE.md
author = Guido U. Draheim
author-email = [email protected]
home-page = https://github.com/gdraheim/docker-systemctl-replacement
description = allows to deploy to systemd-controlled containers without starting an actual systemd daemon
long-description-content-type = text/markdown
long-description = file: src/README.md
[options]
include_package_data=True
scripts =
src/systemctl.py
src/systemctl.pyi
[options.data_files]
data =
EUPL-LICENSE.md
src/README.md
[pycodestyle]
max-line-length = 188
ignore = E301,E302,E305,E306,E701,E401,E225,E226,E251,E261
# E301 Add missing blank line. (expected 1 blank line, found 0)
# E302 Add missing 2 blank lines. (expected 2 blank lines, found 0)
# E305 - (expected 2 blank lines after end of function or class)
# E306 - (expected 1 blank line before a nested definition)
# E701 Put colon-separated compound statement on separate lines. (multiple statements on one line (colon))
# E401 Put imports on separate lines. (multiple imports on one line)
# E225 Fix missing whitespace around operator. (missing whitespace around operator)
# E226 (missing whitespace around arithmetic operator)
# E251 Remove whitespace around parameter '=' sign. (unexpected spaces around keyword / parameter equals)
# E261 Fix spacing after comment hash. (at least two spaces before inline comment)
[mypy]
## strict = true # not allowed in setup.cfg
unused_configs = true
disallow_subclassing_any = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
##
disallow_any_unimported = true
# disallow_any_expr = true
disallow_any_decorated = true
disallow_any_explicit = true