-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
48 lines (41 loc) · 1.47 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
# -----------------------------------------------------------------------------
# BUILDING WHEELS
# -----------------------------------------------------------------------------
[metadata]
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
license_files =
LICENSE.txt
README.md
[bdist_wheel]
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels
universal=0
# -----------------------------------------------------------------------------
# FORMATTING AND LINTING
# -----------------------------------------------------------------------------
[flake8]
# Q003 Change outer quotes to avoid escaping inner quotes
# W503 line break before binary operator (preferred way)
ignore = Q003,W503
# flake8-use-fstring
percent-greedy = 0
format-greedy = 2
[mypy]
# Untyped definitions and calls
# Disallows defining functions without type annotations or with
# incomplete type annotations.
disallow_untyped_defs = true
# Type-checks the interior of functions without type annotations
check_untyped_defs = true
# Import discovery
follow_imports = normal
ignore_missing_imports = True
# Warning configuration
warn_unused_ignores = true
warn_unreachable = true
# Error message config
# pretty = true
# -----------------------------------------------------------------------------
# TEST CONFIGURATION
# -----------------------------------------------------------------------------
[tool:pytest]
addopts = -p no:warnings