File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ show_contexts = true
134134
135135[tool .pytest .ini_options ]
136136minversion = " 6.0"
137- addopts = [" --strict-config" , " --strict-markers" ]
137+ addopts = [" -ra " , " - -strict-config" , " --strict-markers" ]
138138log_cli_level = " info"
139139testpaths = [" tests" ]
140140xfail_strict = true
@@ -159,8 +159,8 @@ filterwarnings = [
159159files = " src"
160160python_version = " 3.9"
161161strict = true
162- show_error_codes = true
163162enable_error_code = [" ignore-without-code" , " truthy-bool" , " redundant-expr" ]
163+ warn_unreachable = true
164164
165165[[tool .mypy .overrides ]]
166166module = [
@@ -206,6 +206,10 @@ ignore = [
206206 " W005" , # We _are_ build
207207]
208208
209+ [tool .repo-review ]
210+ ignore = [" PC140" ] # mypy in tox
211+
212+
209213[tool .bumpversion ]
210214current_version = " 1.0.0"
211215
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ def _handle_build_error() -> Iterator[None]:
198198 )
199199 tb = '' .join (tb_lines )
200200 else : # pragma: no cover
201- tb = traceback .format_exc (- 1 )
201+ tb = traceback .format_exc (- 1 ) # type: ignore[unreachable]
202202 _cprint ('\n {dim}{}{reset}\n ' , tb .strip ('\n ' ))
203203 _error (str (e ))
204204 except Exception as e : # pragma: no cover
You can’t perform that action at this time.
0 commit comments