Skip to content

Commit c8aeb09

Browse files
committed
Revert "chore: re-enable pre-commit"
This reverts commit a45c07d.
1 parent 29cf41a commit c8aeb09

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ repos:
1717
hooks:
1818
- id: black
1919
name: Formatting (black)
20-
entry: make format
20+
entry: black
2121
language: system
2222
types: [python]
2323
stages: [commit]
2424
- id: ruff
2525
name: Linter (ruff)
26-
entry: make lint
26+
entry: ruff
2727
language: system
2828
types: [python]
2929
stages: [commit]
@@ -40,4 +40,4 @@ repos:
4040
pass_filenames: false
4141
language: system
4242
types: [python]
43-
stages: [push]
43+
stages: [push]

Makefile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,20 @@ test-coverage:
1212
PYTHONPATH=. poetry run pytest tests --cov private_gpt --cov-report term --cov-report=html --cov-report xml --junit-xml=tests-results.xml
1313

1414
black:
15-
PYTHONPATH=. poetry run black . --check
15+
poetry run black . --check
1616

1717
ruff:
18-
PYTHONPATH=. poetry run ruff check private_gpt tests
18+
poetry run ruff check private_gpt tests
1919

2020
format:
21-
PYTHONPATH=. poetry run black .
22-
23-
lint:
24-
PYTHONPATH=. poetry run ruff check private_gpt tests --fix
21+
poetry run black .
22+
poetry run ruff check private_gpt tests --fix
2523

2624
mypy:
27-
PYTHONPATH=. poetry run mypy private_gpt
25+
poetry run mypy private_gpt
2826

2927
check:
3028
make format
31-
make lint
3229
make mypy
3330

3431
########################################################################################################################

0 commit comments

Comments
 (0)