mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
update tox calls to use run, update all pip calls to use python -m (#86)
This commit is contained in:
@ -27,7 +27,7 @@ common: &common
|
|||||||
python -m pip install tox
|
python -m pip install tox
|
||||||
- run:
|
- run:
|
||||||
name: run tox
|
name: run tox
|
||||||
command: python -m tox -r
|
command: python -m tox run -r
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- .hypothesis
|
- .hypothesis
|
||||||
@ -57,7 +57,7 @@ windows_steps: &windows_steps
|
|||||||
python -m pip install tox
|
python -m pip install tox
|
||||||
- run:
|
- run:
|
||||||
name: run tox
|
name: run tox
|
||||||
command: python -m tox -r
|
command: python -m tox run -r
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- .tox
|
- .tox
|
||||||
|
|||||||
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@ -65,6 +65,8 @@ body:
|
|||||||
- type: textarea
|
- type: textarea
|
||||||
id: pip-freeze
|
id: pip-freeze
|
||||||
attributes:
|
attributes:
|
||||||
label: Output from pip-freeze
|
label: Output from `pip freeze`
|
||||||
description: Run `pip-freeze` and paste the output below
|
description: Run `python -m pip freeze` and paste the output below
|
||||||
render: shell
|
render: shell
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|||||||
4
Makefile
4
Makefile
@ -28,7 +28,7 @@ clean-pyc:
|
|||||||
find . -name '__pycache__' -exec rm -rf {} +
|
find . -name '__pycache__' -exec rm -rf {} +
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
tox -e lint
|
tox run -e lint
|
||||||
|
|
||||||
lint-roll:
|
lint-roll:
|
||||||
isort <MODULE_NAME> tests
|
isort <MODULE_NAME> tests
|
||||||
@ -39,7 +39,7 @@ test:
|
|||||||
pytest tests
|
pytest tests
|
||||||
|
|
||||||
test-all:
|
test-all:
|
||||||
tox
|
tox run
|
||||||
|
|
||||||
build-docs:
|
build-docs:
|
||||||
sphinx-apidoc -o docs/ . setup.py "*conftest*"
|
sphinx-apidoc -o docs/ . setup.py "*conftest*"
|
||||||
|
|||||||
@ -13,7 +13,7 @@ Read more in the [documentation on ReadTheDocs](https://<RTD_NAME>.readthedocs.i
|
|||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pip install <PYPI_NAME>
|
python -m pip install <PYPI_NAME>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Developer Setup
|
## Developer Setup
|
||||||
@ -36,7 +36,7 @@ git clone git@github.com:ethereum/<REPO_NAME>.git
|
|||||||
cd <REPO_NAME>
|
cd <REPO_NAME>
|
||||||
virtualenv -p python3 venv
|
virtualenv -p python3 venv
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pip install -e ".[dev]"
|
python -m pip install -e ".[dev]"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Release setup
|
### Release setup
|
||||||
|
|||||||
Reference in New Issue
Block a user