Thank you for contributing to Path Header Scanner.
This project aims to provide a clean, professional CLI tool for inserting, validating, and updating file path headers across source code and documentation files.
All contributions must follow:
- Simplicity
- Readability
- Maintainability
- Consistency
app/
├── cli/
├── config/
├── constants/
├── core/
├── languages/
├── models/
├── services/
├── templates/
├── theme/
├── ui/
├── utils/
├── __init__.py
├── __version__.py
└── __main__.py
See full structure in project_structure.md.
Each module has a clear responsibility. Avoid mixing concerns.
Every function must include:
def example(arg: str) -> str:
"""
Short description.
Args:
arg (str): Description
Returns:
str: Description
Raises:
ValueError: Description
"""Each file must start with:
"""
Description of the module.
"""Always use:
import logging
logger = logging.getLogger(__name__)Examples:
logger.info("Processing...")
logger.debug("Details: %s", data)
logger.error("Error occurred: %s", error)- Must be consistent
- Must not break existing commands
- Must support config + CLI overrides
(Will be added in future phase)
- Add unit tests for new logic
- Ensure CLI commands work as expected
- Fork the repository
- Create a feature branch
- Implement changes
- Add/update documentation
- Submit Pull Request
- Keep commits clean and meaningful
- Avoid unnecessary complexity
- Prefer explicit over implicit