generated from specklesystems/speckle_automate_python_example
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor code structure and file organization
- Renamed directories and files to follow a more organized structure - Updated import statements in affected files to reflect the new directory structure
- Loading branch information
1 parent
6eba125
commit d09e5c7
Showing
16 changed files
with
67 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,14 +27,14 @@ jobs: | |
- name: Extract functionInputSchema | ||
id: extract_schema | ||
run: | | ||
python main.py generate_schema ${HOME}/${{ env.FUNCTION_SCHEMA_FILE_NAME }} | ||
python src/main.py generate_schema ${HOME}/${{ env.FUNCTION_SCHEMA_FILE_NAME }} | ||
- name: Speckle Automate Function - Build and Publish | ||
uses: specklesystems/[email protected] | ||
with: | ||
speckle_automate_url: ${{ env.SPECKLE_AUTOMATE_URL || 'https://automate.speckle.dev' }} | ||
speckle_token: ${{ secrets.SPECKLE_FUNCTION_TOKEN }} | ||
speckle_function_id: ${{ secrets.SPECKLE_FUNCTION_ID }} | ||
speckle_function_input_schema_file_path: ${{ env.FUNCTION_SCHEMA_FILE_NAME }} | ||
speckle_function_command: 'python -u main.py run' | ||
speckle_function_command: 'python -u src/main.py run' | ||
speckle_function_recommended_cpu_m: 4000 | ||
speckle_function_recommended_memory_mi: 4000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ version = "0.1.0" | |
description = "Examine model health by identifying areas of high mesh density as possible perfomance issues." | ||
authors = ["Jonathon Broughton <[email protected]>"] | ||
readme = "README.md" | ||
packages = [{ include = "src" }] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.11" | ||
|
@@ -25,6 +26,7 @@ requires = ["poetry-core"] | |
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.ruff] | ||
line-length = 88 | ||
select = [ | ||
"E", # pycodestyle | ||
"F", # pyflakes | ||
|
@@ -34,4 +36,4 @@ select = [ | |
] | ||
|
||
[tool.ruff.pydocstyle] | ||
convention = "google" | ||
convention = "google" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters