Move betterproto → src/betterproto

This change avoids some nasty import issues and also ensures that the
right code is tested and arbitrary code is not included when packaging.
This commit is contained in:
Arun Babu Neelicattu
2020-07-10 14:23:41 +02:00
committed by Bouke Versteegh
parent cebf9176a3
commit 459d12b24d
19 changed files with 5 additions and 4 deletions

View File

@@ -6,13 +6,13 @@ help: ## - Show this help.
# Dev workflow tasks
generate: ## - Generate test cases (do this once before running test)
poetry run ./tests/generate.py
poetry run python -m tests.generate
test: ## - Run tests
poetry run pytest --cov betterproto
types: ## - Check types with mypy
poetry run mypy betterproto --ignore-missing-imports
poetry run mypy src/betterproto --ignore-missing-imports
format: ## - Apply black formatting to source code
poetry run black . --exclude tests/output_