Skip to content

Commit

Permalink
chore: rename hatch lint env to linting
Browse files Browse the repository at this point in the history
This is to uniformise its name with other projects env names
  • Loading branch information
Psycojoker authored and olethanh committed Oct 4, 2024
1 parent 15bd5f5 commit de4a0ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-using-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,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,7 +109,7 @@ 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",
Expand All @@ -119,7 +119,7 @@ dependencies = [
"yamlfix==1.16.1",
"pyproject-fmt==2.2.1",
]
[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

0 comments on commit de4a0ff

Please sign in to comment.