-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
67 lines (55 loc) · 1.34 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
[metadata]
name = runusb
description = Automagic running of USB sticks
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
author = "Alistair Lynn"
url = https://github.com/sourcebots/runusb
[options]
python_requires = >=3.8
packages = find:
install_requires =
logger-extras==0.4.2
rpi.GPIO==0.7.1
[options.extras_require]
mqtt = logger-extras[mqtt]==0.4.2
[options.entry_points]
console_scripts =
runusb = runusb.__main__:main
[flake8]
exclude =
.eggs,
.git,
.pybuild,
__pycache__,
build,
script
ignore =
# allow attributes which share names with Python builtins
A003,
# don't require commas in places that only Python 3.6 requires them (we're
# on Python 3.5)
C816
# W503 and W504 conflict; ignore the one that disagrees with recent PEP8.
W503
# try to keep it below 80, but this allows us to push it a bit when needed.
max_line_length = 100
[isort]
atomic = true
balanced_wrapping = true
line_length = 100
default_section = THIRDPARTY
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
# global
mypy_path = stubs
warn_incomplete_stub = True
warn_unused_ignores = True
warn_unused_configs = True
warn_redundant_casts = True
strict_optional = True
scripts_are_modules = True
# module
check_untyped_defs = True
warn_return_any = True