File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ PYDANTIC_VERSION_MAJOR := $(shell poetry run python -c 'import pydantic; print(p
88TYPING_CMD := type-pydantic-v$(PYDANTIC_VERSION_MAJOR ) -openai-v$(OPENAI_VERSION_MAJOR )
99
1010autoformat :
11- poetry run black guardrails/ tests/
12- poetry run isort --atomic guardrails/ tests/
11+ poetry run ruff check guardrails/ tests/ --fix
12+ poetry run ruff format guardrails/ tests/
1313 poetry run docformatter --in-place --recursive guardrails tests
1414
1515.PHONY : type
@@ -37,9 +37,8 @@ type-pydantic-v2-openai-v1:
3737 rm pyrightconfig.json
3838
3939lint :
40- poetry run isort -c guardrails/ tests/
41- poetry run black guardrails/ tests/ --check
42- poetry run flake8 guardrails/ tests/
40+ poetry run ruff check guardrails/ tests/
41+ poetry run ruff format guardrails/ tests/ --check
4342
4443test :
4544 poetry run pytest tests/
You can’t perform that action at this time.
0 commit comments