Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f15dc55
fix: add example python call and add comments elsewhere
tlokeshrao Sep 18, 2025
7c2fb64
fix: remove int cast
tlokeshrao Sep 18, 2025
9b69f15
Delete py/__pycache__ directory
tlokeshrao Sep 18, 2025
4c805f7
fix: add pycache to gitignore
tlokeshrao Sep 18, 2025
1ffe585
Merge pull request #13 from SEMOSS/default-app
rithvik-doshi Sep 22, 2025
dcaa891
Merge branch 'default-app' of github.com:SEMOSS/Template into default-py
tevanburen Sep 24, 2025
28f3642
fix: updated with new semoss py helper
tlokeshrao Sep 30, 2025
e76bf5b
Delete py/rando.py
tlokeshrao Oct 6, 2025
45b8738
Merge branch 'default-app' into default-py
tlokeshrao Oct 6, 2025
cec4f6f
Merge branch 'default-app' of github.com:SEMOSS/Template into default-py
tevanburen Oct 6, 2025
eb7fda7
Merge branch 'default-app' of github.com:SEMOSS/Template into default-py
tevanburen Oct 6, 2025
4be6ae0
Merge branch 'default-app' of github.com:SEMOSS/Template into default-py
tevanburen Oct 6, 2025
ad49168
feat: call call pyton
tevanburen Oct 15, 2025
83f3821
feat: python
tevanburen Oct 15, 2025
af6d5d3
fix: py
tevanburen Oct 15, 2025
a75a662
fix: tejas momentus
rithvik-doshi Oct 15, 2025
d294b55
fix: oop
rithvik-doshi Oct 15, 2025
50b1a1d
feat: nice cool workflow
rithvik-doshi Oct 15, 2025
66323f0
fix: oh
rithvik-doshi Oct 15, 2025
80a22c2
Update Python version in pre-commit workflow
rithvik-doshi Oct 15, 2025
03ca08a
fix: ux
tevanburen Oct 15, 2025
d4eba2e
Merge branch 'default-py' of github.com:SEMOSS/Template into default-py
tevanburen Oct 15, 2025
9e0f107
feat: up
tevanburen Oct 17, 2025
6ee33bf
fix(style/chore): moar docs
rithvik-doshi Oct 17, 2025
dd4440c
Merge branch 'default-py' of https://github.com/SEMOSS/Template into …
rithvik-doshi Oct 17, 2025
0e6f50e
fix: Changed package.json to have &&
spatel776 Oct 17, 2025
398c790
feat: format
tevanburen Oct 17, 2025
db3cbcd
muahaha
tevanburen Oct 17, 2025
d8190c7
Revert "muahaha"
tevanburen Oct 17, 2025
35dec07
feat: vscode
tevanburen Oct 17, 2025
fe53c99
Update .pre-commit-config.yaml
rithvik-doshi Oct 22, 2025
436bdad
ci: frontend lint
rithvik-doshi Oct 22, 2025
d47c9b4
ci: run instead of lint-staged
rithvik-doshi Oct 22, 2025
f389926
ci: biome
rithvik-doshi Oct 22, 2025
1a6c415
ci: biome check
rithvik-doshi Oct 22, 2025
f6b1501
ci: this should hopefully work plssss
rithvik-doshi Oct 23, 2025
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
40 changes: 40 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Pre-commit

on:
pull_request:
branches: [ default-app ]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '24'

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Install dependencies and run frontend linting
run: |
if [ -d "client" ]; then
pnpm install
pnpm exec biome format --write && pnpm exec biome lint
else
echo "No client directory found, skipping frontend linting"
fi

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12.9'

# Official pre-commit action handles caching automatically
- uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files --show-diff-on-failure
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ target/
java/project.properties
.admin/
.DS_Store
.vscode/
**/.env
!client/.env

# cache
py/__pycache__/
.classpath
.project
.settings/
26 changes: 25 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,32 @@ repos:
- id: isort
args: ['--profile', 'black']
files: '^py.*\.py$'
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.2
hooks:
- id: mypy
files: '\.py$'
args: [
"--ignore-missing-imports",
"--show-error-codes",
"--explicit-package-bases",
"--allow-untyped-defs",
"--allow-incomplete-defs",
"--allow-untyped-calls",
"--no-strict-optional",
"--disable-error-code=misc",
"--disable-error-code=no-any-return",
"--disable-error-code=name-defined",
"--disable-error-code=attr-defined"
]
additional_dependencies: [ # Continue to add dependencies here that have mypy extensions, such as pydantic
"types-requests",
"types-toml",
"pandas-stubs",
"numpy"
]
- repo: https://github.com/pamoller/xmlformatter
rev: v0.2.8
hooks:
- id: xml-formatter
files: '^.*\.xml$'
files: '^.*\.xml$'
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"java.configuration.updateBuildConfiguration": "automatic",
"java.compile.nullAnalysis.mode": "automatic",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit",
"source.fixAll.biome": "explicit"
},
"[java]": {
"editor.defaultFormatter": null,
"editor.codeActionsOnSave": {}
}
}
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
"$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
12 changes: 6 additions & 6 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^7.3.4",
"@mui/material": "^7.3.4",
"@mui/x-data-grid": "^8.13.1",
"@mui/x-date-pickers": "^8.12.0",
"@mui/x-data-grid": "^8.14.1",
"@mui/x-date-pickers": "^8.14.1",
"@semoss/sdk": "1.0.0-beta.31",
"@semoss/sdk-react": "1.0.0-beta.20",
"dayjs": "^1.11.18",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^7.9.3"
"react-router-dom": "^7.9.4"
},
"devDependencies": {
"@types/node": "^24.6.2",
"@types/react": "^18.3.25",
"@types/node": "^24.8.1",
"@types/react": "^18.3.26",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "^5.0.4",
"typescript": "^5.9.3",
"vite": "^7.1.9"
"vite": "^7.1.10"
}
}
Loading