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:
committed by
Bouke Versteegh
parent
cebf9176a3
commit
459d12b24d
4
Makefile
4
Makefile
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user