File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 38
38
39
39
lint :
40
40
black . --check && \
41
- ruff UnleashClient tests docs && \
41
+ ruff check UnleashClient tests docs && \
42
42
mypy ${PROJECT_NAME} --install-types --non-interactive;
43
43
44
44
pytest :
Original file line number Diff line number Diff line change @@ -61,19 +61,19 @@ addopts= """
61
61
log_file_level =" INFO"
62
62
63
63
[tool .ruff ]
64
- select = [
64
+ lint. select = [
65
65
" E" , # pycodestyle, error
66
66
" W" , # pycodestyle, warning
67
67
" F" , # pyflakes
68
68
" PL" , # pylint,
69
69
" YTT" , # flake8-2020
70
70
" I" # isort
71
71
]
72
- ignore = [" E501" , " PLR2004" ]
72
+ lint. ignore = [" E501" , " PLR2004" ]
73
73
74
- fixable = [" I" ]
74
+ lint. fixable = [" I" ]
75
75
76
- [tool .ruff .pylint ]
76
+ [tool .ruff .lint . pylint ]
77
77
max-args = 25
78
78
79
79
[tool .setuptools ]
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def test_uc_customstrategy_happypath(recwarn):
66
66
67
67
# Check warning on deprecated strategy.
68
68
assert len (recwarn ) >= 1
69
- assert any ([x .category == DeprecationWarning for x in recwarn ])
69
+ assert any ([x .category is DeprecationWarning for x in recwarn ])
70
70
71
71
72
72
@responses .activate
You can’t perform that action at this time.
0 commit comments