File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 14
14
- uses : actions/setup-python@v5
15
15
with :
16
16
python-version : ${{ matrix.python-version }}
17
- - name : lint
18
- run : |
19
- make lint
17
+ - run : python -m pip install mypy ruff
18
+ - run : ruff check --preview
19
+ - run : mypy .
20
20
21
21
test :
22
22
runs-on : ubuntu-latest
32
32
with :
33
33
python-version : ${{ matrix.python-version }}
34
34
- run : python -m pip install pytest
35
- - name : pytest
36
- run : |
37
- make tatsu_test
35
+ - run : pytest
38
36
- name : examples
39
37
run : |
40
38
make examples
51
49
with :
52
50
python-version : ${{ matrix.python-version }}
53
51
- run : python -m pip install sphinx
54
- - name : documentation
55
- run : |
56
- make documentation
52
+ - run : python -m sphinx docs/ docs/_build/
57
53
58
54
build :
59
55
runs-on : ubuntu-latest
66
62
- uses : actions/setup-python@v5
67
63
with :
68
64
python-version : ${{ matrix.python-version }}
69
- - name : distributions
70
- run : |
71
- make build
65
+ - run : python -m pip install build
66
+ - run : python -m build
Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ lint.ignore = [
45
45
" TRY300" , # try-consider-else
46
46
" UP031" , # use of % formatting
47
47
]
48
- exclude = []
48
+ exclude = [
49
+ " docs" ,
50
+ ]
49
51
50
52
target-version = " py312"
51
53
You can’t perform that action at this time.
0 commit comments