mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
74f70a1924
The linting results for the generated samples are as follows where the first number is the BEFORE and the second is AFTER. pyclient 7714 vs. 120 pyclient3 7717 vs. 120 pyclient3-asyncio 7584 vs. 120 pyclient-tornado 7633 vs. 120 pyclient3-tornado 7633 vs. 120 For the complete details please see the following gist. https://gist.github.com/kenjones-cisco/2eb69a7e8db75e9fd53789f01570d9f2 Enforces linting for python clients by running flake8 for the generated python client.
22 lines
393 B
Makefile
22 lines
393 B
Makefile
#!/bin/bash
|
|
|
|
REQUIREMENTS_FILE=dev-requirements.txt
|
|
REQUIREMENTS_OUT=dev-requirements.txt.log
|
|
SETUP_OUT=*.egg-info
|
|
VENV=.venv
|
|
|
|
clean:
|
|
rm -rf $(REQUIREMENTS_OUT)
|
|
rm -rf $(SETUP_OUT)
|
|
rm -rf $(VENV)
|
|
rm -rf .tox
|
|
rm -rf .coverage
|
|
find . -name "*.py[oc]" -delete
|
|
find . -name "__pycache__" -delete
|
|
|
|
test: clean
|
|
bash ./test_python2.sh
|
|
|
|
test-all: clean
|
|
bash ./test_python2_and_3.sh
|