-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace pdm with uv. This speeds up EOS installs by 4x. * Use exact dependency versions in pyproject.toml
- Loading branch information
1 parent
ddb3c26
commit eb4d6ec
Showing
14 changed files
with
3,815 additions
and
3,862 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import subprocess | ||
|
||
|
||
def main(): | ||
subprocess.run(["coverage", "html"], check=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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,14 @@ | ||
import subprocess | ||
from pathlib import Path | ||
|
||
|
||
def main(): | ||
docs_dir = Path("docs") | ||
build_dir = docs_dir / "_build" | ||
|
||
cmd = ["sphinx-build", str(docs_dir), str(build_dir)] | ||
subprocess.run(cmd, check=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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,17 @@ | ||
import subprocess | ||
from pathlib import Path | ||
|
||
|
||
def main(): | ||
docs_dir = Path("docs") | ||
build_dir = docs_dir / "_build" | ||
nojekyll_file = build_dir / ".nojekyll" | ||
|
||
cmd = ["sphinx-build", str(docs_dir), str(build_dir)] | ||
subprocess.run(cmd, check=True) | ||
|
||
nojekyll_file.touch(exist_ok=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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,26 @@ | ||
import subprocess | ||
from pathlib import Path | ||
|
||
|
||
def main(): | ||
docs_dir = Path("docs") | ||
build_dir = docs_dir / "_build" | ||
|
||
cmd = [ | ||
"sphinx-autobuild", | ||
str(docs_dir), | ||
str(build_dir), | ||
"-j", | ||
"auto", | ||
"--watch", | ||
"eos", | ||
"--watch", | ||
"docs", | ||
"--port", | ||
"8002", | ||
] | ||
subprocess.run(cmd, check=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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,9 @@ | ||
import subprocess | ||
|
||
|
||
def main(): | ||
subprocess.run(["black", "."], check=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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,9 @@ | ||
import subprocess | ||
|
||
|
||
def main(): | ||
subprocess.run(["ruff", "check", "eos", "tests"]) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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,11 @@ | ||
import subprocess | ||
import sys | ||
|
||
|
||
def main(): | ||
cmd = ["pytest"] + sys.argv[1:] | ||
subprocess.run(cmd, check=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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,9 @@ | ||
import subprocess | ||
|
||
|
||
def main(): | ||
subprocess.run(["pytest", "--cov=eos"], check=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
Oops, something went wrong.