Skip to content

Commit 8cfbdfa

Browse files
authored
chore: 🔀 general settings and config updates (#27)
## Description No review needed.
2 parents 06096aa + f8604f3 commit 8cfbdfa

File tree

4 files changed

+26
-49
lines changed

4 files changed

+26
-49
lines changed

.editorconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,3 @@ indent_size = 4
2121
[*.py]
2222
indent_style = space
2323
indent_size = 4
24-
25-
# Makefiles always use tabs for indentation
26-
[Makefile]
27-
indent_style = tab

.github/workflows/add-to-project.yml

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- opened
77
- reopened
88
- transferred
9-
pull_request:
9+
pull_request:
1010
types:
1111
- reopened
1212
- opened
@@ -16,22 +16,10 @@ permissions:
1616

1717
jobs:
1818
add-to-project:
19-
name: Add to project
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Add issue or PR to project board
23-
uses: actions/[email protected]
24-
with:
25-
project-url: https://github.com/orgs/seedcase-project/projects/18
26-
github-token: ${{ secrets.ADD_TO_BOARD }}
27-
28-
- name: Assign PR to creator
29-
if: ${{ github.event_name == 'pull_request' }}
30-
run: |
31-
gh pr edit $PR --add-assignee $AUTHOR
32-
env:
33-
AUTHOR: ${{ github.event.pull_request.user.login }}
34-
PR: ${{ github.event.pull_request.html_url }}
35-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
37-
19+
uses: seedcase-project/.github/.github/workflows/reusable-add-to-project.yml@main
20+
with:
21+
app-id: ${{ vars.ADD_TO_BOARD_APP_ID }}
22+
board-number: 18
23+
secrets:
24+
add-to-board-token: ${{ secrets.ADD_TO_BOARD }}
25+
gh-token: ${{ secrets.GITHUB_TOKEN }}

.vscode/extensions.json

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
{
2-
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3-
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4-
// List of extensions which should be recommended for users of this workspace.
5-
"recommendations": [
6-
"jebbs.plantuml",
7-
"donjayamanne.githistory",
8-
"felipecaputo.git-project-manager",
9-
"GitHub.vscode-pull-request-github",
10-
"ms-python.python",
11-
"ms-python.vscode-pylance",
12-
"njpwerner.autodocstring",
13-
"quarto.quarto",
14-
"streetsidesoftware.code-spell-checker",
15-
"vivaxy.vscode-conventional-commits",
16-
"charliermarsh.ruff",
17-
"pshaddel.conventional-branch"
18-
],
19-
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
20-
"unwantedRecommendations": []
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4+
// List of extensions which should be recommended for users of this workspace.
5+
"recommendations": [
6+
"donjayamanne.githistory",
7+
"felipecaputo.git-project-manager",
8+
"GitHub.vscode-pull-request-github",
9+
"ms-python.python",
10+
"ms-python.vscode-pylance",
11+
"njpwerner.autodocstring",
12+
"quarto.quarto",
13+
"vivaxy.vscode-conventional-commits",
14+
"pshaddel.conventional-branch"
15+
],
16+
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
17+
"unwantedRecommendations": []
2118
}

.vscode/settings.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,12 @@
2323
"chore", // Misc things, like renaming or deleting files
2424
],
2525
"conventional-branch.format": "{Type}/{Branch}",
26-
"[quarto][qmd]": {
26+
"[quarto][qmd][markdown][md]": {
2727
"editor.formatOnSave": false
2828
},
2929
"[python]": {
3030
"editor.defaultFormatter": "charliermarsh.ruff"
3131
},
3232
"python.languageServer": "Pylance",
33-
"files.insertFinalNewline": true,
34-
"cSpell.enableFiletypes": [
35-
"quarto"
36-
],
37-
"cSpell.language": "en,en-GB",
33+
"files.insertFinalNewline": true
3834
}

0 commit comments

Comments
 (0)