mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
Add pre commit (#103)
* add pre-commit * run pre-commit * skip lint on README.md as it breaks template filling
This commit is contained in:
@ -25,6 +25,9 @@ common: &common
|
||||
command: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install tox
|
||||
- run:
|
||||
name: install pre-commit
|
||||
command: python -m pip install --progress-bar=off pre-commit
|
||||
- run:
|
||||
name: run tox
|
||||
command: python -m tox run -r
|
||||
@ -102,12 +105,6 @@ jobs:
|
||||
environment:
|
||||
TOXENV: py311-core
|
||||
|
||||
py37-lint:
|
||||
<<: *common
|
||||
docker:
|
||||
- image: cimg/python:3.7
|
||||
environment:
|
||||
TOXENV: py37-lint
|
||||
py38-lint:
|
||||
<<: *common
|
||||
docker:
|
||||
|
||||
Reference in New Issue
Block a user