Migrated from Pyrefly to ty (#33)
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "peakrdl-busdecoder"
|
||||
version = "0.6.4"
|
||||
version = "0.6.5"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"jinja2~=3.1",
|
||||
@@ -65,7 +65,7 @@ test = [
|
||||
"cocotb>=1.8.0",
|
||||
"cocotb-bus>=0.2.1",
|
||||
]
|
||||
tools = ["pyrefly>=0.37.0", "ruff>=0.14.0"]
|
||||
tools = ["ty>=0.0.7", "ruff>=0.14.0"]
|
||||
|
||||
[project.entry-points."peakrdl.exporters"]
|
||||
busdecoder = "peakrdl_busdecoder.__peakrdl__:Exporter"
|
||||
@@ -100,15 +100,12 @@ ignore = [
|
||||
quote-style = "double"
|
||||
indent-style = "space"
|
||||
|
||||
# ---------------------- PYREFLY ----------------------
|
||||
[tool.pyrefly]
|
||||
# ---------------------- TY ----------------------
|
||||
[tool.ty.environment]
|
||||
python-version = "3.10"
|
||||
|
||||
# Default behavior: check bodies of untyped defs & infer return types.
|
||||
untyped-def-behavior = "check-and-infer-return-type"
|
||||
|
||||
project-includes = ["src/**/*"]
|
||||
project-excludes = ["**/__pycache__", "**/*venv/**/*"]
|
||||
[tool.ty.src]
|
||||
include = ["src"]
|
||||
|
||||
# ---------------------- PYTEST ----------------------
|
||||
[tool.pytest.ini_options]
|
||||
|
||||
Reference in New Issue
Block a user