File tree Expand file tree Collapse file tree 2 files changed +32
-31
lines changed Expand file tree Collapse file tree 2 files changed +32
-31
lines changed Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
requires = [" setuptools>=42" , " wheel" , " cmake>=3.18" , " ninja" ]
3
3
build-backend = " setuptools.build_meta"
4
+
5
+ [tool .check-manifest ]
6
+ ignore = [
7
+ " tests/**" ,
8
+ " docs/**" ,
9
+ " tools/**" ,
10
+ " include/**" ,
11
+ " .*" ,
12
+ " pybind11/include/**" ,
13
+ " pybind11/share/**" ,
14
+ " CMakeLists.txt" ,
15
+ " noxfile.py" ,
16
+ ]
17
+
18
+ [tool .mypy ]
19
+ files = " pybind11"
20
+ python_version = " 2.7"
21
+ warn_unused_configs = true
22
+
23
+ disallow_any_generics = true
24
+ disallow_subclassing_any = true
25
+ disallow_untyped_calls = true
26
+ disallow_untyped_defs = true
27
+ disallow_incomplete_defs = true
28
+ check_untyped_defs = true
29
+ disallow_untyped_decorators = true
30
+ no_implicit_optional = true
31
+ warn_redundant_casts = true
32
+ warn_unused_ignores = true
33
+ warn_return_any = true
34
+ no_implicit_reexport = true
35
+ strict_equality = true
Original file line number Diff line number Diff line change @@ -37,18 +37,6 @@ zip_safe = False
37
37
[bdist_wheel]
38
38
universal =1
39
39
40
- [check-manifest]
41
- ignore =
42
- tests/**
43
- docs/**
44
- tools/**
45
- include/**
46
- .*
47
- pybind11/include/**
48
- pybind11/share/**
49
- CMakeLists.txt
50
- noxfile.py
51
-
52
40
53
41
[flake8]
54
42
max-line-length = 99
@@ -62,25 +50,6 @@ ignore =
62
50
# Black conflict
63
51
W503, E203
64
52
65
- [mypy]
66
- files = pybind11
67
- python_version = 2.7
68
- warn_unused_configs = True
69
-
70
- # Currently (0.800) identical to --strict
71
- disallow_any_generics = True
72
- disallow_subclassing_any = True
73
- disallow_untyped_calls = True
74
- disallow_untyped_defs = True
75
- disallow_incomplete_defs = True
76
- check_untyped_defs = True
77
- disallow_untyped_decorators = True
78
- no_implicit_optional = True
79
- warn_redundant_casts = True
80
- warn_unused_ignores = True
81
- warn_return_any = True
82
- no_implicit_reexport = True
83
- strict_equality = True
84
53
85
54
[tool:pytest]
86
55
timeout = 300
You can’t perform that action at this time.
0 commit comments