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 @@ -5,21 +5,21 @@ exclude: |
55 )$
66repos :
77 - repo : https://github.com/pre-commit/pre-commit-hooks
8- rev : v4.4 .0
8+ rev : v5.0 .0
99 hooks :
1010 - id : debug-statements
1111 - id : check-merge-conflict
1212 - repo : https://github.com/psf/black
13- rev : 23.3 .0
13+ rev : 25.1 .0
1414 hooks :
1515 - id : black
1616 language_version : python3
1717 - repo : https://github.com/pycqa/flake8
18- rev : 6.0 .0
18+ rev : 7.3 .0
1919 hooks :
2020 - id : flake8
2121 - repo : https://github.com/pycqa/isort
22- rev : 5.12.0
22+ rev : 6.0.1
2323 hooks :
2424 - id : isort
2525 - repo : https://github.com/PyCQA/autoflake
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def __hash__(self):
121121
122122 def __eq__ (self , other ):
123123 return (
124- type (self ) == type (other )
124+ type (self ) is type (other )
125125 and self .car == other .car
126126 and self .cdr == other .cdr
127127 )
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ def test_car_cdr():
183183
184184 z = car (cons (iter ([]), 1 ))
185185 expected = iter ([])
186- assert type (z ) == type (expected )
186+ assert type (z ) is type (expected )
187187 assert list (z ) == list (expected )
188188
189189 li = iter ([1 ])
You can’t perform that action at this time.
0 commit comments