generated from kyegomez/Python-Package-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kye
committed
Nov 9, 2023
1 parent
aa061f2
commit 90b2692
Showing
31 changed files
with
395 additions
and
337 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Navigate to the directory containing the 'swarms_torch' folder | ||
# cd /path/to/your/code/directory | ||
|
||
# Run autopep8 with max aggressiveness (-aaa) and in-place modification (-i) | ||
# on all Python files (*.py) under the 'swarms_torch' directory. | ||
autopep8 --in-place --aggressive --aggressive --recursive --experimental --list-fixes swarms_torch/ | ||
|
||
# Run black with default settings, since black does not have an aggressiveness level. | ||
# Black will format all Python files it finds in the 'swarms_torch' directory. | ||
black --experimental-string-processing swarms_torch/ | ||
|
||
# Run ruff on the 'swarms_torch' directory. | ||
# Add any additional flags if needed according to your version of ruff. | ||
ruff swarms_torch/ | ||
|
||
# YAPF | ||
# yapf --recursive --in-place --verbose --style=google --parallel swarms_torch |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ | |
) | ||
|
||
# Call the visualization function | ||
visualize_swarmalators(xi) | ||
visualize_swarmalators(xi) |
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 |
---|---|---|
@@ -1,3 +1,14 @@ | ||
torch | ||
einops | ||
pandas | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
mkdocs | ||
mkdocs-material | ||
mkdocs-glightbox |
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
Oops, something went wrong.