clean up lint
This commit is contained in:
parent
f830f83a1d
commit
2885f853c2
|
@ -96,7 +96,7 @@ jobs:
|
||||||
reqs_checksum: '{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }}'
|
reqs_checksum: '{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }}'
|
||||||
- run:
|
- run:
|
||||||
name: Run linter
|
name: Run linter
|
||||||
command: make install_lint && make pyspec && make lint
|
command: make install_lint && make lint
|
||||||
workflows:
|
workflows:
|
||||||
version: 2.1
|
version: 2.1
|
||||||
test_spec:
|
test_spec:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -42,7 +42,7 @@ citest: $(PY_SPEC_ALL_TARGETS)
|
||||||
install_lint:
|
install_lint:
|
||||||
cd $(PY_SPEC_DIR); python3 -m venv venv; . venv/bin/activate; pip3 install flake8==3.5.0
|
cd $(PY_SPEC_DIR); python3 -m venv venv; . venv/bin/activate; pip3 install flake8==3.5.0
|
||||||
|
|
||||||
lint:
|
lint: $(PY_SPEC_ALL_TARGETS)
|
||||||
cd $(PY_SPEC_DIR); . venv/bin/activate; \
|
cd $(PY_SPEC_DIR); . venv/bin/activate; \
|
||||||
flake8 --max-line-length=120 ./eth2spec;
|
flake8 --max-line-length=120 ./eth2spec;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue