Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test and linting dependencies #623

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "aleph-vm"
dynamic = ["version"]
description = "Aleph.im VM execution engine"
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"
license = {file = "LICENSE"}
keywords = []
authors = [
Expand Down Expand Up @@ -86,10 +86,10 @@ check = "aleph-vm controller run {args:--help}"
type = "virtual"
system-packages = true
dependencies = [
"pytest==8.0.1",
"pytest-cov==4.1.0",
"pytest-mock==3.12.0",
"pytest-asyncio==0.23.5",
"pytest==8.2.1",
"pytest-cov==5.0.0",
"pytest-mock==3.14.0",
"pytest-asyncio==0.23.7",
"pytest-aiohttp==1.0.5",
]
[tool.hatch.envs.testing.scripts]
Expand All @@ -105,14 +105,14 @@ cov = [
]

[[tool.hatch.envs.all.matrix]]
python = ["3.9", "3.10", "3.11", "3.12"]
python = ["3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
detached = true
dependencies = [
"black==24.1.1",
"black==24.3.0",
"mypy==1.8.0",
"ruff==0.1.15",
"ruff==0.4.6",
"isort==5.13.2",
]
[tool.hatch.envs.lint.scripts]
Expand Down Expand Up @@ -151,16 +151,17 @@ line-length = 120
#skip-string-normalization = true

[tool.mypy]
python_version = "3.9"
python_version = "3.10"
install_types = true
non_interactive = true
ignore_missing_imports = true
explicit_package_bases = true
check_untyped_defs = true

[tool.ruff]
target-version = "py39"
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = [
"A",
"ARG",
Expand Down Expand Up @@ -205,13 +206,12 @@ ignore = [
# "F401",
#]

[tool.ruff.isort]
known-first-party = ["aleph.vm"]
isort.known-first-party = ["aleph.vm"]

#[tool.ruff.flake8-tidy-imports]
#ban-relative-imports = "all"

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
# Tests can use magic values, assertions, and relative imports
"tests/**/*" = ["PLR2004", "S101", "TID252"]

Expand Down
Loading