Skip to content

Commit 9244ee6

Browse files
committed
Fixed som settings - #6
1 parent 97bed3f commit 9244ee6

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.githooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ echo "🔍 Running pre-commit checks..."
2121

2222
# Ruff check
2323
if [ "$RUN_RUFF" == "TRUE" ]; then
24-
printf "Pytest with coverage\r"
24+
printf "Ruff check.git\r"
2525
RUFF_OUT=$(ruff check --output-format=concise . 2>&1)
2626

2727
if [ $? -eq 0 ]; then

.github/instructions/summary.instructions.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,21 @@ applyTo: '**'
44
# Annotate summaries to issues
55

66
## Default behaviour
7-
If you recieved noting but a reference to this file, the default behaviour is to annotate a summary of the cahngeset to the issue being worked on.
7+
8+
If you recieved noting but a reference to this file, the default behaviour is to annotate a summary of the changeset to the issue being worked on.
89

910
## Use an itermediate md file
11+
1012
When in agent mode, and you are asked to create issues and comments to issues, please consider that I'm using zsh and unescaped use of backtick are likely to be mistaken as command substitutions. So for that reason prefer to generate the markdown in intermediate `*.md` files in the `./temp` folder and restrain from using the `--body` flag to `gh issue create` and `gh issue comment`. But favor the `--body-file` flag instead. Name the file the same as the branch we're working on, with a `.md` extension, and store it in the `./temp` folder. Open it in the editor for my review and annotations.
1113

1214
## Read issue number from branch name
15+
1316
When agent mode and I ask to _annotate a comment on the current changeset to the issue_ you can always read the implied issue number from the current git branch - development branches are prefixed with an integer, and that is a reference to the issue being worked on. The branch name is part of the zsh prompt in the @terminal, and can be directly accessed; The `$PS1` is set up to show the branch name too (e.g. `vscode ➜ /workspaces/gh-tt (321-Update_summary_instructions) $` equals issue 321). Let summary serve as a work log note to future self and current colleagues. It should summarize the changes made in the branch we're working on since we left `main`.
1417

1518
Equivalent to `git diff main...HEAD --name-status && git diff main...HEAD`.
1619

1720
## Change set summary
21+
1822
Only summarize on the accumulated change set in the branch. Do not dive into - or reference - the individual commits on the branch. The branch will be squashed into one commit before it hits main so no BOM (Bill of Material) is need - just a summary in prose. Make it a high-level overview of what was done (describe the changes), why it was done (the rationale behind our decisions), and any relevant context (maybe external links of general architectural or design decisions). The summary should have the header `## Change log summary` and even if I did ask you to create such a summary earlier on this branch, you should create the full change set summary again (don't just summarize the increment since last).
1923

2024
The purpose of the summary is to help my future self and current team mates to recall and understand the purpose of - and rationale behind - the changes without needing to read through all the code or commit messages.

.github/workflows/wrapup.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595

9696
markdown_linter:
9797
name: Linting
98+
needs: mark-pending
9899
permissions:
99100
statuses: write
100101
contents: read

cspell.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"ignorePaths": [
55
"**/node_modules/**",
66
"**/.git/**",
7-
"**/.github/**",
87
"**/.vscode/**",
98
"**/.cspell/**",
109
"**/logs/**",

0 commit comments

Comments
 (0)