-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let's standardize on: - pyproject.toml for halmos and its runtime dependencies (for users + devs) - requirements-dev.txt for the dev dependencies (for devs only)
- Loading branch information
1 parent
abe353d
commit 1e7b91c
Showing
4 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,18 +23,20 @@ git clone [email protected]:a16z/halmos.git | |
Create and activate a virtual environment: | ||
|
||
```sh | ||
python3.11 -m venv .venv | ||
source .venv/bin/activate | ||
python3.12 -m venv .venv && source .venv/bin/activate | ||
``` | ||
|
||
Install the dependencies: | ||
|
||
```sh | ||
python -m pip install -r requirements.txt | ||
# install halmos and its runtime dependencies | ||
python -m pip install -e . | ||
|
||
# install the dev dependencies | ||
python -m pip install -r requirements-dev.txt | ||
``` | ||
|
||
Install and run the git hook scripts: | ||
Install and run the git hook scripts (this is optional but will make sure that your PR will follow the style convention): | ||
|
||
```sh | ||
pre-commit install | ||
|
@@ -46,7 +48,7 @@ pre-commit run --all-files | |
We recommend enabling the [black] formatter in your editor, but you can run it manually if needed: | ||
|
||
```sh | ||
python -m black . | ||
python -m black src/ | ||
``` | ||
|
||
[black]: <https://black.readthedocs.io/en/stable/> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
black | ||
pre-commit | ||
pytest |
This file was deleted.
Oops, something went wrong.