Skip to content

Commit 0ba9ecc

Browse files
Coding-Dev-ToolsDevForge EngineerSenior Dev Rotation
authored
chore: gitignore LEARNING/ and _cowork_ops/ operational state (#36)
* fix: sort imports with ruff I001 in scanner and tests * fix: resolve E501 line-too-long ruff violations in cli.py and tests * build: add py.typed to package-data config in pyproject.toml Adds include-package-data = true and explicit package-data entry for py.typed marker. The file physically exists in the package but was missing the setuptools config needed to include it in wheels. This ensures PEP 561 type checking support for package consumers. * test: verify py.typed package-data config in pyproject.toml Adds test_package_data_includes_py_typed to TestPackagingQuality, confirming py.typed is explicitly listed under [tool.setuptools.package-data] for the deadcode package. Bundled with the pyproject.toml config change as a related packaging quality improvement. * test: add __main__ entry point and CLI edge-case tests - test_main_module_runs_help: python -m deadcode --help covers __main__.py (0% coverage) - test_non_existent_project_exits_1: scan with nonexistent path exits 1 (cli.py:88-90) - 2 tests, 27 lines added * test: add format output tests for compact, github, pretty, and legacy json-output * fix: ruff I001 import sort in test_cli_edge_cases.py * test: add coverage for --fail threshold and --ignore flag Adds 2 new CLI edge case tests covering: - test_fail_threshold_exits_high — --fail=0 exits 1 when findings exist - test_ignore_flag_before_subcommand — --ignore group option excludes patterns These cover uncovered paths in cli.py (fail threshold logic) and _merge_config_ignore function. * test: add coverage for remove --dry-run and stats commands * fix: update site URLs back to devforge after repo rename * test: add coverage for config yaml-list edge case, removed-file skip, default imports, and ignore-spec filter paths * docs: add ops-heartbeat automation observations * chore: gitignore LEARNING/ and _cowork_ops/ operational state --------- Co-authored-by: DevForge Engineer <engineer@devforge.dev> Co-authored-by: Senior Dev Rotation <senior-dev@devforge.dev>
1 parent c0c632c commit 0ba9ecc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ Thumbs.db
7171
research/
7272
fixtures/generated/
7373
.ruff_cache/
74+
75+
# Operational state (not for commit)
76+
LEARNING/
77+
_cowork_ops/

0 commit comments

Comments
 (0)