Skip to content

Commit bfabee3

Browse files
committed
[ci] remove indirection through makefile
1 parent c5f5035 commit bfabee3

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

.github/workflows/default.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
- uses: actions/setup-python@v5
1515
with:
1616
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 .
2020

2121
test:
2222
runs-on: ubuntu-latest
@@ -32,9 +32,7 @@ jobs:
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434
- run: python -m pip install pytest
35-
- name: pytest
36-
run: |
37-
make tatsu_test
35+
- run: pytest
3836
- name: examples
3937
run: |
4038
make examples
@@ -51,9 +49,7 @@ jobs:
5149
with:
5250
python-version: ${{ matrix.python-version }}
5351
- run: python -m pip install sphinx
54-
- name: documentation
55-
run: |
56-
make documentation
52+
- run: python -m sphinx docs/ docs/_build/
5753

5854
build:
5955
runs-on: ubuntu-latest
@@ -66,6 +62,5 @@ jobs:
6662
- uses: actions/setup-python@v5
6763
with:
6864
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

ruff.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ lint.ignore = [
4545
"TRY300", # try-consider-else
4646
"UP031", # use of % formatting
4747
]
48-
exclude = []
48+
exclude = [
49+
"docs",
50+
]
4951

5052
target-version = "py312"
5153

0 commit comments

Comments
 (0)