File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11repos :
22- repo : https://github.com/astral-sh/ruff-pre-commit
3- rev : " v0.14.1 "
3+ rev : " v0.14.2 "
44 hooks :
55 - id : ruff-check
66 args : ["--fix"]
1212 - id : end-of-file-fixer
1313 - id : check-yaml
1414- repo : https://github.com/woodruffw/zizmor-pre-commit
15- rev : v1.15.2
15+ rev : v1.16.0
1616 hooks :
1717 - id : zizmor
1818- repo : https://github.com/adamchainz/blacken-docs
4848 # on <3.11
4949 - exceptiongroup>=1.0.0rc8
5050- repo : https://github.com/RobertCraigie/pyright-python
51- rev : v1.1.406
51+ rev : v1.1.407
5252 hooks :
5353 - id : pyright
5454 files : ^(src/|scripts/)
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ def time(self) -> float:
8484 return self ._current_time
8585
8686 def patch (self , monkeypatch : MonkeyPatch ) -> None :
87+ # pylint: disable-next=import-self
8788 from _pytest import timing # noqa: PLW0406
8889
8990 monkeypatch .setattr (timing , "sleep" , self .sleep )
Original file line number Diff line number Diff line change 55import decimal
66from decimal import Decimal
77from fractions import Fraction
8+ from math import inf
9+ from math import nan
810from math import sqrt
911import operator
1012from operator import eq
1618from pytest import approx
1719
1820
19- inf , nan = float ("inf" ), float ("nan" )
20-
21-
2221@pytest .fixture
2322def mocked_doctest_runner (monkeypatch ):
2423 import doctest
You can’t perform that action at this time.
0 commit comments