Tach
Tach configuration file
| Type | object |
|---|---|
| File match |
tach.toml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/tach/latest.json |
| Source | https://raw.githubusercontent.com/gauge-sh/tach/refs/heads/main/public/tach-toml-schema.json |
Validate with Lintel
npx @lintel/lintel check
Project-level configuration for the Tach CLI
Properties
List of module configurations
[]
List of interface configurations
[]
1 nested properties
List of external dependency names to ignore during checks
1 nested properties
1 nested properties
The settings module to use for Django
When enabled, modules must explicitly declare dependencies on other layers using depends_on, even when those dependencies would be allowed by the layer hierarchy. Utility modules remain accessible without explicit declaration.
List of layers in hierarchical order (highest to lowest). Each layer can be specified as a string (shorthand) or an object with name and optional closed property.
3 nested properties
Cache backend type (currently not configurable, 'local' only)
List of files that trigger cache invalidation
[]
List of environment variables that trigger cache invalidation
[]
4 nested properties
How to handle unused ignore directives
How to handle require ignore directive reasons
How to handle unused external dependencies
How to handle imports that are not at the global scope (e.g. within a function, class, or control structure)
List of paths to exclude from the project; relative to the project root
Root directories of Python source code; relative to the project root
Disallow listed dependencies that are not used in the project
Exclude files and directories matched by '.gitignore'
How to treat code outside of explicitly listed modules
Ignore type-checking imports when checking module boundaries
Cause tach check to fail if any circular dependencies are detected