Skip to content

Commit 9fbaf6d

Browse files
committed
ci: add black --check; make: add config-info target
1 parent 2b032aa commit 9fbaf6d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
run: |
2424
python -m pip install -U pip
2525
pip install -r requirements-dev.txt
26+
- name: Format check
27+
run: black --check .
2628
- name: Lint
2729
run: ruff check .
2830
- name: Run tests

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PY?=python3
22
VENV?=venv
33

4-
.PHONY: bootstrap bootstrap-prod test lint fmt ci chat clean
4+
.PHONY: bootstrap bootstrap-prod test lint fmt ci chat config clean
55

66
bootstrap:
77
@bash scripts/bootstrap_venv.sh dev $(PY)
@@ -23,7 +23,9 @@ ci: lint test
2323
chat:
2424
@$(VENV)/bin/python -m orbit_agent.cli chat
2525

26+
config:
27+
@$(VENV)/bin/python -m orbit_agent.cli config-info
28+
2629
clean:
2730
rm -rf $(VENV) __pycache__ .pytest_cache
2831
find . -name "*.pyc" -delete
29-

0 commit comments

Comments
 (0)