File: copilot-instructions.md

package info (click to toggle)
translate-toolkit 3.17.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,780 kB
  • sloc: python: 69,719; sh: 1,412; makefile: 186; xml: 48
file content (28 lines) | stat: -rw-r--r-- 722 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copilot Instructions for translate-toolkit

# Existing documentation

Follow existing contributor documentation in `docs/developers/`.

## Code Style and Standards

- Follow PEP 8 standards
- Use type annotations

### Linting and Formatting

- Pre-commit hooks are configured (`.pre-commit-config.yaml`)
- Use pylint for Python code quality
- Follow existing code formatting patterns
- Run `pre-commit run --all-files` before committing
- Type check new code with `mypy`

## Documentation

- Document new feature in `docs/`

### Dependencies

- Manage dependencies in `pyproject.toml`
- Use dependency groups for different environments (dev, test, docs, etc.)
- Keep dependencies up to date with security considerations