This project uses mypy for static type checking. The mypy dependency is included in requirements-dev.txt.
To enable full type checking capabilities, Claude needs permission to run:
mypy servc --check-untyped-defs- Run type checking on the servc package with untyped function checkingpip install -r requirements-dev.txt- Install development dependencies including mypypython -m pip install -r requirements-dev.txt- Alternative pip installation method
The project includes type stubs and typing information:
servc/py.typed- Marks the package as type-aware- Type stubs for dependencies are included in requirements-dev.txt
- Install development dependencies:
pip install -r requirements-dev.txt - Run type checking:
mypy servc --check-untyped-defs - Fix any type issues before committing
This project uses Python's built-in unittest framework for testing. The coverage dependency is included in requirements-dev.txt for test coverage analysis.
To enable full unit testing capabilities, Claude needs permission to run:
python -m unittest discover tests- Run all unit tests in the tests directorypython -m unittest tests.test_config- Run specific test modulepython -m coverage run -m unittest discover tests- Run tests with coverage analysispython -m coverage report- Display coverage reportpython -m coverage html- Generate HTML coverage report
The project includes comprehensive unit tests:
tests/directory contains all test files- Test files follow the
test_*.pynaming convention - Uses standard unittest.TestCase classes for test organization
- Install development dependencies:
pip install -r requirements-dev.txt - Run all tests:
python -m unittest discover tests - Run tests with coverage:
python -m coverage run -m unittest discover tests - Check coverage report:
python -m coverage report - Fix any failing tests before committing
Claude requires the following Bash tool permissions:
pipcommands for dependency installationpythoncommands for running type checkers and unit testsmypycommands for static type analysis