File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ class ExplicitNullType:
166166 __slots__ = () # Saves memory by preventing the creation of instance dictionaries
167167
168168 # Class-level instance variable for singleton control
169- _instance : ExplicitNullType | None = None
169+ _instance : " ExplicitNullType | None" = None
170170
171171 def __new__ (cls ):
172172 if cls ._instance is None :
Original file line number Diff line number Diff line change @@ -222,17 +222,17 @@ exclude_also = [
222222 " if TYPE_CHECKING.*:" ,
223223 # This will exclude all lines starting with something like
224224 # if PY311_OR_ABOVE: or if PY310_BETA:.
225- " if PY\d +_\w +:" ,
225+ ' if PY\d+_\\ w+:' ,
226226 # Don't complain if tests don't hit defensive assertion code:
227227 " raise AssertionError" ,
228228 " raise NotImplementedError" ,
229229 # Ellipsis are used as placeholders in python 3 that will be overridden
230- " \.\. \. " ,
230+ " \\ . \\ . \ \ ." ,
231231 # Don't complain if non-runnable code isn't run:
232232 " if 0:" ,
233- " if __name__ == .__main__.:"
233+ " if __name__ == .__main__.:" ,
234234 # Don't complain if alias functions aren't run:
235- "alias:"
235+ " alias:" ,
236236]
237237ignore_errors = true
238238
@@ -259,11 +259,8 @@ commands = flake8 dataclass_wizard tests
259259setenv =
260260 PYTHONPATH = {toxinidir}
261261 PYTEST_ADDOPTS = --ignore-glob=*integration*
262- deps =
263- -r{toxinidir}/requirements-dev.txt
264- -r{toxinidir}/requirements-test.txt
265262commands =
266- pip install -U pip
267- pip install -e .[all]
263+ pip install -U pip uv
264+ uv pip install -e .[all]
268265 pytest --basetemp={envtmpdir}
269266"""
You can’t perform that action at this time.
0 commit comments