Skip to content

Commit 7caaa58

Browse files
committed
Build changes to work around upstream packaging issue in poetry/isort package described here https://github.com/PyCQA/isort/issues/2083\#issuecomment-1408159596
1 parent 87aca04 commit 7caaa58

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
click>=8.*
22
openai
3+
pre-commit

scripts/setup.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ main(){
2323
source .venv/bin/activate
2424

2525
pip3 install -r requirements.txt
26-
pre-commit install
27-
pre-commit run --all-files
26+
python -m pre_commit autoupdate
27+
python -m pre_commit install
28+
python -m pre_commit run --all-files
2829
}
2930

3031
main "$@"

0 commit comments

Comments
 (0)