Skip to content

Commit eff086c

Browse files
authored
style: 🎨 ran pre-commit hooks, apply fixes (#19)
## Description Ran pre-commit hooks on files with `spaid_setup_dev_workspace`. This ran hooks and fixes the whitespace and end of file issues. Doesn't need a review.
1 parent 55903f3 commit eff086c

File tree

10 files changed

+17
-21
lines changed

10 files changed

+17
-21
lines changed

.github/_project-dependabot.yml

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ updates:
1010
include: scope
1111
assignees:
1212
- "lwjohnst86"
13-

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

+2-4
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
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- name: Add issue or PR to project board
2323
uses: actions/[email protected]
24-
with:
24+
with:
2525
project-url: https://github.com/orgs/seedcase-project/projects/18
2626
github-token: ${{ secrets.ADD_TO_BOARD }}
2727

@@ -33,5 +33,3 @@ jobs:
3333
AUTHOR: ${{ github.event.pull_request.user.login }}
3434
PR: ${{ github.event.pull_request.html_url }}
3535
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
37-

.github/workflows/deploy-docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy documentation as website
22

33
on:
44
push:
5-
branches:
5+
branches:
66
- main
77
paths:
88
- docs/**
@@ -14,5 +14,5 @@ on:
1414
jobs:
1515
build-deploy-docs:
1616
uses: seedcase-project/.github/.github/workflows/deploy-docs-with-python.yml@main
17-
secrets:
17+
secrets:
1818
netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}

.vscode/python.code-snippets

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and
2+
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and
33
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
4-
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
4+
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
55
// same ids are connected.
66
// Example:
77
// "Print to console": {
@@ -13,7 +13,7 @@
1313
// "description": "Log output to console"
1414
// }
1515
"Insert a Python test": {
16-
"prefix": "test-aaa",
16+
"prefix": "test-aaa",
1717
"body": [
1818
"def test_$1():",
1919
" # Arrange",
@@ -25,9 +25,8 @@
2525
" # Assert",
2626
" $4",
2727
"",
28-
],
28+
],
2929
"description": "Create AAA test"
3030
}
3131

3232
}
33-

_extensions/seedcase-project/seedcase-theme/_extension.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ contributes:
1212
toc: true
1313
toc-location: right
1414
toc-depth: 3
15-
15+
1616
project:
1717
project:
1818
type: website
@@ -41,7 +41,7 @@ contributes:
4141
href: "https://community.seedcase-project.org/guides/"
4242
- text: "Funded by the Novo Nordisk Foundation"
4343
href: https://seedcase-project.org/#acknowledgements
44-
44+
4545
csl: vancouver.csl
4646

4747
format: seedcase-theme-html
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
1+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

_extensions/seedcase-project/seedcase-theme/logos/mjoelner-logo.svg

+1-1
Loading

_extensions/seedcase-project/seedcase-theme/logos/rm-logo.svg

+1-1
Loading

justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ add-test-data: install-deps update-migrations
4848
poetry run python manage.py loaddata */*/fixtures/*.json
4949

5050
# Reset local Sprout (remove __pycache__ folders, db, migrations, and persistent storage raw files)
51-
reset-local:
51+
reset-local:
5252
find . -type d -name "__pycache__" -exec rm -rf {} +
5353
find */**/migrations -type f ! -name '__init__.py' -exec rm {} \;
5454
rm db.sqlite3

ruff.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ target-version = "py310"
44
# In addition to the default formatters/linters, add these as well.
55
[lint]
66
extend-select = [
7-
# Add the `line-too-long` rule to the enforced rule set.
8-
"E501",
7+
# Add the `line-too-long` rule to the enforced rule set.
8+
"E501",
99
# Add rule that all functions have docstrings.
1010
"D",
1111
# Add isort to list.
@@ -26,4 +26,4 @@ docstring-code-format = true
2626
[lint.per-file-ignores]
2727
# ignore "Module imported but unused" error in all init files
2828
"__init__.py" = ["F401"]
29-
"**/tests/*" = ["D"]
29+
"**/tests/*" = ["D"]

0 commit comments

Comments
 (0)