mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-13 22:56:18 +00:00
removed lint checks because it was the stupid
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
7ae64d5dbf
commit
6296f78ff5
7
.github/workflows/ut-analysis.yml
vendored
7
.github/workflows/ut-analysis.yml
vendored
@ -32,13 +32,6 @@ jobs:
|
|||||||
pip install flake8 pytest
|
pip install flake8 pytest
|
||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
working-directory: ${{ env.working-directory }}
|
working-directory: ${{ env.working-directory }}
|
||||||
- name: Lint with flake8
|
|
||||||
run: |
|
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
|
||||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=titanlearn.py,regression.py,metrics/
|
|
||||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
||||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=titanlearn.py,regression.py,metrics/
|
|
||||||
working-directory: ${{ env.working-directory }}
|
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest unit-test.py
|
pytest unit-test.py
|
||||||
|
7
.github/workflows/ut-superscript.yml
vendored
7
.github/workflows/ut-superscript.yml
vendored
@ -32,13 +32,6 @@ jobs:
|
|||||||
pip install flake8 pytest
|
pip install flake8 pytest
|
||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
working-directory: ${{ env.working-directory }}
|
working-directory: ${{ env.working-directory }}
|
||||||
- name: Lint with flake8
|
|
||||||
run: |
|
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
|
||||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
||||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
||||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
||||||
working-directory: ${{ env.working-directory }}
|
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest unit-test.py
|
pytest unit-test.py
|
||||||
|
Loading…
Reference in New Issue
Block a user