Skip to content

Commit e5a1476

Browse files
authored
Minor formatting tweaks (#9)
1 parent e4664cf commit e5a1476

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

plugins/astral/skills/ruff/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ However, avoid making unnecessary changes:
2727

2828
## How to invoke ruff
2929

30-
- **`uv run ruff ...`** (recommended) - Use when ruff is in the project's
31-
dependencies to ensure you use the pinned version
32-
- **`uvx ruff ...`** - Use when ruff is not a project dependency, or for quick
30+
- `uv run ruff ...` - Use when ruff is in the project's dependencies to ensure
31+
you use the pinned version
32+
- `uvx ruff ...` - Use when ruff is not a project dependency, or for quick
3333
one-off checks
34-
- **`ruff ...`** - Use if ruff is installed globally
34+
- `ruff ...` - Use if ruff is installed globally
3535

3636
## Commands
3737

plugins/astral/skills/ty/SKILL.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ mypy, Pyright, and other type checkers.
1919

2020
## How to invoke ty
2121

22-
- **`uv run ty ...`** (recommended) - Use when ty is in the project's
23-
dependencies to ensure you use the pinned version
24-
- **`uvx ty ...`** - Use when ty is not a project dependency, or for quick
25-
one-off checks
26-
- **`ty ...`** - Use if ty is installed globally
22+
- `uv run ty ...` - Use when ty is in the project's dependencies to ensure you
23+
use the pinned version or when ty is installed globally and you are in a
24+
project so the virtual environment is updated.
25+
- `uvx ty ...` - Use when ty is not a project dependency, or for quick one-off
26+
checks
2727

2828
## Commands
2929

@@ -117,13 +117,13 @@ explicitly requested by the user. Use `ty: ignore`, not `type: ignore`, and
117117
prefer rule-specific ignores:
118118

119119
```python
120-
# Prefer: rule-specific ignore
120+
# Good: rule-specific ignore
121121
x = undefined_var # ty: ignore[possibly-unresolved-reference]
122122

123-
# Avoid: blanket ignore
123+
# Bad: blanket ty ignore
124124
x = undefined_var # ty: ignore
125125

126-
# Don't use type: ignore
126+
# Bad: tool agnostic blanket ignore
127127
x = undefined_var # type: ignore
128128
```
129129

0 commit comments

Comments
 (0)