Skip to content

Commit

Permalink
Hintrunner package structure (#192)
Browse files Browse the repository at this point in the history
* change hintrunner structure

* fix linting errors

* fix lint errors
  • Loading branch information
cicr99 authored Jan 30, 2024
1 parent c82a6b9 commit c0b8fdd
Show file tree
Hide file tree
Showing 24 changed files with 944 additions and 920 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ linters:
run:
skip-files:
- pkg/assembler/grammar.go
- pkg/hintrunner/hintparser.go
- pkg/hintrunner/zero/hintparser.go
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: lint build clean test help format staticcheck pre-commit

GOPATH_DIR=`go env GOPATH`
GOPATH_DIR :=`go env GOPATH`
BINARY_DIR := bin
BINARY_NAME := cairo-vm

Expand Down Expand Up @@ -59,5 +59,5 @@ bench:
# Use the same version of the golangci-lint as in our CI linting config.
lint:
go install github.com/golangci/golangci-lint/cmd/[email protected]
golangci-lint run ./...
golangci-lint run ./... -v
@echo "lint: all good!"
2 changes: 1 addition & 1 deletion cmd/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"math"
"os"

hintrunner "github.com/NethermindEth/cairo-vm-go/pkg/hintrunner"
hintrunner "github.com/NethermindEth/cairo-vm-go/pkg/hintrunner/zero"
zero "github.com/NethermindEth/cairo-vm-go/pkg/parsers/zero"
runnerzero "github.com/NethermindEth/cairo-vm-go/pkg/runners/zero"
"github.com/urfave/cli/v2"
Expand Down
Loading

0 comments on commit c0b8fdd

Please sign in to comment.