Skip to content

Instantly share code, notes, and snippets.

@olivx
Created May 21, 2019 13:53
Show Gist options
  • Save olivx/997d13203a4e888f9fe953ac7d8d5ec0 to your computer and use it in GitHub Desktop.
Save olivx/997d13203a4e888f9fe953ac7d8d5ec0 to your computer and use it in GitHub Desktop.
configurações Makefile
SHELL := /bin/sh
clean:
@rm -f .coverage 2> /dev/null
@rm -rf .cache 2> /dev/null
@find . -name "*.pyc" -delete
@find . -name "*.swp" -delete
@find . -name "__pycache__" -delete
format:
@black kafka_producer_nimsoft
sort:
@isort
lint:
@flake8 kafka_producer_nimsoft
test: clean lint
@black --check kafka_producer_nimsoft
@isort -c
python -m pytest --cov=kafka_producer_nimsoft
black==19.3b0
flake8==3.7.7
pytest==4.5.0
pytest-asyncio==0.10.0
pytest-dotenv==0.4.0
pytest-aiohttp==0.3.0
ipdb==0.11
isort==4.3.4
pytest-cov==2.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment