-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from madlabman/main
build: make installable via poetry / pipx
- Loading branch information
Showing
12 changed files
with
108 additions
and
73 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from typing import TypedDict | ||
|
||
|
||
class Config(TypedDict): | ||
contracts: dict[str, str] | ||
network: str | ||
github_repo: str | ||
dependencies: dict[str, str] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,25 +1,37 @@ | ||
[tool.poetry] | ||
name = "explorer-github-diff-checker" | ||
version = "0.2.0" | ||
name = "diffyscan" | ||
version = "0.0.0" | ||
description = "Diff your Ethereum smart contracts code from GitHub against Blockchain explorer verified source code." | ||
authors = ["Azat Serikov <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
repository = "https://github.com/lidofinance/diffyscan" | ||
|
||
keywords = ["ethereum", "diff", "sources"] | ||
package-mode = false | ||
|
||
package-mode = true | ||
packages = [{ include = "diffyscan"}] | ||
exclude = ["config_samples"] | ||
|
||
[tool.poetry.scripts] | ||
diffyscan = "diffyscan.diffyscan:main" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.10,<4" | ||
requests = "^2.32.2" | ||
termtables = "^0.2.4" | ||
|
||
[tool.poetry.dev-dependencies] | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
black = "^24.4.2" | ||
|
||
[tool.poetry-dynamic-versioning] | ||
enable = true | ||
vcs = "git" | ||
style = "semver" | ||
metadata = false | ||
|
||
[tool.poetry-dynamic-versioning.substitution] | ||
files = ["diffyscan/diffyscan.py"] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.9.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] | ||
build-backend = "poetry_dynamic_versioning.backend" |
This file was deleted.
Oops, something went wrong.