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

chore: rename hatch lint env to linting #706

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/test-using-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:

- name: Test style wth ruff, black and isort
run: |
hatch run lint:style
hatch run linting:style

- name: Test typing with Mypy
run: |
hatch run lint:typing
hatch run linting:typing

- name: Install required system packages for installing and running tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ cov = [
[[tool.hatch.envs.all.matrix]]
python = ["3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
[tool.hatch.envs.linting]
detached = true
dependencies = [
"black==24.3.0",
"mypy==1.8.0",
"ruff==0.4.6",
"isort==5.13.2",
]
[tool.hatch.envs.lint.scripts]
[tool.hatch.envs.linting.scripts]
typing = "mypy {args:src/aleph/vm/ tests/ examples/example_fastapi runtimes/aleph-debian-12-python}"
style = [
# "ruff {args:.}",
Expand Down