Skip to content

Commit b081498

Browse files
committed
update gitignore and add makefile from sched2
1 parent ab4f9f5 commit b081498

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

.gitignore

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
$ hidden files
12
.*
2-
poetry.lock
3-
__pycache__
3+
# lock files
4+
*.lock
5+
6+
# Python-generated files
7+
__pycache__/
8+
*.py[oc]
9+
build/
410
dist/
11+
wheels/
12+
*.egg-info

Makefile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.PHONY: help
2+
help: ## Show this help.
3+
@grep '^[^#[:space:]\.].*:' Makefile
4+
5+
.PHONY: lint
6+
fix: ## Run linters.
7+
ruff check --fix .
8+
ruff format .
9+
10+
.PHONY: check
11+
check: ## Run linters in check mode.
12+
ruff check .
13+
ruff format --check .
14+
15+
.PHONY: test
16+
test: check ## Run tests.
17+
uv run pytest
18+
19+
.PHONY: publish
20+
publish: test check ## Publish to PyPI.
21+
uv build
22+
uv publish

0 commit comments

Comments
 (0)