File tree Expand file tree Collapse file tree 5 files changed +837
-3
lines changed Expand file tree Collapse file tree 5 files changed +837
-3
lines changed Original file line number Diff line number Diff line change 18
18
19
19
jobs :
20
20
static :
21
- runs-on : " ubuntu-latest"
21
+ runs-on : ubuntu-latest
22
22
steps :
23
23
- uses : actions/checkout@v4
24
24
with :
33
33
- run : just install
34
34
- run : just lint
35
35
- run : just docs
36
+ - run : uv run pre-commit run --hook-stage manual --all-files
36
37
build :
37
38
runs-on : ${{ matrix.os }}
38
39
strategy :
Original file line number Diff line number Diff line change 41
41
hooks :
42
42
# Run the linter.
43
43
- id : ruff
44
- args : [ --fix ]
44
+ args : [ --fix, --show-fixes ]
45
45
# Run the formatter.
46
46
- id : ruff-format
Original file line number Diff line number Diff line change
1
+ set shell := [" bash" , " -c" ]
2
+
3
+ # Default target executed when no arguments are given.
4
+ [private ]
5
+ default :
6
+ @ just --list
7
+
8
+ install :
9
+ uv sync --frozen
10
+ uv run pre-commit install
11
+
12
+ test * args :
13
+ uv run pytest {{ args}}
14
+
15
+ lint :
16
+ uv run pre-commit run ruff --files
17
+ uv run pre-commit run ruff-format --files
18
+
19
+ docs :
20
+ uv run sphinx-build -T -b html docs docs/ _build
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ include = [
45
45
" /flask_pymongo" ,
46
46
]
47
47
48
-
49
48
[tool .ruff .lint ]
50
49
select = [
51
50
" E" , # pycodestyle
You can’t perform that action at this time.
0 commit comments