Skip to content

style: 🎨 ran pre-commit hooks, apply fixes #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/_project-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ updates:
include: scope
assignees:
- "lwjohnst86"

6 changes: 2 additions & 4 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- opened
- reopened
- transferred
pull_request:
pull_request:
types:
- reopened
- opened
Expand All @@ -21,7 +21,7 @@ jobs:
steps:
- name: Add issue or PR to project board
uses: actions/[email protected]
with:
with:
project-url: https://github.com/orgs/seedcase-project/projects/18
github-token: ${{ secrets.ADD_TO_BOARD }}

Expand All @@ -33,5 +33,3 @@ jobs:
AUTHOR: ${{ github.event.pull_request.user.login }}
PR: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}


4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy documentation as website

on:
push:
branches:
branches:
- main
paths:
- docs/**
Expand All @@ -14,5 +14,5 @@ on:
jobs:
build-deploy-docs:
uses: seedcase-project/.github/.github/workflows/deploy-docs-with-python.yml@main
secrets:
secrets:
netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
9 changes: 4 additions & 5 deletions .vscode/python.code-snippets
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
Expand All @@ -13,7 +13,7 @@
// "description": "Log output to console"
// }
"Insert a Python test": {
"prefix": "test-aaa",
"prefix": "test-aaa",
"body": [
"def test_$1():",
" # Arrange",
Expand All @@ -25,9 +25,8 @@
" # Assert",
" $4",
"",
],
],
"description": "Create AAA test"
}

}

4 changes: 2 additions & 2 deletions _extensions/seedcase-project/seedcase-theme/_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ contributes:
toc: true
toc-location: right
toc-depth: 3

project:
project:
type: website
Expand Down Expand Up @@ -41,7 +41,7 @@ contributes:
href: "https://community.seedcase-project.org/guides/"
- text: "Funded by the Novo Nordisk Foundation"
href: https://seedcase-project.org/#acknowledgements

csl: vancouver.csl

format: seedcase-theme-html
Original file line number Diff line number Diff line change
@@ -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"}
{"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"}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ add-test-data: install-deps update-migrations
poetry run python manage.py loaddata */*/fixtures/*.json

# Reset local Sprout (remove __pycache__ folders, db, migrations, and persistent storage raw files)
reset-local:
reset-local:
find . -type d -name "__pycache__" -exec rm -rf {} +
find */**/migrations -type f ! -name '__init__.py' -exec rm {} \;
rm db.sqlite3
Expand Down
6 changes: 3 additions & 3 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ target-version = "py310"
# In addition to the default formatters/linters, add these as well.
[lint]
extend-select = [
# Add the `line-too-long` rule to the enforced rule set.
"E501",
# Add the `line-too-long` rule to the enforced rule set.
"E501",
# Add rule that all functions have docstrings.
"D",
# Add isort to list.
Expand All @@ -26,4 +26,4 @@ docstring-code-format = true
[lint.per-file-ignores]
# ignore "Module imported but unused" error in all init files
"__init__.py" = ["F401"]
"**/tests/*" = ["D"]
"**/tests/*" = ["D"]