File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ build_command = "pip install hatch && hatch build"
146146minversion = " 6.0"
147147addopts = " -ra -vv -rf --ignore=bundled --ignore=.hatch"
148148filterwarnings = [
149- " ignore:.*Using or importing the ABCs from 'collections' instead of from 'collections.abc'.*:DeprecationWarning" ,
150- " ignore:cannot collect test class 'TestCaseDefinition'.*:pytest.PytestCollectionWarning" ,
149+ " ignore:.*Using or importing the ABCs from 'collections' instead of from 'collections.abc'.*:DeprecationWarning" ,
150+ " ignore:cannot collect test class 'TestCaseDefinition'.*:pytest.PytestCollectionWarning" ,
151151]
152152testpaths = [" tests" ]
153153junit_suite_name = " robotcode"
@@ -241,9 +241,7 @@ mark-parentheses = false
241241# at call sites that import the wrapper. The defining module itself
242242# (model.py) needs an additional per-file ignore (see above) because ruff
243243# resolves the local name independently.
244- extend-immutable-calls = [
245- " robotcode.robot.config.model.field" ,
246- ]
244+ extend-immutable-calls = [" robotcode.robot.config.model.field" ]
247245
248246
249247[tool .mypy ]
@@ -321,6 +319,8 @@ exclude = [
321319 " **/__pycache__" ,
322320 " bundled/libs" ,
323321 " intellij-client/build" ,
322+ " **/.*" ,
323+ " .venv" ,
324324]
325325typeCheckingMode = " off"
326326pythonVersion = " 3.10"
Original file line number Diff line number Diff line change 1313from hashlib import sha512
1414from io import StringIO
1515from pathlib import Path
16- from typing import Type , cast
16+ from typing import Any , Callable , Type , cast
1717
1818import pytest
1919from _pytest ._code .code import ExceptionInfo , TerminalRepr
2929open = functools .partial (open , encoding = "utf-8" )
3030
3131
32- _converters_pre = []
33- _converters_post = []
32+ _converters_pre : list [ Callable [..., Any ]] = []
33+ _converters_post : list [ Callable [..., Any ]] = []
3434
3535
3636def register_converter_pre (function ):
You can’t perform that action at this time.
0 commit comments