Skip to content

Commit ace37c3

Browse files
noahgiftclaude
andcommitted
ci: tighten banned-tools grep + drop obsolete CircleCI
The previous grep flagged the spec doc (which lists banned tools as prose) and .venv/ contents. Restrict to executable locations only: Makefile, pyproject.toml, scripts/*.py. Also delete .circleci/config.yml (Python 3.6, references deleted requirements.txt). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent e6b0f6a commit ace37c3

2 files changed

Lines changed: 5 additions & 55 deletions

File tree

.circleci/config.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
pmat comply check
3131
continue-on-error: true
3232
- name: banned tools grep
33+
# Catches reintroduction of banned toolchains in *executable*
34+
# locations only — Makefile, pyproject.toml, scripts/. Prose
35+
# mentions in docs/README are allowed (they document the ban).
3336
run: |
34-
! grep -RInE '\b(pip install|pylint|black |mypy |poetry |pipenv)\b' \
35-
--include='Makefile' --include='*.yml' --include='*.yaml' \
36-
--include='*.toml' --include='*.md' .
37+
! grep -nE '\b(pip install|pylint|poetry run|pipenv)\b' \
38+
Makefile pyproject.toml scripts/*.py

0 commit comments

Comments
 (0)