Skip to content

Commit a4e4a5e

Browse files
committed
✏️ FIX: Little typos
1 parent 6973c8d commit a4e4a5e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/guides/python/lint-format-typing.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Linting, Formatting and Type Checking for Python
3-
linkTitle: Linting and Typing
2+
title: Linting, formatting, and type checking for Python
3+
linkTitle: Linting and typing
44
weight: 25
55
keywords: Python, linting, formatting, type checking, ruff, pyright
66
description: Learn how to set up linting, formatting and type checking for your Python application.
@@ -20,7 +20,7 @@ In this section, you'll learn how to set up code quality tools for your Python a
2020
- Static type checking with Pyright
2121
- Automating checks with pre-commit hooks
2222

23-
## Linting and Formatting with Ruff
23+
## Linting and formatting with Ruff
2424

2525
Ruff is an extremely fast Python linter and formatter written in Rust. It replaces multiple tools like flake8, isort, and black with a single unified tool.
2626

@@ -64,7 +64,7 @@ ruff check --fix .
6464
ruff format .
6565
```
6666

67-
## Type Checking with Pyright
67+
## Type checking with Pyright
6868

6969
Pyright is a fast static type checker for Python that works well with modern Python features.
7070

@@ -87,10 +87,10 @@ pyright
8787

8888
## Setting up pre-commit hooks
8989

90-
Pre-commit hooks automatically run checks before each commit. in `.pre-commit-config.yaml` sets up Ruff:
90+
Pre-commit hooks automatically run checks before each commit. in `.pre-commit-config.yaml` snippet sets up Ruff:
9191

9292
```yaml
93-
: https: https://github.com/charliermarsh/ruff-pre-commit
93+
https: https://github.com/charliermarsh/ruff-pre-commit
9494
rev: v0.2.2
9595
hooks:
9696
- id: ruff
@@ -115,8 +115,8 @@ In this section, you learned how to:
115115

116116
These tools help maintain code quality and catch errors early in development.
117117

118-
## Next Steps
118+
## Next steps
119119

120-
- [Configure Github Actions](configure-github-actions.md) to run these checks automatically
120+
- [Configure GitHub Actions](configure-github-actions.md) to run these checks automatically
121121
- Customize linting rules to match your team's style preferences
122122
- Explore advanced type checking features

0 commit comments

Comments
 (0)