Skip to content

Commit

Permalink
Use pip install -e . in Makefile (#260)
Browse files Browse the repository at this point in the history
So devs will have their code updated automatically without the need to run `make install` each time.

See #259 (comment)
  • Loading branch information
sobolevn authored Jul 27, 2023
1 parent 9a79c53 commit 3aff865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
all: ruff mypy black isort test refurb docs

install:
pip install .
pip install -r dev-requirements.txt

install-local:
pip install -e .
pip install -r dev-requirements.txt

ruff:
ruff refurb test
Expand All @@ -25,7 +22,7 @@ isort:
test:
pytest

test-e2e: install-local
test-e2e: install
refurb test/e2e/dummy.py

refurb:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ To setup locally, run:
$ git clone https://github.com/dosisod/refurb
$ cd refurb
$ make install
$ make install-local
```

Tests can be ran all at once using `make`, or you can run each tool on its own using
Expand Down

0 comments on commit 3aff865

Please sign in to comment.