-
Notifications
You must be signed in to change notification settings - Fork 2
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
6 changed files
with
21 additions
and
354 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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
[build-system] | ||
requires = ["poetry-core"] | ||
requires = [ "poetry-core",] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
name = "substrate" | ||
version = "120240418.0.10" | ||
version = "120240430.0.0" | ||
description = "Substrate Python SDK" | ||
readme = "README.md" | ||
authors = ["vprtwn <[email protected]>", "liamgriffiths <[email protected]>"] | ||
authors = [ "vprtwn <[email protected]>", "liamgriffiths <[email protected]>",] | ||
[[tool.poetry.packages]] | ||
include = "substrate" | ||
|
||
[tool.pyright] | ||
typeCheckingMode = "basic" | ||
pythonVersion = "3.7" | ||
exclude = [".venv"] | ||
exclude = [ ".venv",] | ||
|
||
[tool.mypy] | ||
pretty = true | ||
|
@@ -36,6 +36,12 @@ cache_fine_grained = true | |
warn_unused_ignores = false | ||
warn_redundant_casts = false | ||
|
||
[tool.ruff] | ||
line-length = 120 | ||
output-format = "grouped" | ||
target-version = "py310" | ||
exclude = [ "examples/notebooks",] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9" | ||
networkx = ">=3.2.1" | ||
|
@@ -44,33 +50,24 @@ distro = ">=1.8.0" | |
typing-extensions = "^4.10.0" | ||
pydantic = ">=1.0.0" | ||
|
||
[tool.ruff] | ||
line-length = 120 | ||
output-format = "grouped" | ||
target-version = "py310" | ||
exclude = ["examples/notebooks"] | ||
|
||
[tool.ruff.lint] | ||
ignore-init-module-imports = true | ||
ignore = ["B006", "T201", "T203", "ARG002", "ARG001"] | ||
unfixable = ["T201", "T203"] | ||
select = ["I", "B", "F401", "E722", "ARG", "TCH004"] | ||
ignore = [ "B006", "T201", "T203", "ARG002", "ARG001",] | ||
unfixable = [ "T201", "T203",] | ||
select = [ "I", "B", "F401", "E722", "ARG", "TCH004",] | ||
|
||
[tool.ruff.format] | ||
docstring-code-format = true | ||
|
||
[tool.pytest.ini_options] | ||
markers = [ | ||
"unit: tests intended to be run against only local code - no external integrations", | ||
"e2e: tests intended to encapsulate the entire lifecycle of an interaction with the substrate system", | ||
] | ||
markers = [ "unit: tests intended to be run against only local code - no external integrations", "e2e: tests intended to encapsulate the entire lifecycle of an interaction with the substrate system",] | ||
|
||
[tool.ruff.lint.isort] | ||
length-sort = true | ||
length-sort-straight = true | ||
combine-as-imports = true | ||
extra-standard-library = ["typing_extensions"] | ||
known-first-party = ["substrate", "tests"] | ||
extra-standard-library = [ "typing_extensions",] | ||
known-first-party = [ "substrate", "tests",] | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pyright = ">=1.1.342" | ||
|
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 +1 @@ | ||
20240418.20240429 | ||
20240430.20240430 |
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,7 +1,7 @@ | ||
""" | ||
꩜ Substrate Python SDK | ||
20240418.20240429 | ||
20240430.20240430 | ||
""" | ||
|
||
from .nodes import ( | ||
|
Oops, something went wrong.