added tests for all formatters; stylecheck workflow now also checks in tests now

This commit is contained in:
truePhilipp committed 2024-05-06 22:26:45 +02:00
1 parent 2f3f45151d
commit c3f7fd88bb
18 files changed
+364 -14

No files matched your search

+17
View File
@@ -27,3 +27,20 @@ jobs:
run: mypy --strict html_to_django
- name: Pycodestyle
run: pycodestyle --max-line-length 120 html_to_django
stylecheck-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install Dependencies
run: |
pip install ".[test]"
mypy tests || true
mypy --install-types --non-interactive
- name: MyPy
run: mypy --strict tests
- name: Pycodestyle
run: pycodestyle --max-line-length 120 tests