File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v2.3 .0
3
+ rev : v5.0 .0
4
4
hooks :
5
5
- id : check-yaml
6
6
- id : end-of-file-fixer
7
7
- id : trailing-whitespace
8
8
- repo : https://github.com/astral-sh/ruff-pre-commit
9
9
# Ruff version.
10
- rev : v0.4.7
10
+ rev : v0.9.6
11
11
hooks :
12
12
# Run the linter.
13
13
- id : ruff
Original file line number Diff line number Diff line change 1
1
from collections import namedtuple
2
2
3
3
import pytest
4
+
4
5
from scottzach1 .pif import exceptions , providers
5
6
6
7
@@ -167,7 +168,7 @@ def test_singleton():
167
168
dict_3 = provider ()
168
169
169
170
assert dict_1 == {"a" : 1 , "b" : 2 }
170
- assert dict_1 is not {"a" : 1 , "b" : 2 }
171
+ assert dict_1 is not {"a" : 1 , "b" : 2 } # noqa: F632
171
172
assert dict_2 is dict_1
172
173
assert dict_3 is dict_1
173
174
@@ -190,7 +191,7 @@ def test_factory():
190
191
dict_3 = provider ()
191
192
192
193
assert dict_1 == {"a" : 1 , "b" : 2 }
193
- assert dict_1 is not {"a" : 1 , "b" : 2 }
194
+ assert dict_1 is not {"a" : 1 , "b" : 2 } # noqa: F632
194
195
195
196
assert dict_2 == dict_1
196
197
assert dict_2 is not dict_1
You can’t perform that action at this time.
0 commit comments