forked from keep-starknet-strange/raito
-
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.
- Loading branch information
Showing
69 changed files
with
2,609 additions
and
834 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Python Lint and Formatting Check | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
name: Lint and Format Check | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 black | ||
- name: Lint with flake8 | ||
run: | | ||
flake8 scripts/ --count --select=E9,F63,F7,F82 --show-source --statistics | ||
flake8 scripts/ --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics | ||
- name: Check code formatting with black | ||
run: | | ||
black --check scripts/ |
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ Cargo.lock | |
.python-version | ||
__pycache__ | ||
|
||
.raito | ||
.client_cache/ |
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
[package] | ||
name = "raito" | ||
version = "0.1.0" | ||
edition = "2024_07" | ||
|
||
[scripts] | ||
regenerate_tests= "./scripts/data/regenerate_tests.sh" | ||
integration_tests = "scarb build && ./scripts/data/integration_tests.sh" | ||
client= "scarb build && ./scripts/data/client.sh" | ||
test = "scarb cairo-test && scarb run integration_tests" | ||
[workspace] | ||
members = ["packages/*"] | ||
|
||
[dependencies] | ||
[workspace.package] | ||
description = "Bitcoin ZK client." | ||
cairo-version = "2.8.2" | ||
version = "0.1.0" | ||
readme = "README.md" | ||
repository = "https://github.com/keep-starknet-strange/raito" | ||
license-file = "LICENSE" | ||
|
||
[dev-dependencies] | ||
[workspace.dependencies] | ||
cairo_test = "2.8.0" |
Oops, something went wrong.