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 3838
3939lint :
4040 black . --check && \
41- ruff UnleashClient tests docs && \
41+ ruff check UnleashClient tests docs && \
4242 mypy ${PROJECT_NAME} --install-types --non-interactive;
4343
4444pytest :
Original file line number Diff line number Diff line change @@ -61,19 +61,19 @@ addopts= """
6161log_file_level =" INFO"
6262
6363[tool .ruff ]
64- select = [
64+ lint. select = [
6565 " E" , # pycodestyle, error
6666 " W" , # pycodestyle, warning
6767 " F" , # pyflakes
6868 " PL" , # pylint,
6969 " YTT" , # flake8-2020
7070 " I" # isort
7171]
72- ignore = [" E501" , " PLR2004" ]
72+ lint. ignore = [" E501" , " PLR2004" ]
7373
74- fixable = [" I" ]
74+ lint. fixable = [" I" ]
7575
76- [tool .ruff .pylint ]
76+ [tool .ruff .lint . pylint ]
7777max-args = 25
7878
7979[tool .setuptools ]
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def test_uc_customstrategy_happypath(recwarn):
6666
6767 # Check warning on deprecated strategy.
6868 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 ])
7070
7171
7272@responses .activate
You can’t perform that action at this time.
0 commit comments