| 1 | [metadata] |
| 2 | name = rpi-bad-power |
| 3 | version = 0.1.0 |
| 4 | author = Xiaonan Shen |
| 5 | author_email = [email protected] |
| 6 | license = MIT License |
| 7 | license_file = LICENSE |
| 8 | platforms = any |
| 9 | description = A Python library to detect bad power supply on Raspberry Pi . |
| 10 | long_description = file: README.md |
| 11 | long_description_content_type = text/markdown |
| 12 | url = https://github.com/shenxn/rpi-bad-power |
| 13 | keywords = rpi, raspberry-pi |
| 14 | classifier = |
| 15 | Programming Language :: Python :: 3 |
| 16 | Intended Audience :: Developers |
| 17 | License :: OSI Approved :: MIT License |
| 18 | Operating System :: POSIX :: Linux |
| 19 | Programming Language :: Python :: 3.7 |
| 20 | Topic :: Software Development :: Embedded Systems |
| 21 | |
| 22 | [options] |
| 23 | packages = find: |
| 24 | |
| 25 | [flake8] |
| 26 | exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build |
| 27 | doctests = True |
| 28 | # To work with Black |
| 29 | # E501: line too long |
| 30 | # W503: Line break occurred before a binary operator |
| 31 | # E203: Whitespace before ':' |
| 32 | # D202 No blank lines allowed after function docstring |
| 33 | # W504 line break after binary operator |
| 34 | ignore = |
| 35 | E501, |
| 36 | W503, |
| 37 | E203, |
| 38 | D202, |
| 39 | W504 |
| 40 | |
| 41 | [mypy] |
| 42 | python_version = 3.7 |
| 43 | show_error_codes = true |
| 44 | follow_imports = silent |
| 45 | ignore_missing_imports = true |
| 46 | warn_incomplete_stub = true |
| 47 | warn_redundant_casts = true |
| 48 | warn_unused_configs = true |
| 49 | strict = true |
| 50 | ignore_errors = false |
| 51 | warn_unreachable = true |
| 52 | # TODO: turn these off, address issues |
| 53 | allow_any_generics = true |
| 54 | implicit_reexport = true |