Installation¶
t-linter can be installed in three ways depending on your use case.
Option 1: VSCode Extension (Recommended for VSCode users)¶
Step 1: Install the t-linter binary
Install t-linter as a project dependency (recommended):
For better project isolation, add it to your project's requirements:
Step 2: Install the VSCode extension
Install the extension from the Visual Studio Code Marketplace:
- Open VSCode
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "t-linter"
- Click Install on "T-Linter - Python Template Strings Highlighter & Linter" by koxudaxi
Install from VSCode Marketplace
Option 2: PyPI Package Only (CLI tool and LSP server)¶
For command-line usage or integration with other editors:
Or add to your project's dependencies:
This provides the t-linter command-line tool and LSP server without the VSCode extension.
Option 3: Build from Source¶
For development or bleeding-edge features:
Note
Building from source requires the Rust toolchain.