-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
54 lines (51 loc) · 1.35 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
[metadata]
name = rpi-bad-power
version = 0.1.0
author = Xiaonan Shen
author_email = [email protected]
license = MIT License
license_file = LICENSE
platforms = any
description = A Python library to detect bad power supply on Raspberry Pi .
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/shenxn/rpi-bad-power
keywords = rpi, raspberry-pi
classifier =
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Software Development :: Embedded Systems
[options]
packages = find:
[flake8]
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build
doctests = True
# To work with Black
# E501: line too long
# W503: Line break occurred before a binary operator
# E203: Whitespace before ':'
# D202 No blank lines allowed after function docstring
# W504 line break after binary operator
ignore =
E501,
W503,
E203,
D202,
W504
[mypy]
python_version = 3.7
show_error_codes = true
follow_imports = silent
ignore_missing_imports = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unused_configs = true
strict = true
ignore_errors = false
warn_unreachable = true
# TODO: turn these off, address issues
allow_any_generics = true
implicit_reexport = true