-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (38 loc) · 875 Bytes
/
Makefile
File metadata and controls
50 lines (38 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Makefile for python-alpaca-server
#
# Python project using Poetry for dependency management
.PHONY: test lint typecheck build format install audit lock bump commit publish
# Run the full test suite
test:
poetry run pytest
# Run linter (flake8)
lint:
poetry run flake8 python_alpaca_server
# Run type checker (mypy)
typecheck:
poetry run mypy python_alpaca_server
# Build the project
build:
poetry build
# Format code (isort + black)
format:
poetry run isort python_alpaca_server
poetry run black python_alpaca_server
# Install dependencies
install:
poetry install
# Security audit (not configured)
audit:
@echo "INFO: No security audit configured (optional target)"
# Lock dependencies
lock:
poetry lock
# Bump version using commitizen
bump:
cz bump
# Create commit using commitizen
commit:
cz commit
# Publish to PyPI
publish: build
poetry publish