Skip to content

Commit cd8cafc

Browse files
committed
remove poetry run
1 parent 6476363 commit cd8cafc

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ jobs:
6666
uses: snok/install-poetry@v1
6767

6868
- name: Install Dependencies
69-
# TODO: fix errors so that we can run `make dev` instead
7069
run: |
7170
# Setup Virtual Environment
7271
python3 -m venv ./.venv
@@ -99,7 +98,6 @@ jobs:
9998
uses: snok/install-poetry@v1
10099

101100
- name: Install Dependencies
102-
# TODO: fix errors so that we can run `make dev` instead
103101
run: |
104102
# Setup Virtual Environment
105103
python3 -m venv ./.venv

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
MKDOCS_SERVE_ADDR ?= localhost:8000 # Default address for mkdocs serve, format: <host>:<port>, override with `make docs-serve MKDOCS_SERVE_ADDR=<host>:<port>`
22

33
autoformat:
4-
poetry run ruff check guardrails/ tests/ --fix
5-
poetry run ruff format guardrails/ tests/
6-
poetry run docformatter --in-place --recursive guardrails tests
4+
ruff check guardrails/ tests/ --fix
5+
ruff format guardrails/ tests/
6+
docformatter --in-place --recursive guardrails tests
77

88
.PHONY: type
99
type:
10-
poetry run pyright guardrails/
10+
pyright guardrails/
1111

1212
lint:
13-
poetry run ruff check guardrails/ tests/
14-
poetry run ruff format guardrails/ tests/ --check
13+
ruff check guardrails/ tests/
14+
ruff format guardrails/ tests/ --check
1515

1616
test:
17-
poetry run pytest tests/
17+
pytest tests/
1818

1919
test-basic:
2020
set -e
2121
python -c "import guardrails as gd"
2222
python -c "import guardrails.version as mversion"
2323

2424
test-cov:
25-
poetry run pytest tests/ --cov=./guardrails/ --cov-report=xml
25+
pytest tests/ --cov=./guardrails/ --cov-report=xml
2626

2727
view-test-cov:
28-
poetry run pytest tests/ --cov=./guardrails/ --cov-report html && open htmlcov/index.html
28+
pytest tests/ --cov=./guardrails/ --cov-report html && open htmlcov/index.html
2929

3030
view-test-cov-file:
31-
poetry run pytest tests/unit_tests/test_logger.py --cov=./guardrails/ --cov-report html && open htmlcov/index.html
31+
pytest tests/unit_tests/test_logger.py --cov=./guardrails/ --cov-report html && open htmlcov/index.html
3232

3333
docs-serve:
3434
poetry run mkdocs serve -a $(MKDOCS_SERVE_ADDR)

0 commit comments

Comments
 (0)