-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (64 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
70 lines (64 loc) · 1.74 KB
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
68
69
70
[build-system]
build-backend = "setuptools.build_meta"
# Build dependencies. Remember to change these in make-manylinux and appveyor.yml
# if you add/remove/change them.
requires = [
"setuptools >= 40.8.0",
"wheel",
# Python 3.7 requires at least Cython 0.27.3.
# 0.28 is faster, and (important!) lets us specify the target module
# name to be created so that we can have both foo.py and _foo.so
# at the same time. 0.29 fixes some issues with Python 3.7,
# and adds the 3str mode for transition to Python 3. 0.29.14+ is
# required for Python 3.8. 3.0a2 introduced a change that prevented
# us from compiling (https://github.com/gevent/gevent/issues/1599)
# but once that was fixed, 3.0a4 led to all of our leak tests
# failing in Python 2 (https://travis-ci.org/github/gevent/gevent/jobs/683782800);
# This was fixed in 3.0a5 (https://github.com/cython/cython/issues/3578)
# 3.0a6 fixes an issue cythonizing source on 32-bit platforms
"Cython >= 3.2.4",
]
[tool.check-manifest]
ignore = ["*.c"]
[tool.mypy]
# Must be present for mypy to read this file.
follow_imports = "normal"
check_untyped_defs = true
allow_redefinition = true
disable_error_code = [
"method-assign"
]
# Our tests are in terrible shape
# and will need some work to be clean
exclude = [
'test_.*\.py',
]
[[tool.mypy.overrides]]
# third-party untyped code
module = [
"ZODB.*",
"zope.*",
"persistent.*",
"cpuinfo",
"nti.*",
"botocore.*",
"fsspec.*",
"transaction",
"grpc",
"grpc_health.*",
"google.type.*",
"zc.*",
"z3c.*",
"netaddr.*",
"dnslib",
"cytoolz.*",
"toolz.*",
"boto3.*",
"pg8000",
"urllib3.*",
"indexed_gzip",
"pyperf",
"isodate",
"vmprof"
]
ignore_missing_imports = true