@@ -48,7 +48,7 @@ dependencies = []
48
48
49
49
[dependency-groups ]
50
50
numpy = [" numtype[numpy]" ]
51
- lint = [" ruff>=0.11.10 " ]
51
+ lint = [" ruff>=0.11.12 " ]
52
52
pytest = [
53
53
{include-group = " numpy" },
54
54
" pytest>=8.3.5" ,
@@ -60,17 +60,17 @@ list_and_test = [
60
60
]
61
61
types = [
62
62
{include-group = " pytest" },
63
- " types-setuptools>=80.7 .0.20250516 " ,
63
+ " types-setuptools>=80.9 .0.20250529 " ,
64
64
" types-tabulate>=0.9.0.20241207" ,
65
65
]
66
66
basedpyright = [
67
67
{include-group = " numpy" },
68
68
{include-group = " types" },
69
- " basedpyright>=1.29.1 " ,
69
+ " basedpyright>=1.29.2 " ,
70
70
]
71
71
mypy = [
72
72
{include-group = " types" },
73
- " mypy[faster-cache]>=1.15 .0" ,
73
+ " mypy[faster-cache]>=1.16 .0" ,
74
74
]
75
75
typecheck = [
76
76
{include-group = " basedpyright" },
@@ -111,23 +111,12 @@ skip-excluded-dirs = true
111
111
[tool .mypy ]
112
112
mypy_path = " src"
113
113
strict = true
114
- strict_bytes = true
115
- strict_concatenate = true
116
- local_partial_types = true
117
- enable_error_code = [" ignore-without-code" , " truthy-bool" ]
118
- disable_error_code = [" explicit-override" ]
114
+ enable_error_code = [" ignore-without-code" , " redundant-expr" , " truthy-bool" ]
119
115
enable_incomplete_feature = [" PreciseTupleTypes" ]
120
- disallow_any_explicit = false
121
- disallow_any_expr = false
122
- disallow_any_decorated = false
116
+ allow_redefinition_new = true
117
+ local_partial_types = true
123
118
warn_incomplete_stub = true
124
119
warn_unreachable = false
125
- # needed for stubtest, see https://github.com/python/mypy/issues/18744
126
- disable_bytearray_promotion = true
127
- disable_memoryview_promotion = true
128
- # basedmypy/mypy compat
129
- # bare_literals = false
130
- # default_return = false
131
120
132
121
133
122
[tool .pyright ]
0 commit comments