Skip to content

Commit 0bf8891

Browse files
OMpawar-21claude
andcommitted
docs: update pylint references to point to requirements-dev.txt
Addresses Copilot review comment — AGENTS.md and skills/dev-workflow/SKILL.md still referenced requirements.txt for pylint after it was moved to requirements-dev.txt. Also added pylint to the setup.py dev extra so `pip install -e ".[dev]"` installs it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 81d6307 commit 0bf8891

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
| Build | `setuptools` / `setup.py`; package `contentstack_management` |
1818
| HTTP | `requests`, `requests-toolbelt`, `urllib3` |
1919
| Tests | `pytest``tests/integration` (live e2e / sanity, dynamic stack), `tests/unit`, `tests/mock`, `tests/api` (legacy, superseded by `tests/integration`) |
20-
| Lint / coverage | `pylint`, `coverage` (see `requirements.txt`) |
20+
| Lint / coverage | `pylint`, `coverage` (see `requirements-dev.txt`) |
2121
| Secrets / hooks | Talisman, Snyk (see `README.md` development setup) |
2222

2323
## Source layout

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_author_email(package):
7272
"urllib3 >= 2.7.0,<3.0.0",
7373
],
7474
extras_require={
75-
"dev": ["pytest>=7.0", "twine>=4.0.2", "packaging>=24.0", "dotenv>=0.0.5"],
75+
"dev": ["pytest>=7.0", "twine>=4.0.2", "packaging>=24.0", "dotenv>=0.0.5", "pylint>=2.0.0"],
7676
},
7777
python_requires=">=3.9",
7878
)

skills/dev-workflow/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description: Use for install, pytest suites, versioning, pylint, hooks, and PR b
1919

2020
### Before a PR
2121

22-
1. **Install**`pip install -e ".[dev]"` or install **`requirements.txt`** plus **pytest** / **pytest-cov** as needed.
22+
1. **Install**`pip install -e ".[dev]"` then `pip install -r requirements-dev.txt` for linting tools.
2323
2. **`pytest tests/unit/`** — required baseline (matches CI **`coverage run -m pytest tests/unit/`**).
2424
3. **API tests**`pytest tests/api/` when your change affects live CMA behavior; configure **`.env`** per **`tests/cred.py`**. Never commit tokens.
2525
4. **Mock tests**`pytest tests/mock/` when extending mocked HTTP or fixtures.
@@ -30,7 +30,7 @@ description: Use for install, pytest suites, versioning, pylint, hooks, and PR b
3030

3131
### Tooling
3232

33-
- **pylint** is listed in **`requirements.txt`**; follow existing style in touched files.
33+
- **pylint** is listed in **`requirements-dev.txt`**; follow existing style in touched files.
3434
- **Husky / Talisman / Snyk** — see **README.md** for local hook setup.
3535

3636
### Pull requests

0 commit comments

Comments
 (0)