File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 32
32
run : pipx install hatch==1.7.0
33
33
34
34
- name : Lint
35
- run : |
36
- hatch run lint:check-format
37
- hatch run lint:check
35
+ run : hatch run lint:check
38
36
39
37
unit-test :
40
38
runs-on : ubuntu-22.04
77
75
name : module
78
76
path : " dist/*"
79
77
if-no-files-found : error
80
- retention-days : 1
78
+ retention-days : 1
Original file line number Diff line number Diff line change @@ -29,14 +29,13 @@ Some useful commands:
29
29
# Generate gRPC stubs.
30
30
hatch run generate:protoc
31
31
32
- # Lint the code, using ruff .
32
+ # Lint the code.
33
33
hatch run lint:check
34
- hatch run lint:check-format
35
34
36
35
# Run unit tests.
37
36
hatch run test:unit
38
37
39
- # Build an sdist and wheel
38
+ # Build an sdist and wheel.
40
39
hatch build
41
40
```
42
41
Original file line number Diff line number Diff line change @@ -53,8 +53,7 @@ path = ".venv-lint"
53
53
dependencies = [" ruff==0.1.6" ]
54
54
55
55
[tool .hatch .envs .lint .scripts ]
56
- check = " ruff check crossplane tests"
57
- check-format = " ruff format --diff crossplane tests"
56
+ check = " ruff check crossplane tests && ruff format --diff crossplane tests"
58
57
59
58
[tool .hatch .envs .test ]
60
59
type = " virtual"
You can’t perform that action at this time.
0 commit comments