Skip to content

Commit de4a0ff

Browse files
Psycojokerolethanh
authored andcommitted
chore: rename hatch lint env to linting
This is to uniformise its name with other projects env names
1 parent 15bd5f5 commit de4a0ff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test-using-pytest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434
3535
- name: Test style wth ruff, black and isort
3636
run: |
37-
hatch run lint:style
37+
hatch run linting:style
3838
3939
- name: Test typing with Mypy
4040
run: |
41-
hatch run lint:typing
41+
hatch run linting:typing
4242
4343
- name: Install required system packages for installing and running tests
4444
run: |

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ cov = [
109109
[[tool.hatch.envs.all.matrix]]
110110
python = [ "3.10", "3.11", "3.12" ]
111111

112-
[tool.hatch.envs.lint]
112+
[tool.hatch.envs.linting]
113113
detached = true
114114
dependencies = [
115115
"black==24.3.0",
@@ -119,7 +119,7 @@ dependencies = [
119119
"yamlfix==1.16.1",
120120
"pyproject-fmt==2.2.1",
121121
]
122-
[tool.hatch.envs.lint.scripts]
122+
[tool.hatch.envs.linting.scripts]
123123
typing = "mypy {args:src/aleph/vm/ tests/ examples/example_fastapi runtimes/aleph-debian-12-python}"
124124
style = [
125125
# "ruff {args:.}",

0 commit comments

Comments
 (0)