> ## Documentation Index
> Fetch the complete documentation index at: https://aspect.build/llms.txt
> Use this file to discover all available pages before exploring further.

# Tips

`function` **Tips.config\_silence**

<pre language="python">
  `def Tips.config_silence(
  *,
  user: None | str = None,
  repo: None | str = None
  ) -> typing.Any`
</pre>

The tips the `config.json` files silence, as a struct: `user`, the ids in `tips.silence` of the user's `~/.aspect/config.json`; `repo`, those of the repository's `.aspect/config.json`; and `warnings`, what is wrong with an invalid one, whose ids are left out, each warning returned once per process. `user` and `repo` name other files (`""` for none).

`function` **Tips.is\_tip\_id**

<pre language="python">
  `def Tips.is_tip_id(
  id: str,
  /
  ) -> bool`
</pre>

Whether `id` can be a tip's id: not empty, and no whitespace or comma (`--tips:silence=a,b` is one id, so a comma is always a mistake).

`function` **Tips.silence**

<pre language="python">
  `def Tips.silence(
  id: str | list[str] | tuple[str, ...],
  /,
  *,
  path: None | str = None
  ) -> typing.Any`
</pre>

Add `id` (one id, or a list) to `tips.silence` of the user's `~/.aspect/config.json` (or the file at `path`) in one write, creating it when missing, under a lock and atomically, every other key kept. `None` when done, already silenced included; else why not, as a string, and nothing written (one bad id writes none).

`function` **Tips.unsilence**

<pre language="python">
  `def Tips.unsilence(
  id: str | list[str] | tuple[str, ...],
  /,
  *,
  path: None | str = None
  ) -> typing.Any`
</pre>

Remove `id` (one id, or a list) from `tips.silence` of the user's `~/.aspect/config.json` (or the file at `path`), as `silence` writes it. `None` when done, already absent included; else why not, as a string, and nothing written.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.