Skip to content

Commit

Permalink
Bump to 0.10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
emdoyle committed Sep 2, 2024
1 parent 3ad4d0e commit e0e6e91
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tach"
version = "0.10.5"
version = "0.10.6"
edition = "2021"

[lib]
Expand Down
25 changes: 15 additions & 10 deletions docs/usage/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ options:
Specify an output path for a locally generated module graph file.
```
These are the results of `tach show --web` on the Tach codebase itself:
![tach show](assets/tach_show.png)
Expand Down Expand Up @@ -165,11 +164,10 @@ Using `pytest`, running `tach test` will perform [impact analysis](https://marti
This can dramatically speed up your test suite in CI, particularly when you make a small change to a large codebase.
This command also takes advantage of Tach's [computation cache](caching).
## tach check-external
Tach can validate that the external imports in your Python packages match your declared package dependencies in `pyproject.toml`.
```bash
usage: tach check-external [-h] [-e file_or_path,...]
Expand All @@ -191,13 +189,17 @@ This means that, although tests may pass in your shared environment, an invalid
In case you would like to explicitly allow a certain external module, this can be configured in your [`tach.toml`](configuration#external-checks)
<Note>It is recommended to run Tach within a virtual environment containing all of your dependencies across all packages. This is because Tach uses the distribution metadata to map module names like 'git' to their distributions ('GitPython').</Note>
<Note>
It is recommended to run Tach within a virtual environment containing all of
your dependencies across all packages. This is because Tach uses the
distribution metadata to map module names like 'git' to their distributions
('GitPython').
</Note>
## tach report-external
Tach can determine what external packages are used in a given path in your project.
```bash
usage: tach report-external [-h] [--raw] path
Expand Down Expand Up @@ -228,9 +230,12 @@ rich
to generate a minimal set of external dependencies for that source code.
<Note>It is recommended to run Tach within a virtual environment containing all of your dependencies across all packages. This is because Tach uses the distribution metadata to map module names like 'git' to their distributions ('GitPython').</Note>
<Note>
It is recommended to run Tach within a virtual environment containing all of
your dependencies across all packages. This is because Tach uses the
distribution metadata to map module names like 'git' to their distributions
('GitPython').
</Note>
## tach install
Expand All @@ -243,7 +248,7 @@ If you use the [pre-commit framework](https://github.com/pre-commit/pre-commit),
```yaml
repos:
- repo: https://github.com/gauge-sh/tach-pre-commit
rev: v0.10.5 # change this to the latest tag!
rev: v0.10.6 # change this to the latest tag!
hooks:
- id: tach
```
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tach"
version = "0.10.5"
version = "0.10.6"
authors = [
{ name = "Caelean Barnes", email = "[email protected]" },
{ name = "Evan Doyle", email = "[email protected]" },
Expand Down
2 changes: 1 addition & 1 deletion python/tach/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __future__ import annotations

__version__ = "0.10.5"
__version__ = "0.10.6"

__all__ = ["__version__"]
2 changes: 1 addition & 1 deletion python/tach/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
CONFIG_FILE_NAME = TOOL_NAME
PACKAGE_FILE_NAME = "package"
ROOT_MODULE_SENTINEL_TAG = "<root>"
TACH_YML_SCHEMA_URL = "https://raw.githubusercontent.com/gauge-sh/tach/v0.10.5/public/tach-yml-schema.json"
TACH_YML_SCHEMA_URL = "https://raw.githubusercontent.com/gauge-sh/tach/v0.10.6/public/tach-yml-schema.json"

DEFAULT_EXCLUDE_PATHS = ["tests", "docs", ".*__pycache__", ".*egg-info"]

Expand Down

0 comments on commit e0e6e91

Please sign in to comment.