2018-06-27 02:56:33 +00:00
|
|
|
build:
|
2020-04-22 18:05:20 +00:00
|
|
|
flit build
|
2018-06-27 02:56:33 +00:00
|
|
|
|
|
|
|
dev:
|
2020-04-22 18:05:20 +00:00
|
|
|
flit install --symlink
|
2018-06-27 02:56:33 +00:00
|
|
|
|
|
|
|
setup:
|
2019-10-20 00:27:20 +00:00
|
|
|
python -m pip install -Ur requirements-dev.txt
|
2018-06-27 02:56:33 +00:00
|
|
|
|
|
|
|
venv:
|
2019-10-20 00:27:20 +00:00
|
|
|
python -m venv .venv
|
2018-06-27 02:56:33 +00:00
|
|
|
source .venv/bin/activate && make setup dev
|
|
|
|
echo 'run `source .venv/bin/activate` to use virtualenv'
|
|
|
|
|
|
|
|
release: lint test clean
|
2020-04-22 18:05:20 +00:00
|
|
|
flit publish
|
2018-06-27 02:56:33 +00:00
|
|
|
|
2019-10-20 00:27:20 +00:00
|
|
|
format:
|
2020-04-22 18:05:20 +00:00
|
|
|
python -m isort --apply --recursive aioitertools
|
|
|
|
python -m black aioitertools
|
2018-06-27 02:56:33 +00:00
|
|
|
|
|
|
|
lint:
|
2020-04-22 18:05:20 +00:00
|
|
|
python -m pylint --rcfile .pylint aioitertools
|
|
|
|
python -m isort --diff --recursive aioitertools
|
|
|
|
python -m black --check aioitertools
|
2018-06-27 02:56:33 +00:00
|
|
|
|
|
|
|
test:
|
2019-10-20 00:27:20 +00:00
|
|
|
python -m coverage run -m aioitertools.tests
|
|
|
|
python -m coverage report
|
|
|
|
python -m mypy aioitertools
|
2018-06-27 02:56:33 +00:00
|
|
|
|
|
|
|
clean:
|
2019-03-31 18:27:23 +00:00
|
|
|
rm -rf build dist README MANIFEST *.egg-info
|
2020-04-22 18:05:20 +00:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -rf .venv
|