-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
39 lines (36 loc) · 1.18 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
[bdist_wheel]
# This flag says to generate wheels that support both Python 2 and Python
# 3. If your code will not run unchanged on both Python 2 and 3, you will
# need to generate separate wheels for each Python version that you
# support. Removing this line (or setting universal to 0) will prevent
# bdist_wheel from trying to make a universal wheel. For more see:
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels
universal=1
[tool:pytest]
#addopts = -p no:warnings
norecursedirs = *tmp*
testpaths=tests
[mypy]
# code base
files=./matcher/**/*.py
# 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
# use pydantic plugin
plugins=pydantic.mypy
[flake8]
# See https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
ignore=E203,W503
max-line-length=88
filename=*.py
exclude=lib/,.venv