File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,19 @@ force-single-line = true
116116[tool .ruff .lint .pydocstyle ]
117117convention = " numpy"
118118
119+ [tool .ty .rules ]
120+ unused-ignore-comment = " error"
121+
122+ [tool .ty .terminal ]
123+ error-on-warning = true
124+
125+ [[tool .ty .overrides ]]
126+ include = [" src/**/_version.py" ]
127+
128+ [tool .ty .overrides .rules ]
129+ invalid-type-form = " ignore"
130+
131+
119132[tool .pytest .ini_options ]
120133addopts = [" --nbmake" ]
121134# Do not add src since it messes with the loading of pytask-parallel as a plugin.
Original file line number Diff line number Diff line change 88from pytask_parallel .backends import registry
99
1010try :
11- from ._version import version as __version__
11+ from ._version import (
12+ version as __version__ , # ty: ignore[unresolved-import, unused-ignore-comment]
13+ )
1214except ImportError :
1315 # broken installation, we don't even try unknown only works because we do poor mans
1416 # version compare
You can’t perform that action at this time.
0 commit comments