Skip to content

Commit e96d5f1

Browse files
committed
chore: update IA instruction
1 parent d43c422 commit e96d5f1

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

.coderabbit.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,27 @@ reviews:
1010
collapse_walkthrough: false
1111
path_filters:
1212
- "!basilisk/res/**"
13-
path_instructions: []
13+
path_instructions:
14+
- path: "**/*.py"
15+
instructions: |
16+
## Indentation
17+
We use tabs, not spaces.
18+
## naming conventions
19+
- **snake_case** for variables and functions
20+
- **PascalCase** for classes
21+
- **UPPER_SNAKE_CASE** for constants
22+
- **snake_case** for files and directories
23+
- Use **whole words** in names when possible
24+
## documentation
25+
- Use **docstrings** for all public classes and functions
26+
- Use **type hints** for all public classes and functions
27+
- Use **google style** for docstrings
28+
## Strings
29+
- Always use **double quotes** for strings
30+
- Use **percent formatting** for string
31+
- Use **\_("string")** for translatable strings
32+
- Use \*\*# translator: \*\* with context for translatable strings
33+
1434
tools:
1535
github-checks:
1636
enabled: true

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ We use tabs, not spaces.
2929
## Strings
3030

3131
- Always use **double quotes** for strings
32-
- Use **f-strings** for string formatting
32+
- Use **percent formatting** for string
3333
- Use **\_("string")** for translatable strings
3434
- Use \*\*# translator: \*\* with context for translatable strings

0 commit comments

Comments
 (0)